Custom pricing hook on Robinhood Chain

Uniswap v4 Hook Contract 0x946ffe095d5125535dbd238575fa744d34fa0088 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 beforeSwap hook that adjusts swap settlement through return deltas and takes currency from the pool manager, with its exact purpose undetermined without verified source.

How it works step by step

  • Runs custom logic in beforeSwap on every swap in pools that use this hook
  • Returns a before-swap delta that changes the amounts settled between the swapper and the pool
  • Calls take on the PoolManager to withdraw currency as part of swap accounting
  • Reads and writes three storage slots during swaps, which likely hold hook state
  • Exposes a view function with selector 0xd15db627 that is not identified by name
Swap behaviour
Runs logic in beforeSwap that can return a delta and call take to move currency during each swap.
Liquidity behaviour
No liquidity callbacks.
Fee behaviour
Fee handling is not clearly determined from decoded bytecode; the hook takes currency through the PoolManager take call during beforeSwap, which may represent a custom fee or accounting mechanism.
Owner & admin controls
No admin controls found.

Enabled Uniswap v4 callbacks

beforeSwap, beforeSwapReturnDelta

beforeSwap: runs custom logic before each swap and can alter the swap accounting; beforeSwapReturnDelta: lets the hook return a delta that changes the amounts settled with the pool, and the bytecode calls take to move currency.

Security & trust assessment

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

Who controls it: No owner or admin selectors were identified, so no privileged key is evident from the bytecode; this is inferred from the absence of common admin functions and should be treated as tentative.

Risk to user funds: The hook can take currency from the pool through beforeSwap return deltas and take calls, so swap amounts settled with the pool may be altered; the precise amounts and conditions cannot be determined from the bytecode alone.

Security findings

  • [medium] Return delta with currency movement: The hook can return a before-swap delta and calls take(address,address,uint256), so it can move currency out of the PoolManager on swaps.
  • [medium] Unverified swap logic: The hook has three storage slots read and written in beforeSwap, with no clear access gating visible in the decoded functions, so its behaviour depends on logic that cannot be fully verified without source.
  • [info] No verified source: No verified source is available, so the exact effect of the take call and the storage values cannot be confirmed.

Contract details

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

Pools using Custom pricing hook