Unichain Sepolia · live

A security deposit
on every swap.

Someone swapping five hundred dollars pays the same fee as a bot that just took money off the pool. A pool has one fee and no way to tell them apart, so it charges everyone enough to survive the bot.

This hook charges a deposit on every swap and gives it back sixty seconds later, unless the price kept drifting your way and the pool was still mispriced after you left.

Uninformed trader pays

+0.71

bps over the base fee

LP revenue

+32.7%

over base fee alone

Flagged as informed

3.2%

of 26,209 real swaps

Where the drift lands

refundedpaid to LPs
θ 20 bps−1000+100
838 of 26,203 swaps drifted past the threshold. Everything to the left of the dashed line is refunded.

Every setting we tested

36 combinations
1 bp limit0what an uninformed trader pays, bpsLP revenue
60s · θ 20 bps · LP revenue +32.7% · uninformed pays +0.71 bps — the setting we shipped

Replayed from 26,209 real USDC/WETH swaps on mainnet, fixture swaps_25756890_25806889.csv. The escrow recovers 43% of what informed flow captured. Charging the full rate that would recover all of it also doubles what ordinary traders pay, so the gap is deliberate.

How it works

01

Pay up front

The pool charges its usual fee. The hook takes another 25 bps and holds it as a claim inside the singleton.

02

Wait sixty seconds

The hook records where the swap left the price, then keeps a time-weighted average of everything that happens next.

03

Settle on what happened

Price kept drifting your way past 20 bps and the escrow goes to the LPs. Otherwise it comes back to you.

How this compares

Charging informed traders more than retail is a known goal. Uniswap has an open request for it and several teams have built one. Every existing design makes the same choice, and it is the opposite of ours.

Everyone else

Decides before the swap

  • Guesses from volatility, or a gap against an oracle
  • Needs a price feed it has to trust and pay for
  • Overcharges ordinary traders who arrive in a volatile minute

PegGuard · TRIDENT · DAMM · Nezlobin Directional Fee · Arb Controller

This hook

Decides after the swap

  • Reads what the price actually did in the next sixty seconds
  • No oracle, no off chain service, no keeper network
  • Observes the outcome instead of forecasting it

The pool's own price is the entire signal