Robinhood Chain hook

RobHook

ListedRobinhood ChainVerified source
0xda55066ef3dfce0deb006bacbf2dfd931a6ab0ccBlockscout

Uniswap v4 hook that applies a fixed 3% trade tax on all swaps, collecting fees in the quote asset and minting ERC-6909 claims to an immutable fee recipient. Also checks a 6-hour interval in beforeSwap and calls an external triggerHeist() on the associated token contract when the interval has elapsed.

1Pools
0Swaps, 7 days
$0Volume, 7 days
103 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.
  • 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.

Read from the hook address: flag bits beforeInitialize, afterInitialize, 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.01% LP fee. It is an eth_call: nothing is signed or spent. Probed 6 days ago, every hour.

ETH to ?3.00% takenIn 0.0000113135 ETHOut 2,633.19 ?, expected 2,714.65Gas 320,884
? to ETH3.00% takenIn 2,714.93 ?Out 0.0000109729 ETH, expected 0.0000113124Gas 319,621

Pools

PairFeeSwaps 7dVolume 7dCreated
ETH / ?
0x958f62…f7f3ff
0.01%0$096 days agoSwap