Likely custom pricing hook on Robinhood Chain

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

A small, non-upgradeable hook that runs before every swap and may take or adjust part of each trade by an amount that cannot be verified from bytecode, while leaving LP deposits and withdrawals untouched.

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 and pull tokens out of the PoolManager with take.
  • Keeps a small internal state (a counter, a timestamp-like value and an accumulator) updated on each swap, readable through one view function.
  • Has no liquidity callbacks, so LPs add and withdraw normally.
Swap behaviour
Before each swap the hook updates internal state and may take tokens from the swap, adjusting the amount the trader pays or receives through a return delta. The exact amount or formula cannot be confirmed from bytecode.
Liquidity behaviour
No liquidity callbacks; LPs can add and withdraw freely.
Fee behaviour
Any deduction is taken in beforeSwap via a return delta and the take call. The size and recipient of the deduction are not visible in the decoded bytecode, so they are unknown.
Owner & admin controls
No admin or owner functions were found; only beforeSwap and a single view function are exposed.

Enabled Uniswap v4 callbacks

beforeSwap, beforeSwapReturnDelta

beforeSwap: runs custom logic and updates state before each swap; beforeSwapReturnDelta: lets the hook change the swap's input or output amounts and take tokens.

Security & trust assessment

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

Who controls it: No privileged keys or admin functions were found, and the contract is not a proxy.

Risk to user funds: The hook can take part of a trader's swap amount during beforeSwap, with an unverified maximum. LP principal cannot be locked or drained by this hook.

Security findings

  • [medium] Unverified swap-amount changes: The hook can alter swap amounts and take tokens via a before-swap return delta, but without source the size of any deduction cannot be verified.
  • [info] No admin functions: Only beforeSwap and one view function are dispatched, so no owner can change settings 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
1,142 bytes
Upgradeable proxy
No
Detected patterns
moves-currency, return-delta

Pools using Likely custom pricing hook