Likely custom pricing hook on Robinhood Chain
Uniswap v4 Hook Contract 0xebf20ac8b65ff00b4ba0a63a4188e7023c494088 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
An unverified, non-upgradeable hook that runs before each swap and can take an unknown portion of swap tokens, while leaving LP deposits and withdrawals untouched.
How it works step by step
- Runs before every swap in pools that use it and can change the swap amounts through a return delta.
- Calls the PoolManager to take tokens during the swap, likely collecting a fee or skimming part of the input to a set address.
- Keeps simple counters in storage that update on each swap, plus one read-only function that exposes a stored value.
- Does not touch liquidity adds or withdrawals.
- Swap behaviour
- Before each swap the hook can take tokens from the PoolManager and adjust the swap amounts, so traders may receive less or pay more than a plain pool. The exact size of this deduction cannot be confirmed from bytecode alone.
- Liquidity behaviour
- No liquidity callbacks; LPs can add and withdraw freely.
- Fee behaviour
- The hook appears to take a portion of swap tokens via the PoolManager, but the exact percentage and recipient are not visible from bytecode. The pool's normal LP fee still applies separately.
- Owner & admin controls
- No owner or admin functions were found in the decoded bytecode; only the swap callback and one read-only getter are exposed.
Enabled Uniswap v4 callbacks
beforeSwap, beforeSwapReturnDelta
beforeSwap: runs custom logic and updates counters before each swap; beforeSwapReturnDelta: lets the hook alter swap amounts and take tokens from the swap.
Security & trust assessment
Risk level: medium, estimated (decoded bytecode, low confidence).
Who controls it: Not stated.
Risk to user funds: The hook can take some portion of trader swap tokens during swaps; the maximum amount is unknown from bytecode. LP principal cannot be locked or drained by this hook. ICON
Security findings
- [medium] Unverified hook can deduct swap tokens: The hook has swap return-delta enabled and calls take, so it can remove tokens from swaps. With no source, the deduction amount and recipient cannot be verified.
- [info] LP withdrawals unaffected: Remove-liquidity callbacks are disabled, so the hook can never block or charge LP withdrawals.
- [info] No admin functions visible: Only beforeSwap and a view function are dispatched; no setter or owner controls appear in the bytecode.
Contract details
- Verified source
- No
- Bytecode size
- 1,385 bytes
- Upgradeable proxy
- No
- Detected patterns
- moves-currency, return-delta
Pools using Likely custom pricing hook
- ETH / HOOKTV (1.00% fee) — 24h volume $0, TVL $0, 0 swaps today