Robinhood Chain hook

BackedFeeHook

ListedRobinhood ChainVerified source
0xced7aa50727f3cd251985b09a2080db056a8c0ccBlockscout

A fee-taking hook that charges a fixed 3% swap tax in native ETH (currency0) on all swaps, routing the full fee to a vault address. Fee collection is split between beforeSwap (ETH-specified swaps) and afterSwap (ETH-unspecified swaps) using return deltas; non-ETH pools pass through untaxed.

4Pools
236Swaps, 7 days
$58.6KVolume, 7 days
101 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 ETH / BACKED 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 0 s ago, every hour.

ETH to BACKED3.00% takenIn 0.000169673 ETHOut 1,110.21 BACKED, expected 1,144.55Gas 56,915
BACKED to ETH3.00% takenIn 1,156.12 BACKEDOut 0.000162936 ETH, expected 0.000167976Gas 56,555

Swaps per day

10-203510-213010-221510-234510-247110-252210-2618

Volume over the same days: $7,806, $8,994, $3,108, $14.6K, $18.6K, $2,567, $2,902. Days end at the snapshot, in UTC.

Pools

PairFeeSwaps 7dVolume 7dCreated
ETH / BACKED
0x537217…4c1243
1.00%236$58.6K101 days agoSwap
USDG / GENESIS
0x561231…1f6498
0.90%0$065 days agoSwap
ETH / ?
0x5edbfd…f9702f
70.00%0$090 days agoSwap
ETH / ?
0x151004…352d42
Dynamic0$090 days agoSwap