Likely custom pricing hook on Robinhood Chain

Uniswap v4 Hook Contract 0xbbe8fcec820326bf06c992f4ac0983d430d18088 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 hook that can take a configurable, unconfirmed amount from each swap before it executes, while leaving LP deposits and withdrawals untouched.

How it works step by step

  • Runs before every swap and can change the swap amounts using a return delta.
  • Can pull tokens out of the swap through the PoolManager and send them to an address, which acts as a fee or skim on swaps.
  • Stores a configurable amount (set through an unnamed function that takes two numbers) and a counter that is updated on each swap.
  • Has no liquidity callbacks, so adding and removing liquidity work normally.
Swap behaviour
Before each swap the hook reads a stored amount, updates a swap counter, and can take tokens from the swap through the PoolManager, reducing what the trader receives or increasing what they pay. The exact amount and conditions cannot be confirmed from bytecode.
Liquidity behaviour
No liquidity callbacks; LPs can add and withdraw freely.
Fee behaviour
The hook can deduct a hook-controlled amount from swaps on top of the pool fee, based on a stored value. The size, any cap, and who receives it are unknown from bytecode.
Owner & admin controls
An unnamed function writes the stored amount used during swaps. It is unclear from bytecode whether it is restricted to an owner or what limits apply.

Enabled Uniswap v4 callbacks

beforeSwap, beforeSwapReturnDelta

beforeSwap: runs custom logic and updates a counter before each swap; beforeSwapReturnDelta: lets the hook change swap amounts and take tokens from the trade.

Security & trust assessment

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

Who controls it: Whoever can call the setter function can change the stored value that drives swap deductions; who that is cannot be confirmed from bytecode. It cannot affect LP withdrawals.

Risk to user funds: The hook can take part of traders' swap amounts, with no verifiable upper bound from bytecode. LP principal cannot be locked or drained by this hook.

Security findings

  • [medium] Swap amounts can be modified: The hook can take tokens from swaps via return deltas, and the amount depends on a stored value whose cap cannot be verified from bytecode.
  • [low] Unverified setter: A function that sets the stored swap amount exists, but its access control and bounds are not visible without source.
  • [info] LP withdrawals unrestricted: Remove-liquidity callbacks are disabled, so the hook can never block or charge LP withdrawals.

Contract details

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

Pools using Likely custom pricing hook