Likely custom pricing hook on Robinhood Chain

Uniswap v4 Hook Contract 0xb1ca2393318ebc63f263d6678f8aea1231528088 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 can take an unknown share of every swap before it executes, so traders may pay more than in a plain pool, while LPs can still add and withdraw freely.

How it works step by step

  • Runs before every swap in pools that use it and can change the swap amounts through a return delta.
  • Calls the PoolManager's take function, which pulls tokens out of the swap to an address the bytecode does not reveal, most likely as a fee or skim.
  • Keeps three running counters in storage that are updated on each swap and can be read publicly.
  • Has a small read-only function that takes a true/false input, probably a quote or helper, whose purpose cannot be confirmed.
Swap behaviour
Before each swap the hook can adjust the amounts through a return delta and take tokens from the PoolManager, so traders may receive less or pay more than a plain pool would charge. The exact amount taken cannot be determined from the bytecode.
Liquidity behaviour
No liquidity callbacks; LPs can add and withdraw freely.
Fee behaviour
The hook appears to take a deduction from swaps via take() and a return delta, but the percentage and recipient cannot be verified from bytecode. The pool's normal LP fee still applies.
Owner & admin controls
No admin or owner functions were found in the dispatched selectors, so there appear to be no adjustable settings.

Enabled Uniswap v4 callbacks

beforeSwap, beforeSwapReturnDelta

beforeSwap: runs custom logic and updates counters before each swap; beforeSwapReturnDelta: lets the hook change swap amounts and pull tokens out of the swap.

Security & trust assessment

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

Who controls it: No privileged keys or admin functions are visible, and the contract is not upgradeable.

Risk to user funds: Traders' swap amounts can be reduced by an unknown amount through the return delta and take(). LP principal cannot be locked or taken by this hook.

Security findings

  • [medium] Unverified swap deduction: The hook can change swap amounts and take tokens through a return delta. Because the source is not verified, the size of the deduction and who receives it are unknown.
  • [info] LP withdrawals unaffected: The remove-liquidity callbacks are disabled, so the hook can never block or charge LP withdrawals.
  • [info] No admin functions or proxy: The contract is a direct contract with no visible owner setters, so its behaviour cannot be changed after deployment.

Contract details

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

Pools using Likely custom pricing hook