elysious
Open the app

The Hyperliquid order book, quoted on Elysium.

Elysious is a Uniswap v4 pool whose hook replaces x·y=k with a quote. The quote is reprinted from the HyperCore book whenever it moves, so a swap fills next to Hyperliquid’s price instead of sliding down a curve.

HyperCore
—
Elysious

Loading the HyperCore book…

Bigger swaps stay near the mid.

A pool prices along its curve, so each extra dollar costs more than the last. Elysious walks the HyperCore book instead, and only quotes what it can hedge there.

20,000USDC for HYPE
1k250k
Compared with
On Elysious
2.7bps
330.75 HYPE
In the 0.05% pool
11.8bps
330.45 HYPE

You keep 0.30 HYPE more on Elysious, worth about $18.

Elysious0.05% concentrated poolcost in bps, log scale
1251020501002001k5k20k100k250k0.05% pool · 11.8 bpsElysious · 2.7 bps

Simulation. Book: $32k within 1 bps of the mid, $640k within 10 bps. Elysious quotes half of it with a 2 bps half-spread. Pools hold $1.5M; the concentrated one sits in ±5% of the price.

Reprinted as HyperCore moves.

A pool only moves when someone trades against it, so after every move on Hyperliquid it shows an old price until an arbitrageur closes the gap. Elysious’s quoter writes the HyperCore mid into the hook on every 0.3 bps move and at least every 1.5 s; the hook refuses a quote older than two seconds.

HyperCore mid Elysious’s quote0.05% pool open to arbitrage
−15−10−50+5+10+150.0 s1.0 s2.0 s3.0 s3.9 sbpsarbitrageur trades the poolHyperCore −7.5 bps · the pool stays highHyperCore +11.5 bps

t 3.9 sIn 4 seconds the pool spent 0.9 s more than 5 bps away from HyperCore. Elysious spent 0.2 s, the two blocks right after each jump.

pool
Elysious
Average distance from the mid
3.7 bps
0.8 bps
Over 5 bps off
0.9 s
0.2 s

Simulation, replayed at 0.4×. Each reprint is one transaction of about 37,000 gas, roughly 0.0000185 HYPE at 0.5 gwei, Elysium’s gas price on 26 Nov. That is why the live quoter reprints on moves rather than every block. Kinetiq shares a quarter of sequencer revenue with apps that use the blockspace.

Elysious hook
Elysium
nothing in flight
Hedge account
HyperCore
Unhedged HYPE0$0
−2,000flat+2,000
Quote leans
0.0bps
centred on the mid
Hedges in flight
0
about 1.6 s each, simulated
  1. —Elysious is flat: every HYPE it holds is matched on HyperCore.

Every fill is hedged on HyperCore.

There are no outside LPs. When you buy HYPE, Elysious sells from its own inventory, then buys the same amount on HyperCore. While that hedge is in flight, the quote leans against the exposure.

Past 2,000 HYPE unhedged, the exposed side stops quoting until a hedge lands. Try the buttons: the second one hits that limit.

Try to get a bad fill.

The hook runs four checks before any token moves. Push the conditions past their limits and the swap reverts.

300 ms
3 bps
20,000 USDC
300 HYPE
  • Quote ageat most 2,000 ms, twenty blocks300 ms
  • Price bandwithin 15 bps of the live HyperCore mid3 bps
  • Size per blockat most 50,000 USDC per side20,000 USDC
  • Unhedged after the fillat most 2,000 HYPE631 HYPE
Filled. 330.75 HYPE

At 60.468, 2.7 bps from the HyperCore mid. Elysious sends the same size to its HyperCore hedge on the next block.

Route it like any v4 pool.

Elysious lives in Elysium’s Uniswap v4 PoolManager. An aggregator that already quotes v4 pools reaches it with one PoolKey: the hook prices the swap and the PoolManager settles it.

Chain
Elysium · 99901
PoolManager
0xE2e1…23F1
Elysious hook
0xD43E…a888
Router
0x406a…91Bf
First pair
HYPE/USDC
Quote
reprinted on every 0.3 bps move
quote.ts
1import { createPublicClient, http, parseUnits, zeroAddress } from "viem";2import { V4_QUOTER, USDC, VERSO_HOOK, quoterAbi } from "./elysium";34const client = createPublicClient({ transport: http("https://rpc.elysium.kinetiq.xyz") });56// Elysious is a Uniswap v4 pool. Its hook prices the swap from the HyperCore book.7const poolKey = {8  currency0: zeroAddress, // HYPE, native on Elysium9  currency1: USDC,10  fee: 0,11  tickSpacing: 1,12  hooks: VERSO_HOOK,13};1415const { result } = await client.simulateContract({16  address: V4_QUOTER,17  abi: quoterAbi,18  functionName: "quoteExactInputSingle",19  args: [{20    poolKey,21    zeroForOne: false, // USDC in, HYPE out22    exactAmount: parseUnits("20000", 6),23    hookData: "0x",24  }],25});2627const [hypeOut] = result; // 20,000 USDC in, HYPE out at the current block's quote

Swap at the book, not the curve.

The book at the top of this page is live. The hook, the quoter and the hedger run end to end on a copy of Elysium mainnet today; the explanations in between use simulated numbers.