What Elyra is
The idea
Elyra turns a trade on Elysium into a signed program. You sign an order once: the tokens, the amounts, the worst price you accept, how long it lives, whether it fills in parts, and an optional condition on a v4 pool or on a HyperCore value. The order rests in an open book at no cost. Every four seconds a batch auction collects the open orders, bonded solvers propose how to fill them, and the solution that gives traders the most surplus settles on chain.
The settlement contract checks every order in the batch before anything is paid. You receive at least your limit, net of the protocol fee, or the order does not fill. A fill that does not happen costs you nothing, and there is no swap transaction of yours in the mempool for anyone to trade around.
What runs where
| Part | Where | Does |
|---|---|---|
| ElyraSettlement | Elysium (99901) | checks and settles batches, keeps nothing between transactions |
| ElyraVaultRelayer | Elysium | the only spender you approve; only the settlement can call it |
| ElyraSolverRegistry | Elysium | solver bonds in HYPE, strikes, slashing, ejection |
| ElyraFeed | Elysium | HyperCore mid and funding, posted by a keeper, 60 s challenge window, 600 s freshness cap |
| ElyraPoolOracle | Elysium | TWAP of any Elysium v4 pool from pokes |
| ElyraFees | Elysium | receives the protocol share of fees and forwards it |
| Auction service | one server | order book, a batch every 4 s, scoring, awards |
| Reference solver | one server | crosses orders, routes through v4 pools, settles |
| Keeper | one server | info API to ElyraFeed, TWAP pokes |
| Guardian | a separate host and key | checks every pending feed value against the info API |
Addresses
Contract addresses are listed on /api/status as soon as they exist, with the block they were deployed in. Elysium's own contracts used by Elyra:
| Contract | Address |
|---|---|
| Uniswap v4 PoolManager | 0xE2e105d3F7209A9DA11f83cCf3E7398a753823F1 |
| Universal Router | 0x1B341FDD55d56F8E08409A2C25DDFad93Eb03C1a |
| V4Quoter | 0x379F556c5a748BD7Cc9baF0F7A344094Ac1814f5 |
| StateView | 0x27eD73aE0652fdCf71d6793412A7525f32bE9dfE |
| Permit2 | 0x000000000022D473030F116dDEE9F6B43aC78BA3 |
| WHYPE | 0xbA876237B0F021A6c6D852d6c26E107997cC5E81 |
| USDC (6 decimals) | 0xb47c4C8F73F009CC0C0d3f92B388d13E293F0B65 |
