Robinhood Chain hook

LPFarmHook

ListedRobinhood ChainVerified source
0xf3b008f44e50feb93a0207ff1426679e47c8ededBlockscout

A Uniswap v4 hook for stock/LP farming pools that overrides LP fees with a dynamic 85/15 split between LPs and a protocol treasury, supports a time-based anti-snipe launch curve, and auto-pauses pools when a corporate action (stock split or dividend) is detected.

7Pools
0Swaps, 7 days
$0Volume, 7 days
45 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.
  • 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.
  • Can take a cut when LPs withdrawThe hook can change the amounts a liquidity provider gets back.
  • Can block people from adding liquidityCalled before each deposit into the pool.
  • Runs code after liquidity is addedCalled after each deposit into the pool.
  • Runs code after liquidity is removedCalled after each withdrawal.
  • Runs code when a pool is createdCalled once, when someone creates a pool with this hook.
  • Runs code before a donation to the poolDonations are tips paid to the pool's LPs.
  • 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, beforeAddLiquidity, afterAddLiquidity, afterRemoveLiquidity, beforeSwap, afterSwap, beforeDonate, beforeSwapReturnsDelta, afterSwapReturnsDelta, afterRemoveLiquidityReturnsDelta. Flags glossary.

Last test swap

A quote for a tiny exact-in swap each way through GLXY / USDG 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 2 days ago, every hour.

GLXY to USDGRevertedIn 0.000415314 GLXYOut - USDG, expected 0.009939Gas -
USDG to GLXY0.25% takenIn 0.009939 USDGOut 0.000414242 GLXY, expected 0.00041529Gas 103,532

Pools

PairFeeSwaps 7dVolume 7dCreated
GLXY / USDG
0x69ae6d…21942e
Dynamic0$043 days agoSwap
USDG / BULL
0x6037d0…303436
Dynamic0$043 days agoSwap
? / USDG
0xfb35c6…eaa9b9
Dynamic0$043 days agoSwap
ETH / ?
0x1b4379…0c99cb
Dynamic0$043 days agoSwap
? / USDG
0x735e6d…bab7b6
Dynamic0$043 days agoSwap
ETH / ?
0x7f0f50…2cb1a2
Dynamic0$043 days agoSwap
? / USDG
0x297689…46ba76
Dynamic0$043 days agoSwap