Read in the same block.
Oracle, mark and pool price, together.
Every swap priced from Hyperliquid's perp market, in the same block. No keeper. No owner.
ETH oracle
…
Mark
…
Premium
…
Block
…
Markets move. Pools don't.
01 Market
The perp market moves first.
02 Arbitrage
Stale pools leak the gap.
03 Aven
Aven charges it. LPs keep it.
Built on
Why Aven
Oracle, mark and pool price, together.
Only the side closing the gap pays it.
No owner, keeper, proxy or custody.
$ pnpm verify 0x3fa1c09be27d…
→ decode FeeComputed
→ recompute fee in TypeScript
→ compare with Swap event
✓ MATCH
Every input is logged. Recompute it yourself.
One hook, three markets
Calm market
At fair value, everyone pays the base fee.
Illustrative inputs. Fees from the real fee math (@aven/core compute).
You sell
You receive ≈
—
LP value vs holding
Replay · Oct 29 · live hook
—
pips paid by the arb, vs 3,000 flat
Arena · recorded run
10k
fee vectors, Solidity ≡ TypeScript
pnpm prove:diff
0
owners, keepers or admin keys
AvenHook.sol
Replay · mainnet data
Oct 29. Binance went dark.
Four pools, six hours of real data. Only the fee differs.
LP value minus holding · Replay.t.sol over Hyperliquid mainnet candles · $ at the oracle proxy
Explore