Robinhood Chain hook

AgenEngineHookV2

ListedRobinhood ChainVerified source
0xcf57aa494e8b99e6d9c5098e55f04b73eed278ccBlockscout

A market engine hook that replaces the LP fee with its own tiered fee structure, collected via BeforeSwapDelta and afterSwapDelta returns based on trade side and size. Enforces configurable per-market trade size bounds (min/max token and quote amounts) and optionally restricts liquidity provisioning to a factory address.

55Pools
23Swaps, 7 days
$344Volume, 7 days
62 days agoFirst pool

What it can do to your swap

  • Can block swapsSwaps are gated (other): 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.
  • Runs code after a pool is createdCalled once, right after a pool with this hook is created.
  • 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, afterInitialize, beforeAddLiquidity, beforeSwap, afterSwap, beforeSwapReturnsDelta, afterSwapReturnsDelta. Flags glossary.

Last test swap

A quote for a tiny exact-in swap each way through ETH / 4 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 4 h ago, every hour.

ETH to 41.00% takenIn 0.00000637116 ETHOut 2,448.87 4, expected 2,473.64Gas 99,634
4 to ETH3.00% takenIn 2,473.64 4Out 0.00000617996 ETH, expected 0.00000637116Gas 101,306

Swaps per day

10-20010-21310-22410-231510-24110-25010-260

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

Pools, 24 of 55

PairFeeSwaps 7dVolume 7dCreated
ETH / 4
0xd65802…61fb02
Dynamic20$31962 days agoSwap
ETH / SPRM
0xae8a22…cb2d0e
Dynamic1$052 days agoSwap
ETH / CTPY
0xb2382f…6f646d
Dynamic1$062 days agoSwap
ETH / one
0x9e9ea6…4c52d3
Dynamic1$2462 days agoSwap
SPY / ?
0x4d6a6a…c49eb5
Dynamic0$049 days agoSwap
SPY / ?
0x455c80…a23428
Dynamic0$049 days agoSwap
ETH / ?
0xce217e…b36551
Dynamic0$052 days agoSwap
ETH / ?
0xdf58fb…13dde3
Dynamic0$053 days agoSwap
ETH / ?
0x5b690d…a3bc38
Dynamic0$053 days agoSwap
ETH / ?
0x53ccdd…a7b702
Dynamic0$053 days agoSwap
ETH / ?
0xd04049…eb988d
Dynamic0$054 days agoSwap
ETH / ?
0x6b2dd6…cf7589
Dynamic0$055 days agoSwap
ETH / ?
0x8f85f1…d869c1
Dynamic0$055 days agoSwap
ETH / ?
0xf3f92d…381ee0
Dynamic0$055 days agoSwap
ETH / ?
0x995c49…5b99aa
Dynamic0$056 days agoSwap
ETH / ?
0xf92c85…166572
Dynamic0$057 days agoSwap
GME / ?
0xe8bd05…6a61cb
Dynamic0$057 days agoSwap
ETH / ?
0x77084a…d37671
Dynamic0$058 days agoSwap
ETH / ?
0x5d3258…163ccb
Dynamic0$058 days agoSwap
ETH / ?
0xc4c629…0f5c3c
Dynamic0$058 days agoSwap
ETH / ?
0x32407d…4f4b1f
Dynamic0$058 days agoSwap
SPCX / ?
0x41aeab…0052a1
Dynamic0$059 days agoSwap
ETH / ?
0x636d06…e77848
Dynamic0$059 days agoSwap
ETH / ?
0x001d5e…6bcb71
Dynamic0$059 days agoSwap