LadderRefs on Robinhood Chain

Uniswap v4 Hook Contract 0xfcd182416ca91a9e88e9fe44e4f78ea3cb2c15c7 on Robinhood Chain · Custom pricing · Verified contract

Volume (24h)
$0
Value locked (TVL)
$0
All-time volume
$1.12K
Pools using this hook
657
Swaps (24h)
0 (0 traders)
Total swaps
3,269

What it does

The hook places depositor liquidity around a reference price and charges a volatility-based fee plus a toll that is burned, so traders pay a dynamic fee that rises with volatility and repeated trades in a block, and LPs earn from that fee while the hook takes a share of flow.

How it works step by step

  • Acts as a proxy-upgradeable market maker hook that places concentrated liquidity ranges for each registered token family against its reference price, derived from a Pons bonding curve before graduation and from a Uniswap v4 pool afterward.
  • Tracks a smoothed reference tick and an EWMA-based volatility estimate per (token, quote) pair, recording observations at most once per block to resist same-block manipulation.
  • Manages depositor books that hold ERC-6909 claims in the PoolManager and rebalances positions across pools of each token's family, including auto-rebalancing on a time interval.
  • Applies a dynamic fee scaled to horizon volatility (feePerVol), an EIP-8429-style fee ratchet that escalates fees for repeated references to a token within a block, and a toll that is converted into a fee token and burned.
  • Uses after-swap return deltas and after-liquidity return deltas to take tolls and move or rebalance quote assets in the same transaction as swaps and liquidity changes.
Swap behaviour
beforeSwap and afterSwap run on every swap. The hook can move ranges of other books during a swap (shield), rebalance quote mixes via in-swap steps, and take a toll that is converted and burned. Which trades pay more or less depends on the volatility-scaled fee, the fee ratchet for repeated references within a block, and the toll; the exact direction cannot be confirmed from decoded bytecode.
Liquidity behaviour
afterAddLiquidity and afterRemoveLiquidity run on liquidity changes and return deltas. The hook places depositor liquidity into ranges around the reference, with range width tied to horizon sigma, and may take or return tokens via return deltas.
Fee behaviour
Dynamic: fee targets feePerVol pips per tick of horizon sigma, combined with an EIP-8429-style ratchet (floorPips times k squared, capped at capPips, first kFree references free) and a toll converted to a fee token and burned at burnBps.
Owner & admin controls
An owner address controls configuration, including the beneficiary, sinkBps, parameters, tiers, quote listings, Pons factories, token references, the ratchet, and the burn configuration. The implementation sits behind a proxy, so the upgrade authority can change the logic entirely. Pause or upgrade mechanics beyond this were not verified.

Enabled Uniswap v4 callbacks

afterInitialize, afterAddLiquidity, afterRemoveLiquidity, beforeSwap, afterSwap, afterSwapReturnDelta, afterAddLiquidityReturnDelta, afterRemoveLiquidityReturnDelta

afterInitialize registers pools and families. beforeSwap gates and prepares swaps and can move other books' ranges. afterSwap performs rebalancing and toll accounting. afterSwapReturnDelta lets the hook take a share of swap output. afterAddLiquidity and afterRemoveLiquidity perform position accounting. afterAddLiquidityReturnDelta and afterRemoveLiquidityReturnDelta let the hook take or return tokens on liquidity changes.

Security & trust assessment

Risk level: high (verified source, medium confidence).

Who controls it: The owner and proxy admin can change the implementation, parameters, fee and toll rates, the beneficiary of sink funds, and the reference sources, and can therefore alter what users pay or receive.

Risk to user funds: The hook holds ERC-6909 claims and quote balances for depositor books, takes tolls via return deltas, and can move liquidity between ranges, so it can hold, move or effectively redirect user and pool funds.

Security findings

  • [high] Upgradeable proxy: The hook delegates all calls to implementation 0xc629de8ceda988bdc7970f83368b2be951426735. Whoever controls the proxy admin can replace the logic and change how swaps, fees and funds are handled.
  • [high] Return-delta fund capture: Return-delta permissions let the hook take tokens from swaps and liquidity operations, so the hook holds balances and can alter the amounts users receive.
  • [medium] Owner-configurable fees and tolls: The owner can set sinkBps, burnBps, the ratchet floor and cap, and fee parameters, which can raise the cost of trading for users.
  • [medium] Oracle-dependent pricing: Reference prices come from Pons curve reserves and external pools, so manipulating those sources could shift ranges and rebalancing, although observations are rate-limited per block.
  • [medium] Cross-book range movement: Shield logic can move other depositors' ranges during a swap, which affects positions the swapper does not own.

Contract details

Verified source
Yes (LadderRefs)
Compiler
solc 0.8.26+commit.8a97fa7a
Bytecode size
21,824 bytes
Upgradeable proxy
Yes
Detected patterns
return-delta, upgradeable

Pools using LadderRefs