Hook 0x6884…4088 on Robinhood Chain
Uniswap v4 Hook Contract 0x6884a0bbf212129690e20438e41b02dd8d464088 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 small, unverified hook that runs logic before swaps and can adjust swap deltas by taking currency, with its exact purpose not determinable from bytecode alone.
How it works step by step
- Runs custom logic in beforeSwap for every swap routed through the pool.
- Returns a delta through beforeSwapReturnDelta, changing the net amounts of the swap.
- Calls take(address,address,uint256) to withdraw currency as part of that delta.
- Reads storage slots 0, 1 and 2 in its swap path, which hold its configurable state.
- Exposes a nonpayable setter at selector 0xff1f5b33 that writes storage slots 0 and 1.
- Swap behaviour
- Runs custom logic in beforeSwap (selector 0x575e24b4) and can return a delta that moves currency via take(), altering swap amounts.
- Liquidity behaviour
- No liquidity callbacks.
- Fee behaviour
- Not determinable from decoded bytecode; the hook has no fee-related selectors identified, so the pool's static fee is assumed unless beforeSwap adjusts it.
- Owner & admin controls
- No admin controls found. Selector 0xff1f5b33 is a nonpayable two-argument function that writes storage slots 0 and 1, which may be a configuration setter, but without source its access control cannot be confirmed.
Enabled Uniswap v4 callbacks
beforeSwap, beforeSwapReturnDelta
beforeSwap: the hook runs logic before each swap via selector 0x575e24b4. beforeSwapReturnDelta: the hook can return a delta that alters the swap amounts, and the bytecode calls take(address,address,uint256) which indicates it moves currency.
Security & trust assessment
Risk level: medium (decoded bytecode, low confidence).
Who controls it: Not determinable without source. If selector 0xff1f5b33 is an owner-gated setter for storage slots 0 and 1, a privileged key could change parameters that affect swap deltas and thus user execution.
Risk to user funds: The hook can take currency from the pool during swaps via take() under beforeSwapReturnDelta, so it can affect the amounts moved for users. Without source, the exact conditions and any ability to block swaps cannot be confirmed.
Security findings
- [medium] Hook takes currency via return delta: beforeSwapReturnDelta is enabled and the bytecode calls take(address,address,uint256), so the hook can take pool currency during swaps and alter the amounts users receive.
- [medium] Unverified state-changing function affects swap logic: Selector 0xff1f5b33 is nonpayable and writes storage slots 0 and 1 that beforeSwap reads, suggesting externally changeable parameters that influence swap outcomes.
- [info] Compact bytecode with revert paths: The contract is small (1218 bytes) and contains a Panic(uint256) selector, indicating checked arithmetic or assertion-based reverts in its logic.
Contract details
- Verified source
- No
- Bytecode size
- 1,218 bytes
- Upgradeable proxy
- No
- Detected patterns
- moves-currency, return-delta
Pools using Hook 0x6884…4088
- ETH / DEATH (1.00% fee) — 24h volume $0, TVL $0, 0 swaps today