Robinhood Chain hook

DegenHoodV4HookV2

ListedRobinhood ChainVerified source
0x0d8cfc0681ad3c0ea9215cf49817ca2b5b8a70ccBlockscout

Uniswap v4 hook for the DegenHood platform that collects WETH fees on token swaps, splitting proceeds between a per-pool beneficiary and a protocol treasury, while managing a dynamic LP fee set at initialization and refreshed on every swap.

3Pools
0Swaps, 7 days
$0Volume, 7 days
107 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.
  • 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, 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 0.70% LP fee. It is an eth_call: nothing is signed or spent. Probed 3 days ago, every hour.

? to WETHRevertedIn 1,004,020 ?Out - WETH, expected 0.0000984121Gas -
WETH to ?0.50% takenIn 0.0000991058 WETHOut 992,000 ?, expected 996,995Gas 158,408

Pools

PairFeeSwaps 7dVolume 7dCreated
? / WETH
0xd96f89…df179b
Dynamic0$0104 days agoSwap
? / WETH
0xeab9ea…2e0fae
Dynamic0$0104 days agoSwap
? / WETH
0xe670e0…4abab6
Dynamic0$0104 days agoSwap