NewUniswap v4 hook on HyperEVM→

The fee that reads
the market.

Every swap priced from Hyperliquid's perp market, in the same block. No keeper. No owner.

Live · read in-blockHyperCore · HyperEVM

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.

perp repricesgap → arbitragefee → LPsperp marketpool price

Built on

Uniswap v4HyperliquidHyperEVMHyperCoreIDynamicFeeHookFoundryviemOpenZeppelinUniswap v4HyperliquidHyperEVMHyperCoreIDynamicFeeHookFoundryviemOpenZeppelinUniswap v4HyperliquidHyperEVMHyperCoreIDynamicFeeHookFoundryviemOpenZeppelinUniswap v4HyperliquidHyperEVMHyperCoreIDynamicFeeHookFoundryviemOpenZeppelin

Why Aven

Priced by the market,
not a middleman.

#41207
#41208
#41209
#41210
#41211
#41212
#41213
#41214
#41215
#41216
#41217
#41218
#41219
#41220
#41221
#41222
#41207
#41208
#41209
#41210
#41211
#41212
#41213
#41214
#41215
#41216
#41217
#41218
#41219
#41220
#41221
#41222
this blockoraclemarkpool

Read in the same block.

Oracle, mark and pool price, together.

↘Closes the gappays the gap
↗Everyone elsebase fee

Arbitrage pays.

Only the side closing the gap pays it.

ownerkeeperproxyadmin keycustodyrelayer

Nobody in charge.

No owner, keeper, proxy or custody.

$ pnpm verify 0x3fa1c09be27d…

→ decode FeeComputed

→ recompute fee in TypeScript

→ compare with Swap event

✓ MATCH

Check any fee.

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).

SwapaETH / aUSD · Aven pool

You sell

1.00aETH
↓

You receive ≈

2,238.90aUSD
LP fee, selling0.05%
basegappremiumstressfallback
Same block, buying instead0.05% · 500 pips
Pool vs fair valueat fair

—

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.

Run the replay

LP value minus holding · Replay.t.sol over Hyperliquid mainnet candles · $ at the oracle proxy

Explore

See it for yourself.