Custom pricing hook on Robinhood Chain
Uniswap v4 Hook Contract 0x8570d52db18bf0a312f35947f18e435ad3aa8088 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 Uniswap v4 hook that runs custom logic before swaps and can adjust swap amounts through return deltas, though its exact purpose cannot be determined without verified source.
How it works step by step
- Runs custom logic in beforeSwap on every swap in its pool
- Writes to storage slots 0, 1 and 2 during swaps
- Can return a before-swap delta that alters swap settlement amounts
- Exposes one view function (selector 0x64871c9f) that reads the same state
- Exact economic purpose cannot be confirmed without source
- Swap behaviour
- beforeSwap runs on every swap, updates storage slots 0 to 2, and can return a delta that changes swap settlement.
- Liquidity behaviour
- No liquidity callbacks.
- Fee behaviour
- Fee handling not determinable from decoded bytecode; beforeSwap may adjust swap deltas but the mechanism cannot be confirmed without source.
- Owner & admin controls
- No admin controls found.
Enabled Uniswap v4 callbacks
beforeSwap, beforeSwapReturnDelta
beforeSwap: the hook runs logic before each swap and mutates storage slots 0, 1 and 2 on that path. beforeSwapReturnDelta: the hook can return a delta that alters the amounts the pool settles for the swap.
Security & trust assessment
Risk level: high (decoded bytecode, low confidence).
Who controls it: No owner, admin or upgrade selector was identified in the decoded functions, so no privileged key is evident; this is inconclusive given the lack of source.
Risk to user funds: Because the hook can return deltas during swaps, it can influence amounts moved in or out of the pool for swappers; the exact extent cannot be determined from the bytecode alone.
Security findings
- [high] Return delta can alter swap settlement: beforeSwapReturnDelta lets the hook return a delta that changes swap settlement, so the hook can take or redirect value from swaps.
- [medium] Swap path mutates hook state: beforeSwap writes to storage slots 0, 1 and 2 on every swap, so swap execution depends on mutable hook state that cannot be verified without source.
- [info] Unverified source: Source is unavailable and only one state-changing selector and one view selector were decoded, so the exact logic is unconfirmed.
Contract details
- Verified source
- No
- Bytecode size
- 1,880 bytes
- Upgradeable proxy
- No
- Detected patterns
- return-delta
Pools using Custom pricing hook
- ETH / CLK (1.00% fee) — 24h volume $0, TVL $0, 0 swaps today