Smart Contracts
Router contracts
Both routers have verified source code on HyperEVMScan. The DEX Aggregator API returns the router to use in the tx.router field of each /swap response — currently the HyperFlow Swap Aggregator router; the partner router serves integrations registered with a partner code.
Always interact with router contracts through the DEX Aggregator API — calldata returned by /swap is the only supported way to construct router calls.
Transparency contracts
The HyperflowProof contract mirrors the perps platform ledger (per-wallet balances, open positions, and an append-only action log) on HyperEVM — see Transparency & Security.