ElyraElyraOpen the app

Docs

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

PartWhereDoes
ElyraSettlementElysium (99901)checks and settles batches, keeps nothing between transactions
ElyraVaultRelayerElysiumthe only spender you approve; only the settlement can call it
ElyraSolverRegistryElysiumsolver bonds in HYPE, strikes, slashing, ejection
ElyraFeedElysiumHyperCore mid and funding, posted by a keeper, 60 s challenge window, 600 s freshness cap
ElyraPoolOracleElysiumTWAP of any Elysium v4 pool from pokes
ElyraFeesElysiumreceives the protocol share of fees and forwards it
Auction serviceone serverorder book, a batch every 4 s, scoring, awards
Reference solverone servercrosses orders, routes through v4 pools, settles
Keeperone serverinfo API to ElyraFeed, TWAP pokes
Guardiana separate host and keychecks 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:

ContractAddress
Uniswap v4 PoolManager0xE2e105d3F7209A9DA11f83cCf3E7398a753823F1
Universal Router0x1B341FDD55d56F8E08409A2C25DDFad93Eb03C1a
V4Quoter0x379F556c5a748BD7Cc9baF0F7A344094Ac1814f5
StateView0x27eD73aE0652fdCf71d6793412A7525f32bE9dfE
Permit20x000000000022D473030F116dDEE9F6B43aC78BA3
WHYPE0xbA876237B0F021A6c6D852d6c26E107997cC5E81
USDC (6 decimals)0xb47c4C8F73F009CC0C0d3f92B388d13E293F0B65