Robinhood Chain hook

MidasGoldHook

ListedRobinhood ChainVerified source
0x57a90a0bc27718d88a2ff3674799e008e3d4e0ccBlockscout

ERC-20/ERC-20 pool hook that collects a fixed fee always denominated in currency0. For zeroForOne swaps the fee is deducted from the input in beforeSwap; for oneForZero swaps it is deducted from the currency0 output in afterSwap. Only exact-input swaps are supported. The fee rate and recipient are immutable at deployment, and the hook only permits the fixed token pair set at construction.

1Pools
1Swaps, 7 days
$0Volume, 7 days
78 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 PAXG / GOLD with Uniswap's V4 Quoter, compared with the pool's mid-price minus its 0.14% LP fee. It is an eth_call: nothing is signed or spent. Probed 3 days ago, every hour.

PAXG to GOLD0.14% takenIn 0.000000455148 PAXGOut 117.441 GOLD, expected 117.61Gas 123,867
GOLD to PAXG0.14% takenIn 117.778 GOLDOut 0.000000453847 PAXG, expected 0.000000454499Gas 123,413

Swaps per day

10-20010-21010-22010-23010-24110-25010-260

Volume over the same days: $0, $0, $0, $0, $0, $0, $0. Days end at the snapshot, in UTC.

Pools

PairFeeSwaps 7dVolume 7dCreated
PAXG / GOLD
0x045820…1fc858
0.14%1$075 days agoSwap