Likely custom pricing hook on Robinhood Chain
Uniswap v4 Hook Contract 0xd2fc9fe42c8e5e28c8ee6bc0b427c23cc2ce6aec on Robinhood Chain · Custom pricing
- Volume (24h)
- $2.65
- Value locked (TVL)
- $2.47
- All-time volume
- $2.65
- Pools using this hook
- 1
- Swaps (24h)
- 3 (2 traders)
- Total swaps
- 3
What it does
This hook is an upgradeable proxy with return-delta permissions on swaps, but its actual effect on swap prices, fees and liquidity could not be determined from the decoded bytecode, so it is unclear which trades pay more or less.
How it works step by step
- Hook has eight permissions enabled, including before/after swap callbacks and both return-delta flags, so it can alter swap amounts and take currency deltas.
- Bytecode is small (784 bytes) and contains ERC1967 error selectors (ERC1967InvalidImplementation, ERC1967NonPayable), indicating an ERC1967 upgradeable proxy pattern.
- Storage contains a single address slot at the ERC1967 implementation position, consistent with a proxy delegating to a logic contract.
- No dispatched user-facing selectors were decoded, so the actual hook logic lives behind the proxy and cannot be identified from this bytecode.
- Swap behaviour
- Hook has before and after swap callbacks with return-delta enabled, so it can modify swap amounts or take a delta, but the specific logic could not be determined from the decoded bytecode.
- Liquidity behaviour
- Hook has beforeAddLiquidity and beforeRemoveLiquidity callbacks enabled, which can gate or alter liquidity operations; the specific behaviour could not be determined.
- Fee behaviour
- Cannot be determined from the decoded bytecode; the hook may influence fees through return deltas, but no fee-setting selectors were identified.
- Owner & admin controls
- Proxy implementation slot is present, so an upgrade authority likely exists, but the admin address and upgrade functions could not be identified from the decoded bytecode.
Enabled Uniswap v4 callbacks
beforeInitialize, beforeAddLiquidity, beforeRemoveLiquidity, beforeSwap, afterSwap, beforeDonate, beforeSwapReturnDelta, afterSwapReturnDelta
beforeInitialize: runs on pool initialization. beforeAddLiquidity and beforeRemoveLiquidity: can gate or modify liquidity changes. beforeSwap and afterSwap: intercept swaps. beforeSwapReturnDelta and afterSwapReturnDelta: can return deltas that change amounts settled in the pool. beforeDonate: intercepts donations.
Security & trust assessment
Risk level: high, estimated (decoded bytecode, low confidence).
Who controls it: An upgrade authority behind the ERC1967 proxy could replace the implementation and redirect any swap or liquidity flow the hook controls.
Risk to user funds: The hook can alter swap settlement through return deltas and gate liquidity operations, so it could hold, move or block pool and user funds depending on its implementation, which is unknown.
Security findings
- [high] Upgradeable proxy: ERC1967 error selectors and an implementation storage slot indicate the logic can be replaced by an upgrade authority, which could change swap, liquidity and fee behaviour at any time.
- [medium] Return-delta permissions enabled: beforeSwapReturnDelta and afterSwapReturnDelta let the hook alter the amounts settled for swappers and the pool, so a malicious or buggy implementation could take user funds.
- [medium] Logic not verified: No verified source is available and no user-facing functions were decoded, so the actual behaviour and its safety cannot be confirmed.
Contract details
- Verified source
- No
- Bytecode size
- 784 bytes
- Upgradeable proxy
- No
- Detected patterns
- return-delta
Pools using Likely custom pricing hook
- ETH / AI (0.00% fee) — 24h volume $2.65, TVL $2.47, 3 swaps today