Fee sharing hook on Robinhood Chain

Uniswap v4 Hook Contract 0x6b5b3f1cb2c2e0dc021c58495648fd3b4d25b0cc on Robinhood Chain · Fee sharing

Volume (24h)
$0
Value locked (TVL)
$94
All-time volume
$0
Pools using this hook
1
Swaps (24h)
0 (0 traders)
Total swaps
0

What it does

Every swap in the canonical pool pays a fixed hook fee that is largely donated back to LPs, while the hook also runs a TWAP price oracle and leaves LP withdrawals unrestricted.

How it works step by step

  • Locks itself to a single canonical pool (token paired with WETH) and only lets an authorized initializer create it.
  • Takes a fixed swap fee (a total fee constant, part of which is labelled a game fee) through swap return deltas.
  • Keeps pending fees and later donates them back to the pool's in-range LPs, and possibly routes part to a gateway or game address.
  • Records price observations for a built-in TWAP oracle and exposes a spot price.
Swap behaviour
Each swap pays a hook fee taken from the swap amounts via return deltas, and the hook records a price observation. The exact fee level is a hard-coded constant but its value cannot be read from the decoded bytecode.
Liquidity behaviour
No liquidity callbacks; LPs can add and withdraw freely.
Fee behaviour
A fixed fee set by constants (TOTAL_FEE_BPS, with a GAME_FEE_BPS portion) is charged on swaps. Collected fees build up as pending and are donated to pool LPs or taken out to a set recipient; exact percentages are unknown from bytecode.
Owner & admin controls
No owner or admin setter functions were found; fee constants and addresses appear fixed at deployment. One public function appears to flush pending fees.

Enabled Uniswap v4 callbacks

beforeInitialize, afterInitialize, beforeSwap, afterSwap, beforeSwapReturnDelta, afterSwapReturnDelta

beforeInitialize restricts pool creation to an authorized initializer and the canonical pool key; afterInitialize starts the oracle; beforeSwap and afterSwap charge the fee, flag pending fees and update observations; swap return deltas let the hook take its fee from swap amounts.

Security & trust assessment

Risk level: medium, estimated (decoded bytecode, medium confidence).

Who controls it: No admin functions are visible; behaviour appears fixed at deployment with an authorized initializer only controlling pool creation.

Risk to user funds: The hook can deduct its fixed fee from swap amounts; the exact percentage is unknown from bytecode. LP principal cannot be locked or drained.

Security findings

  • [low] Swap fee via return deltas, value unverified: The hook can take tokens from swaps using return deltas. The fee looks like a fixed constant, but its exact size cannot be confirmed without source.
  • [info] Fees donated to LPs: Accrued fees are paid back into the pool through donate, benefiting in-range LPs.
  • [info] LP withdrawals unrestricted: Remove-liquidity callbacks are disabled, so the hook cannot block or charge LP withdrawals.

Contract details

Verified source
No
Bytecode size
11,639 bytes
Upgradeable proxy
No
Detected patterns
donates, moves-currency, oracle, return-delta

Pools using Fee sharing hook