Likely custom pricing hook on Robinhood Chain
Uniswap v4 Hook Contract 0xa06471891fe0e4a2deab99344f48ad0bc6970088 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
This hook changes swap accounting through a before-swap return delta and withdraws tokens from the pool, but without verified source it cannot be confirmed which trades pay more or less.
How it works step by step
- Implements beforeSwap with a return delta, so the hook can take over part of the swap accounting instead of the pool's normal AMM path.
- Calls take(currency0, currency1, amount) on the PoolManager, indicating it moves tokens out of the pool's accounts during a swap.
- Reads and writes four storage slots (0 through 3) inside beforeSwap, likely tracking swap state or parameters.
- Exposes one additional view function (selector 0x0f9557b0) that reads storage slots 0 and 1, probably a getter for hook state.
- Does not register liquidity or fee callbacks, so it does not change how LPs enter or exit or how the pool fee is computed.
- Swap behaviour
- beforeSwap receives the swap parameters, reads and updates stored state, and can return a delta that replaces part of the swap amounts, with tokens moved via take. The exact pricing rule cannot be determined from the bytecode alone.
- Liquidity behaviour
- No liquidity callbacks.
- Fee behaviour
- Uses the pool's static fee.
- Owner & admin controls
- No admin controls found.
Enabled Uniswap v4 callbacks
beforeSwap, beforeSwapReturnDelta
beforeSwap is used to run custom logic before each swap and to return a delta that changes the swap amounts; beforeSwapReturnDelta lets that delta alter the swap's net flows.
Security & trust assessment
Risk level: high, estimated (decoded bytecode, low confidence).
Who controls it: No owner or admin functions were decoded, so no privileged key is evident from the bytecode; the view function is read-only.
Risk to user funds: The hook can take tokens from the pool during swaps via take and adjust swap deltas, so it can affect the funds users trade against; it is not clear it can hold user funds directly.
Security findings
- [high] Return delta can change swap settlement: beforeSwapReturnDelta is enabled and the hook calls take on the PoolManager, so it can alter the amounts users receive or pay on swaps.
- [medium] Hook moves pool currency: The take selector (0x0b0d9c09) appears in the bytecode, meaning the hook withdraws tokens from pool accounts during swaps; the recipient and amount logic cannot be verified without source.
- [medium] No verified source: Without source, the pricing and accounting logic, and any hidden privileged paths, cannot be audited or confirmed.
- [info] Unidentified storage state: Four storage slots are read and written in beforeSwap, but their meaning is unknown from the decoded layout.
Contract details
- Verified source
- No
- Bytecode size
- 1,226 bytes
- Upgradeable proxy
- No
- Detected patterns
- moves-currency, return-delta
Pools using Likely custom pricing hook
- ETH / CHALK (1.00% fee) — 24h volume $0, TVL $0, 0 swaps today