A software innovation company - Union - has raised $3.9 million from Alameda Research, 3 Commas, and others, to minimize DeFi-related risks.