Likely custom pricing hook on Robinhood Chain

Uniswap v4 Hook Contract 0x762cc2d8f9e125647ce1e22026682df759d78088 on Robinhood Chain · Custom pricing

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

What it does

An unverified, non-upgradeable hook that can take an unknown, configurable share of swap amounts before each trade, while leaving LP deposits and withdrawals untouched.

How it works step by step

  • Runs before every swap and can change how much the swapper pays or receives using a swap return delta.
  • Calls the PoolManager to take tokens during swaps, so part of a swap amount can be moved out to the hook or a recipient.
  • Keeps a small set of stored settings (two numbers set by a configuration function) plus a counter and running totals updated on each swap.
  • Does not touch liquidity adds or removals; LPs can withdraw freely.
Swap behaviour
Before each swap the hook can adjust the swap amounts and take tokens from the pool manager, likely acting as a fee or custom pricing step. The exact amount or rate cannot be confirmed from bytecode.
Liquidity behaviour
No liquidity callbacks; LPs can add and withdraw freely.
Fee behaviour
May deduct an extra amount from swaps through the return delta and take() call. The rate seems to depend on two stored values, but the exact percentage and any cap are unknown.
Owner & admin controls
A function taking two numbers writes the two main configuration values. From bytecode alone it is unclear who can call it and whether the values are capped.

Enabled Uniswap v4 callbacks

beforeSwap, beforeSwapReturnDelta

beforeSwap: runs custom logic and updates per-swap counters before each trade; beforeSwapReturnDelta: lets the hook change swap amounts and take tokens.

Security & trust assessment

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

Who controls it: Whoever can call the configuration setter may change the parameters that drive swap deductions. Who holds that access and what limits apply are unknown.

Risk to user funds: The hook can take part of swappers' tokens during swaps, by an amount that cannot be determined from bytecode. LP principal cannot be locked or drained through this hook.

Security findings

  • [medium] Swap amounts can be modified: The hook uses a before-swap return delta and calls take(), so it can deduct tokens from swaps. The size of the deduction cannot be verified without source.
  • [low] Unverified configurable parameters: Two stored values can be changed through a setter whose access control and bounds are not visible in decoded bytecode.
  • [info] LP withdrawals unaffected: Remove-liquidity callbacks are disabled, so the hook can never block or charge LP withdrawals.

Contract details

Verified source
No
Bytecode size
1,832 bytes
Upgradeable proxy
No
Detected patterns
moves-currency, return-delta

Pools using Likely custom pricing hook