Under the hood
Architecture
Seven upgradeable contracts hold every balance and rule, a read-only lens serves the app, and two off-chain services, a relayer and a keeper, submit transactions without being able to change what users signed.
Contracts on HyperEVM
| Contract | Holds or does |
|---|---|
| Vault | every user's USDC balance; deposits, withdrawals (no admin pause), the activation fee |
| Exchange | opens, two-step closes and liquidations; settlement maths in SettlementLib |
| MarketRegistry | per-market parameters, open-interest caps, freeze and retire state |
| PriceOracle | reads the BBO, mark and oracle precompiles; applies the price guards |
| LiquidityPool | the pool's cash, the payout queue, fees and rebate minting |
| RebateToken / Staking | the rebate token and USDC rewards per staked token |
| IntentRouter | verifies EIP-712 intents and session keys, then calls the contracts above |
| ToroLens | read-only views: markets, positions, queue pages, pool stats, account summary |
HyperCore precompiles
- BBO
0x…080e: best bid and ask, the execution price. - Mark
0x…0806and oracle0x…0807: reference prices for the deviation guard.
A trade end to end
You signwallet or session key
RelayerPOST /api/v1/intents
IntentRouterchecks signature, scope, nonce
Exchangereads the mid, settles
Pool and Vaultbalances move
Governance
Owner roles sit behind a TimelockController (delay 0 on this test deployment; mainnet uses 7 days). Upgrades and parameter changes wait in it; withdrawals never do.
Values on this page are read from the HyperEVM mainnet deployment (chain 999, block 48891965) at build time.
Last updated 2026-10-18