Hook 0xd5ac…8088 on Robinhood Chain
Uniswap v4 Hook Contract 0xd5aca3aef6f91f52ca6067adc2266c749d208088 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 that runs custom logic before swaps and can adjust swap amounts through return deltas, with its exact purpose not determinable from unverified bytecode.
How it works step by step
- Runs custom logic in beforeSwap on each swap through the pool key and swap parameters.
- Reads and writes several storage slots, indicating stateful accounting or fee tracking.
- Can return a swap delta (beforeSwapReturnDelta), altering the amounts exchanged with the pool.
- Exposes a non-view function a47c36a8 that also writes hook state; its purpose is unidentified.
- Exposes an unnamed view function 0b86863e that reads several state slots.
- Swap behaviour
- beforeSwap runs on every swap, reads and writes internal state, and can return a delta that changes the swap amounts.
- Liquidity behaviour
- No liquidity callbacks.
- Fee behaviour
- Cannot be determined from the decoded bytecode; beforeSwap has return-delta permission, so the hook may adjust amounts or fees, but the exact logic is not visible.
- Owner & admin controls
- No admin controls found. No owner or setter selector is dispatched; the function a47c36a8 takes two uint256 arguments and writes storage slots 0 and 4, but its role is not identified.
Enabled Uniswap v4 callbacks
beforeSwap, beforeSwapReturnDelta
beforeSwap: runs before each swap and receives the pool key, swap params and hook data. beforeSwapReturnDelta: lets the hook return a delta that changes the swap amounts, so it can take or give tokens during a swap.
Security & trust assessment
Risk level: unknown (decoded bytecode, low confidence).
Who controls it: Cannot be fully assessed without source. An unidentified function (a47c36a8) writes hook storage, so a privileged role may exist that can alter the hook's state and swap-time deltas.
Risk to user funds: The hook has return-delta permission, so it can in principle hold or redirect the tokens involved in swaps through the pool. The extent depends on logic not visible in the bytecode.
Security findings
- [medium] Return-delta permission on swaps: beforeSwapReturnDelta is enabled, so the hook can alter swap amounts and take custody of tokens during swaps.
- [medium] Unidentified state-writing function: Function a47c36a8 writes storage slots 0 and 4, which are also read by beforeSwap. Its access control and purpose are unknown from bytecode.
- [info] Stateful swap logic: Storage slots 1 to 3 are written by beforeSwap, which indicates the hook keeps per-swap state or accumulators.
- [info] Unverified source: Source is unavailable, so the selector-to-logic mapping and any owner checks cannot be verified.
Contract details
- Verified source
- No
- Bytecode size
- 1,998 bytes
- Upgradeable proxy
- No
- Detected patterns
- return-delta
Pools using Hook 0xd5ac…8088
- ETH / SMTHNGAI (0.30% fee) — 24h volume $0, TVL $0, 0 swaps today