Robinhood Chain hook

Lev7FeeHookV3

ListedRobinhood ChainVerified source
0x0830a76ca883f5e56ff1083c372e8b5375b000ccBlockscout

Charges a 3% fee on buy-side swaps (one-for-zero) in pools where currency1 matches feeToken, routing fees to a configurable treasury. Also maintains an on-chain tick oracle and accrues per-epoch buy credits.

3Pools
1Swaps, 7 days
$1Volume, 7 days
76 days agoFirst pool

What it can do to your swap

  • Can take a fee from your outputAfter the pool fills your swap, the hook can keep part of what you were about to receive.
  • Can change the price you getBefore your swap runs, the hook can take or add tokens, so the amount you get is set by its code as well as the pool.
  • Runs code before your swap and can block itThe hook is called before every swap. It can revert, which makes your swap fail.
  • Runs code after your swap and can block itThe hook is called after every swap. It can revert, which undoes your swap.
  • Can charge a different fee on each swapThe pool's LP fee is dynamic: the hook sets it, swap by swap.

Read from the hook address: flag bits beforeSwap, afterSwap, beforeSwapReturnsDelta, afterSwapReturnsDelta. Flags glossary.

Last test swap

A quote for a tiny exact-in swap each way through LEV7 / USDG with Uniswap's V4 Quoter, compared with the pool's mid-price minus its 1.00% LP fee. It is an eth_call: nothing is signed or spent. Probed 3 days ago, every hour.

LEV7 to USDG0.00% takenIn 732.593 LEV7Out 0.09868 USDG, expected 0.098681Gas 87,059
USDG to LEV73.00% takenIn 0.099678 USDGOut 703.503 LEV7, expected 725.266Gas 173,154

Swaps per day

10-20110-21010-22010-23010-24010-25010-260

Volume over the same days: $1, $0, $0, $0, $0, $0, $0. Days end at the snapshot, in UTC.

Pools

PairFeeSwaps 7dVolume 7dCreated
LEV7 / USDG
0xa680ed…3a110c
1.00%1$166 days agoSwap
MEME / USDG
0xd674ba…4651fc
Dynamic0$050 days agoSwap
PIPEDOG / USDG
0xf42aa2…42acf5
0.90%0$073 days agoSwap