Likely custom pricing hook on Robinhood Chain

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

This unverified hook runs before every swap, checks an address list, and can deduct an unknown amount from traders' swaps, while LPs remain free to add and withdraw liquidity.

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 pool manager during a swap using a take call, likely as a fee or custom settlement.
  • Keeps an on-chain list of addresses (a yes/no mapping) that is checked during swaps, possibly to exempt or gate certain users.
  • Tracks a running counter updated on each swap, plus two other values set by a separate function.
  • Never runs on liquidity changes, so LPs can add and withdraw freely.
Swap behaviour
Before each swap the hook checks an address list and may adjust the swap amounts through a return delta, taking tokens out of the pool manager. The exact amount or percentage taken cannot be confirmed from bytecode.
Liquidity behaviour
No liquidity callbacks; LPs can add and withdraw freely.
Fee behaviour
The hook can deduct an unknown amount from swaps and send it to an address via take; the rate and recipient are not visible without source. The pool's normal LP fee still applies.
Owner & admin controls
An unlabeled function writes the address list and another sets two stored values; it is unclear whether these are restricted to an owner. No fee cap could be verified from bytecode.

Enabled Uniswap v4 callbacks

beforeSwap, beforeSwapReturnDelta

beforeSwap: runs checks and logic 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: Some functions write the address list and configuration values, but access control is not verifiable from bytecode. At worst an admin could gate traders or change swap deductions within unknown bounds.

Risk to user funds: The hook can take part of traders' swap amounts during a swap, with an unknown maximum. LP principal cannot be locked or drained through this hook.

Security findings

  • [medium] Swap amounts can be modified: With swap return deltas enabled and a take call present, the hook can deduct tokens from swaps; the maximum deduction cannot be verified from unverified bytecode.
  • [low] Address list checked on swaps: A settable address mapping is read during swaps and may be used to gate or exempt traders; who can edit it is unknown.
  • [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,288 bytes
Upgradeable proxy
No
Detected patterns
moves-currency, return-delta

Pools using Likely custom pricing hook