Robinhood Chain hook

EcoTaxHook

ListedRobinhood ChainVerified source
0x4f2e819e7ee4d9b4a393081945583463eeb440ccBlockscout

Charges a configurable per-pool creator tax on every swap in registered taxed markets. Exact-output swaps are taxed upfront in beforeSwap (grossed up to match the effective rate), while exact-input swaps are taxed in afterSwap on actual output produced. Tax proceeds are sent to the registered market address via IEcoTaxSink.

2Pools
0Swaps, 7 days
$0Volume, 7 days
47 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.

Read from the hook address: flag bits beforeSwap, afterSwap, beforeSwapReturnsDelta, afterSwapReturnsDelta. Flags glossary.

Last test swap

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

WETH to ?1.00% takenIn 0.0000137167 WETHOut 9,893.11 ?, expected 9,993.14Gas 127,858
? to WETH1.00% takenIn 10,094.1 ?Out 0.0000134436 WETH, expected 0.0000135796Gas 101,659

Pools

PairFeeSwaps 7dVolume 7dCreated
WETH / ?
0x503e11…35f006
1.00%0$041 days agoSwap
WETH / ?
0x872bdc…5eb246
1.00%0$042 days agoSwap