Robinhood Chain hook

CoinbarrelAdvancedHookV3

ListedRobinhood ChainVerified source
0x6430be69c0ad1b2466fb105e8a208f2ab45d68ccBlockscout

A Uniswap v4 hook implementing custom fee accounting for Coinbarrel Advanced V3 pools. It intercepts swaps to collect configurable buy/sell fees via BeforeSwapDelta (input-side) and afterSwapReturnDelta (output-side), minting fee tokens to itself rather than transferring during swaps, while recording per-pool TWAP and organic volume observations.

5Pools
0Swaps, 7 days
$0Volume, 7 days
99 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 block people from adding liquidityCalled before each deposit into the pool.
  • Runs code when a pool is createdCalled once, when someone creates a pool with this hook.
  • 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 beforeInitialize, beforeAddLiquidity, beforeSwap, afterSwap, beforeSwapReturnsDelta, afterSwapReturnsDelta. Flags glossary.

Last test swap

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

ETH to ?1.00% takenIn 0.0000156185 ETHOut 9,884.18 ?, expected 9,984.12Gas 490,759
? to ETH1.00% takenIn 9,984.12 ?Out 0.0000154621 ETH, expected 0.0000156185Gas 537,350

Pools

PairFeeSwaps 7dVolume 7dCreated
ETH / ?
0x421d85…9800ac
Dynamic0$095 days agoSwap
ETH / ?
0x2e87d6…61a64b
Dynamic0$095 days agoSwap
ETH / ?
0x3c5534…ec38b7
Dynamic0$096 days agoSwap
ETH / ?
0x5b5ffb…2bba46
Dynamic0$096 days agoSwap
ETH / ?
0x25e8b0…5a9e8a
Dynamic0$097 days agoSwap