Likely custom pricing hook on Robinhood Chain

Uniswap v4 Hook Contract 0xbba36a63459100d69bb5aec6a26f3180e3d40088 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, immutable hook that runs before each swap and can take an unknown portion of the swap amount while tracking swap data, while LPs can deposit and withdraw freely.

How it works step by step

  • Runs custom logic before every swap and can change how much the swapper pays or receives.
  • Can pull tokens out of the swap flow through the PoolManager and send them to a destination set in its code (likely a fee or treasury address).
  • Keeps running counters and a per-index history in storage that update on each swap, readable through public view functions.
  • No liquidity callbacks, so LPs add and remove liquidity normally.
Swap behaviour
Before each swap the hook runs and can return a swap delta that adjusts the amounts, and it can take tokens from the PoolManager during the swap. The exact deduction size and conditions cannot be confirmed from bytecode alone.
Liquidity behaviour
No liquidity callbacks; LPs can add and withdraw freely.
Fee behaviour
The hook may charge an extra amount on swaps by taking tokens via the before-swap delta, but the exact percentage and recipient are unknown from the bytecode. The pool's normal LP fee still applies.
Owner & admin controls
No admin or owner setter functions were found among the dispatched selectors; only view functions and the swap callback are exposed.

Enabled Uniswap v4 callbacks

beforeSwap, beforeSwapReturnDelta

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

Security & trust assessment

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

Who controls it: No privileged admin functions were detected in the bytecode, and the contract is not an upgradeable proxy.

Risk to user funds: The hook can take part of swap amounts from traders during each swap, with an unknown maximum since the source is unverified. LP principal cannot be locked or charged on withdrawal.

Security findings

  • [medium] Unverified swap delta with token taking: The hook can alter swap amounts and take tokens from the PoolManager during swaps, but without source the size of any deduction cannot be verified.
  • [info] No admin functions visible: Only the swap callback and three view functions are dispatched, suggesting no owner can change parameters after deployment.
  • [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
1,622 bytes
Upgradeable proxy
No
Detected patterns
moves-currency, return-delta

Pools using Likely custom pricing hook