Likely custom pricing hook on Robinhood Chain

Uniswap v4 Hook Contract 0x70a106b601f704b7da7a61b4ac71532173da0088 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 runs before every swap, updates internal counters, and may adjust trade amounts by an unconfirmed amount, while leaving LP deposits and withdrawals untouched.

How it works step by step

  • Runs custom logic before every swap in pools that use it.
  • Has the ability to change swap amounts through a before-swap return delta, so it could take or add tokens on a swap.
  • Keeps three internal counters that it updates on each swap, and a read-only function exposes them.
  • Has no liquidity callbacks, so adding and removing liquidity works normally.
Swap behaviour
Before each swap the hook runs and updates three stored values. It is allowed to adjust the swap amounts through a return delta, but the bytecode alone does not show whether or how much it changes them.
Liquidity behaviour
No liquidity callbacks; LPs can add and withdraw freely.
Fee behaviour
No explicit fee logic could be confirmed from the bytecode. The pool's static fee applies, though the return-delta permission means the hook could alter swap amounts by an amount that cannot be verified here.
Owner & admin controls
No admin controls found; the only other function is a read-only view and no owner-setting functions were detected.

Enabled Uniswap v4 callbacks

beforeSwap, beforeSwapReturnDelta

beforeSwap: runs logic and updates counters before each swap; beforeSwapReturnDelta: lets the hook modify the amounts a swap pays or receives.

Security & trust assessment

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

Who controls it: No privileged owner or admin functions were found in the bytecode. The behaviour appears fixed at deployment.

Risk to user funds: The hook can affect traders' swap amounts through its before-swap return delta, with an unknown maximum since the bytecode is unverified. LP principal cannot be locked or drained because liquidity callbacks are disabled.

Security findings

  • [medium] Unverified swap return delta: The hook can change swap input or output amounts before the swap, and without source code the size and direction of any such change cannot be confirmed.
  • [info] No admin functions detected: Only a swap callback and one view function are exposed, so there appear to be no owner controls over fees or pausing.
  • [info] LP withdrawals unrestricted: Remove-liquidity callbacks are disabled in the address, so the hook can never block or charge LP withdrawals.

Contract details

Verified source
No
Bytecode size
1,993 bytes
Upgradeable proxy
No
Detected patterns
return-delta

Pools using Likely custom pricing hook