Likely custom pricing hook on Robinhood Chain

Uniswap v4 Hook Contract 0xe2cb330ec35a68098edf079ad872e76916f94088 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

A small, unverified, admin-free hook that runs before every swap and updates two stored values. It may adjust swap amounts, but no fee is confirmed, so trades likely pay only the pool's normal fee, and LPs can withdraw freely.

How it works step by step

  • Runs a check or action before every swap in pools that use it.
  • Has permission to change swap amounts before the swap executes (return delta), though the exact logic cannot be confirmed from bytecode.
  • Keeps two simple counters or values in storage that are updated on each swap and readable through view functions.
  • Does not touch adding or removing liquidity.
Swap behaviour
Before each swap the hook runs and updates two stored values. It is allowed to adjust the swap amounts, but the small contract (about 2 KB) with no visible token transfer calls suggests it may simply record data, likely a swap counter or test hook.
Liquidity behaviour
No liquidity callbacks; LPs can add and withdraw freely.
Fee behaviour
No fee logic is visible in the bytecode, so the pool's static fee likely applies. Any deduction through the swap return delta cannot be confirmed or ruled out without source.
Owner & admin controls
No admin controls found; no owner or setter functions appear among the dispatched selectors.

Enabled Uniswap v4 callbacks

beforeSwap, beforeSwapReturnDelta

beforeSwap: runs custom logic and updates stored values before each swap; beforeSwapReturnDelta: lets the hook alter the amounts swapped.

Security & trust assessment

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

Who controls it: No owner or admin functions were found, so no one appears able to change the hook's behavior after deployment.

Risk to user funds: Only swap amounts can be affected through the return delta, with no confirmed fee or cap visible in the bytecode. LP principal cannot be locked or drained because liquidity callbacks are disabled.

Security findings

  • [low] Unverified hook with swap return delta: The hook can modify swap amounts before execution, and without verified source the exact effect on traders cannot be confirmed.
  • [info] No admin functions or withdrawal hooks: Only view functions and beforeSwap are exposed, and remove-liquidity callbacks are disabled, so LPs can always withdraw.

Contract details

Verified source
No
Bytecode size
2,046 bytes
Upgradeable proxy
No
Detected patterns
return-delta

Pools using Likely custom pricing hook