Likely custom pricing hook on Robinhood Chain

Uniswap v4 Hook Contract 0x860b08004cef58a61ac6a6b6c1a6c21983ef8088 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 takes a configurable, unconfirmed cut from swaps before they execute, while leaving LP deposits and withdrawals untouched.

How it works step by step

  • Runs before every swap and can change how much of the swap is taken, using a return delta.
  • Calls the PoolManager's take function, moving tokens from the swap to an address chosen by the hook.
  • Stores a small configurable number (likely a fee or rate in basis points) that can be set through an unnamed function.
  • Keeps a running counter or total that is updated on each swap and can be read publicly.
  • Contains a 'bailed' error, suggesting swaps can revert under some condition.
Swap behaviour
Before each swap the hook can take part of the swap amount from the PoolManager and adjust the swap via a return delta, effectively charging a deduction. The exact rate and recipient cannot be confirmed from bytecode, and some swaps may revert with a 'bailed' error.
Liquidity behaviour
No liquidity callbacks; LPs can add and withdraw freely.
Fee behaviour
Appears to charge a configurable fee stored as a 16-bit value (up to 65,535, possibly in basis points), taken from swaps before execution; the exact percentage, cap and recipient are unknown from bytecode.
Owner & admin controls
An unnamed function with two number arguments writes the stored fee/rate value; whether it is access-restricted and what cap applies cannot be verified from bytecode.

Enabled Uniswap v4 callbacks

beforeSwap, beforeSwapReturnDelta

beforeSwap: runs custom logic and may take tokens before each swap; beforeSwapReturnDelta: lets the hook alter or deduct swap amounts.

Security & trust assessment

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

Who controls it: An unknown caller (likely the deployer) can change the stored rate; limits on that setter are unverified. They cannot touch LP withdrawals.

Risk to user funds: Traders' swap amounts can be partially taken before each swap at an unverified rate. LP principal cannot be locked or drained by this hook.

Security findings

  • [medium] Unverified swap deduction: The hook can take tokens from swaps via a return delta, but the fee size and recipient cannot be verified without source. A 16-bit setting could exceed 100% if interpreted as basis points unless checked.
  • [low] Settable rate: A function writes the stored rate; access control on it is not determinable from bytecode.
  • [info] LP withdrawals unaffected: Remove-liquidity callbacks are disabled, so LPs can always withdraw.

Contract details

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

Pools using Likely custom pricing hook