Likely custom pricing hook on Robinhood Chain

Uniswap v4 Hook Contract 0x95a8e5d0c729675a320d0ea787b5db0ec0e5cc8a on Robinhood Chain · Custom pricing

Volume (24h)
$0
Value locked (TVL)
$13.58K
All-time volume
$0
Pools using this hook
1
Swaps (24h)
1 (1 traders)
Total swaps
1

What it does

An immutable, unverified hook that can change swap and deposit amounts before they settle, possibly minting or donating part of the value, by an unknown amount, while LPs keep full freedom to withdraw.

This read was written for the hook 0x88f8…0c8a on BNB Chain and reused here: the two share a code shape, so constants such as fees, owners and addresses can differ.

How it works step by step

  • Runs custom logic before swaps and before and after liquidity additions on pools that use it.
  • Can change swap amounts during a swap through its before-swap return delta.
  • Can change the token amounts owed when LPs add liquidity through its add-liquidity return delta.
  • Bytecode references minting claim tokens and donating to the pool, so part of a swap or deposit may be credited or donated to in-range LPs.
  • Has no storage and no visible admin functions; it exposes a fixed target address and the PoolManager address.
Swap behaviour
Before each swap the hook runs and can change the swap amounts, for example taking part of the input or donating it to LPs. The exact amount or percentage cannot be read from unverified bytecode.
Liquidity behaviour
When liquidity is added, the hook runs before and after and can change the token amounts owed by the depositor. Remove-liquidity callbacks are disabled, so LPs can always withdraw freely.
Fee behaviour
No explicit fee rate is visible. The hook may skim swap or deposit amounts and mint claim tokens or donate them to the pool, but the exact percentage and recipient (possibly the fixed target address) are unknown.
Owner & admin controls
No admin controls found. There is no storage and no owner or setter functions, only fixed target and poolManager values.

Enabled Uniswap v4 callbacks

beforeAddLiquidity, afterAddLiquidity, beforeSwap, beforeSwapReturnDelta, afterAddLiquidityReturnDelta

beforeAddLiquidity: runs checks or logic before deposits; afterAddLiquidity: runs logic after deposits; afterAddLiquidityReturnDelta: can change deposit amounts; beforeSwap: runs custom logic before each swap; beforeSwapReturnDelta: can change swap input or output amounts.

Security & trust assessment

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

Who controls it: No owner or admin functions or storage were found, so the behaviour appears fixed at deployment. No one can change its parameters.

Risk to user funds: The hook can change swap amounts and deposit amounts by an amount that is unknown from bytecode. LP principal cannot be locked, because withdrawals never call the hook.

Security findings

  • [medium] Unverified hook with active return deltas: The hook can change swap and deposit amounts, but the exact amounts cannot be checked without verified source code.
  • [low] Possible value routing to a fixed target: The hook calls mint and donate and stores a fixed target address, so some value may go to that address or to LPs. This is set in the code and cannot be changed.
  • [info] LP withdrawals unrestricted: Remove-liquidity callbacks are disabled, so the hook cannot block withdrawals or charge a fee on them.

Contract details

Verified source
No
Bytecode size
5,700 bytes
Upgradeable proxy
No
Detected patterns
donates, erc6909-claims, return-delta

Pools using Likely custom pricing hook