Robinhood Chain hook

TestHook

ListedRobinhood ChainVerified source
0x240c0c374c1061c450d4abfd9612433694dbcf88Blockscout

A buy/sell tax hook that deducts a configurable fee (up to 2% per side) from swap input amounts using v4's custom accounting (poolManager.take() + BeforeSwapDelta). Tax rates are fixed immutably at deploy time; proceeds are withdrawable only to the owner address set at construction.

2Pools
0Swaps, 7 days
$0Volume, 7 days
82 days agoFirst pool

What it can do to your swap

  • 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.
  • Can block LPs from withdrawingCalled before each withdrawal. It can revert, which stops liquidity providers from leaving.
  • Can block people from adding liquidityCalled before each deposit into the pool.
  • Runs code after liquidity is addedCalled after each deposit into the pool.
  • Runs code after liquidity is removedCalled after each withdrawal.

Read from the hook address: flag bits beforeAddLiquidity, afterAddLiquidity, beforeRemoveLiquidity, afterRemoveLiquidity, beforeSwap, beforeSwapReturnsDelta. Flags glossary.

Last test swap

No active pool to probe: none of its pools had a swap in the last 7 days.

Pools

PairFeeSwaps 7dVolume 7dCreated
ETH / ?
0x01a850…3ca442
0.30%0$079 days agoSwap
ETH / ?
0xa18a29…2b44ff
0.30%0$079 days agoSwap