Hook 0xbad5…8088 on Robinhood Chain

Uniswap v4 Hook Contract 0xbad5ed34d896f35532345b3b666c3c697a038088 on Robinhood Chain · Other

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 Uniswap v4 hook with a beforeSwap callback and return-delta permission that can take currency and adjust swap settlement, but its exact purpose could not be determined without verified source.

How it works step by step

  • Runs custom logic in beforeSwap on every swap in its pool
  • Reads storage slots 0 and 1 to make swap decisions
  • Calls take(address,address,uint256) to move currency from the pool
  • Returns a before-swap delta that changes settled amounts
  • Exposes an unidentified nonpayable function 0x199a0a37 that writes storage
  • Exposes a view function rose() with no further decoded meaning
Swap behaviour
Runs custom logic in beforeSwap, reads storage slots 0 and 1, may call take to move currency, and can return a delta that alters swap settlement.
Liquidity behaviour
No liquidity callbacks.
Fee behaviour
Uses the pool's static fee as far as can be determined; no fee-setting logic is identified in the decoded functions.
Owner & admin controls
No admin controls found. The function 0x199a0a37 with two uint256 arguments writes storage slots 0 and 1 and is nonpayable, but no owner or access check is identifiable from the decoded input, so its caller restrictions cannot be confirmed.

Enabled Uniswap v4 callbacks

beforeSwap, beforeSwapReturnDelta

beforeSwap: runs custom logic before each swap, reads and writes storage slots 0 and 1, and calls take(address,address,uint256) to move currency. beforeSwapReturnDelta: lets the hook return a delta that changes the amounts settled in the swap, which is consistent with the take call.

Security & trust assessment

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

Who controls it: Cannot be determined without source. The unidentified nonpayable function 0x199a0a37 that writes storage slots 0 and 1 may be restricted to a privileged key; if unrestricted, any caller could alter state the swap hook reads.

Risk to user funds: The hook can take currency from the pool through take and alter swap settlement through its return delta, so the amounts traders receive depend on the hook's logic, which could not be fully verified from bytecode alone.

Security findings

  • [high] Hook can move pool currency during swaps: The hook has beforeSwapReturnDelta enabled and the bytecode calls take(address,address,uint256), so it can take or settle currency from the pool during swaps and alter the amounts users receive.
  • [medium] Unidentified state-writing function: Selector 0x199a0a37 is nonpayable and writes storage slots 0 and 1 that beforeSwap reads, with no identifiable access check in the decoded output. Its purpose and caller restrictions are unknown.
  • [info] Panic revert path present: The bytecode includes a Panic(uint256) selector, indicating checked arithmetic or assertion-style reverts; this is neutral and does not by itself indicate a flaw.

Contract details

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

Pools using Hook 0xbad5…8088