Robinhood Chain hook

CoinbarrelAdvancedHookV3

ListedRobinhood ChainVerified source
0xaac62e14dd54cef278f8cde0dbd2f036243b28ccBlockscout

A custom accounting hook that implements configurable split fee policies (input-side and output-side pips), mints fee claims during swaps without transferring assets, accumulates liabilities across revenue, reinvestment, and rewards buckets, and maintains on-chain TWAP-style observations with tick and volume tracking.

5Pools
2Swaps, 7 days
$5Volume, 7 days
100 days agoFirst pool

What it can do to your swap

  • Can block swapsSwaps are gated (governance): only some addresses, or only at some times, can trade through it.
  • 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 / WOODCOIN 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 1 s ago, every hour.

ETH to WOODCOIN5.00% takenIn 0.0000202437 ETHOut 7,317.77 WOODCOIN, expected 7,702.99Gas 295,764
WOODCOIN to ETH5.00% takenIn 7,702.99 WOODCOINOut 0.0000192313 ETH, expected 0.0000202437Gas 291,374

Swaps per day

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

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

Pools

PairFeeSwaps 7dVolume 7dCreated
ETH / WOODCOIN
0x8aaa25…e0f7e2
Dynamic2$598 days agoSwap
ETH / ?
0x7c953b…f2a430
Dynamic0$098 days agoSwap
ETH / ?
0xa0f81a…510bce
Dynamic0$098 days agoSwap
ETH / ?
0x7bd5ec…319c0c
Dynamic0$098 days agoSwap
ETH / ?
0x67209a…03205e
Dynamic0$098 days agoSwap