Robinhood Chain hook

PNGStrategy Hook

ListedRobinhood ChainVerified source
0x3ef7b3ecfe1da268f296e3f28cc29da1dd8d24ccBlockscout

Applies configurable buy and sell fees on ETH↔strategy-token swaps by intercepting them via BeforeSwapDelta (buy) and AfterSwapDelta (sell), taking fees in ETH via poolManager.take(). Collected fees are split among a strategy contract, an owner recipient, and a holder rewards recipient according to configurable BPS ratios; pool initialization and liquidity addition are restricted to the strategy contract.

1Pools
0Swaps, 7 days
$0Volume, 7 days
103 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 after liquidity is addedCalled after each deposit into the pool.
  • Runs code when a pool is createdCalled once, when someone creates a pool with this hook.

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

Last test swap

A quote for a tiny exact-in swap each way through ETH / ? 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 0 s ago, every hour.

ETH to ?3.00% takenIn 0.000250818 ETHOut 9,699.91 ?, expected 10,000Gas 159,227
? to ETHRevertedIn 10,000 ?Out - ETH, expected 0.000250818Gas -

Pools

PairFeeSwaps 7dVolume 7dCreated
ETH / ?
0x5089bc…a27ae6
0.00%0$096 days agoSwap