Robinhood Chain hook

FoundationHookV1

ListedRobinhood ChainVerified source
0x3bfee86dbbc225201b6e57e4da361375cff6a0ccBlockscout

FoundationHookV1 is an immutable per-pool fee hook that binds token, quote asset, creator, and creator fee at deployment. It collects quote-currency fees on every swap via beforeSwapReturnsDelta/afterSwapReturnsDelta, splitting platform and creator shares through FoundationLedgerV1, with optional module callbacks dispatched before and after each swap.

1Pools
26Swaps, 7 days
$1,021Volume, 7 days
33 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.

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

Last test swap

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

WETH to FELS2.30% takenIn 0.0000287981 WETHOut 6,295.62 FELS, expected 6,443.89Gas 128,089
FELS to WETH2.30% takenIn 6,443.89 FELSOut 0.0000281354 WETH, expected 0.0000287981Gas 125,807

Swaps per day

10-20410-21810-22910-23110-24110-25210-261

Volume over the same days: $149, $332, $174, $122, $47, $155, $42. Days end at the snapshot, in UTC.

Pools

PairFeeSwaps 7dVolume 7dCreated
WETH / FELS
0x7a782f…b6e11c
0.00%26$1,02132 days agoSwap