Robinhood Chain hook

RandomDonationHook

ListedRobinhood ChainVerified source
0x6cc4fc20d1a152ecf3f731a0faa9444b38a8a0c4Blockscout

On each swap, selects a pseudo-random tiered fee from three configurable probability tiers and applies it on top of a base fee. The fee is split between LPs (via pool donation) and a fixed treasury address. Only owner-registered pools may be initialized or traded.

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

What it can do to your swap

  • Can block swapsSwaps are gated (governance): 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.
  • 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.
  • 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, beforeSwap, afterSwap, afterSwapReturnsDelta. 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
USDG / OPENAI
0xaf5263…ca1b4c
Dynamic0$053 days agoSwap
CNPY / USDG
0xe4f164…2011af
Dynamic0$053 days agoSwap