Likely custom pricing hook on Robinhood Chain

Uniswap v4 Hook Contract 0xcd394aa0adcb15b4d763c61c7dba465df50e0088 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 and can take an unknown share of each trade's tokens, while LPs remain free to add and withdraw liquidity.

How it works step by step

  • Runs custom logic before every swap in pools that use it.
  • Can change swap amounts through a before-swap return delta, which lets it take part of the swap input.
  • Calls the PoolManager's take function to move tokens out of the pool's accounting, likely to collect a fee or to settle the swap itself.
  • Reads and writes a few stored values on each swap, possibly counters or parameters. Their meaning cannot be confirmed without source.
  • Has no liquidity callbacks, so adding and removing liquidity works normally.
Swap behaviour
Before each swap the hook can adjust or take part of the swap amount and withdraw tokens from the PoolManager. The exact fee or deduction size cannot be determined from bytecode.
Liquidity behaviour
No liquidity callbacks; LPs can add and withdraw freely.
Fee behaviour
The hook can take tokens from swaps through its before-swap delta, but the percentage and the recipient are not verifiable from the bytecode. Otherwise it uses the pool's static fee.
Owner & admin controls
No admin functions are exposed. The only external entry point is beforeSwap, and the stored values it reads appear to be set at deployment or updated during swaps.

Enabled Uniswap v4 callbacks

beforeSwap, beforeSwapReturnDelta

beforeSwap: runs custom logic before each swap; beforeSwapReturnDelta: lets the hook alter or take part of the swap amounts.

Security & trust assessment

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

Who controls it: No owner or admin functions were found. The behaviour is fixed in the deployed code.

Risk to user funds: Traders' swap amounts can be reduced by an unknown amount through the before-swap delta. LP principal cannot be locked or taken by the hook.

Security findings

  • [medium] Unverified swap-delta logic: The hook can change swap amounts and take tokens through the PoolManager during swaps. Without source code, the size of any deduction cannot be confirmed.
  • [info] LP withdrawals unrestricted: The remove-liquidity callbacks are disabled, so LPs can always withdraw their liquidity.
  • [info] Not upgradeable: This is a direct contract with no proxy and no admin selectors.

Contract details

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

Pools using Likely custom pricing hook