Likely custom pricing hook on Robinhood Chain

Uniswap v4 Hook Contract 0xc2b582a2f0a4fe439722e66a595ecc13b2a98088 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, non-upgradeable hook that runs stateful logic before each swap and can change swap amounts by an unknown rule, while LPs can add and withdraw liquidity freely.

How it works step by step

  • Runs custom logic before every swap in pools that use it.
  • Can change the swap amounts through a before-swap return delta, so the hook may take or supply part of the trade itself.
  • Keeps running counters or state that update on each swap, readable through two public view functions.
  • Has no liquidity callbacks, so adding and removing liquidity works normally.
Swap behaviour
Before each swap the hook runs code that reads and updates its stored state and can adjust how much the trader pays or receives. The exact rule, such as any fee or limit, cannot be confirmed from bytecode alone.
Liquidity behaviour
No liquidity callbacks; LPs can add and withdraw freely.
Fee behaviour
No explicit fee rate could be decoded. The before-swap return delta could be used to charge or redirect part of a swap, but its size and recipient are unknown.
Owner & admin controls
No admin or owner functions were found. The only external functions are the swap callback and two read-only views, and one stored value is never written after deployment.

Enabled Uniswap v4 callbacks

beforeSwap, beforeSwapReturnDelta

beforeSwap: runs custom logic and updates state on every swap; beforeSwapReturnDelta: lets the hook change the swap's input or output amounts.

Security & trust assessment

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

Who controls it: No privileged keys or admin functions were found in the bytecode. The contract is not a proxy, so its logic cannot be changed.

Risk to user funds: The hook can affect traders' swap amounts through its before-swap delta, but the maximum deduction cannot be determined from bytecode. LP principal cannot be locked or taken by this hook.

Security findings

  • [medium] Swap amounts can be modified: The hook has before-swap return delta enabled, so it can alter what traders pay or receive. The exact amounts cannot be verified without source code.
  • [info] No admin functions and not upgradeable: This is a direct contract with no setter or owner selectors visible, so its behaviour appears fixed after deployment.
  • [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
2,157 bytes
Upgradeable proxy
No
Detected patterns
return-delta

Pools using Likely custom pricing hook