Likely custom pricing hook on Robinhood Chain
Uniswap v4 Hook Contract 0x09cea824c796d775f954f514e9a4c8d0b6520088 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 hook that runs before every swap and can adjust or take part of swap amounts into an internal per-address ledger, with unknown fee size, while LPs remain free to withdraw.
How it works step by step
- Runs custom logic before every swap and can change how much of the swap is handled by the pool versus the hook.
- Can take tokens out of the swap through the PoolManager and record amounts per address in an internal ledger.
- Tracks running totals and counters that are updated on each swap.
- Exposes functions that let addresses update or claim their recorded balances; the exact rules cannot be confirmed without source.
- Swap behaviour
- Before each swap the hook runs and can adjust the swap amounts using a return delta, which may mean taking part of the input or supplying output itself. The exact fee or deduction size cannot be determined from the bytecode.
- Liquidity behaviour
- No liquidity callbacks; LPs can add and withdraw freely.
- Fee behaviour
- May take a cut of swaps and credit it to per-address balances inside the hook. The exact percentage and recipients are unknown because the source is not verified.
- Owner & admin controls
- No clear owner or admin functions were identified in the bytecode, though two unnamed state-changing functions exist whose access rules are unknown.
Enabled Uniswap v4 callbacks
beforeSwap, beforeSwapReturnDelta
beforeSwap runs hook logic ahead of each swap; beforeSwapReturnDelta lets the hook change or deduct swap amounts.
Security & trust assessment
Risk level: medium, estimated (decoded bytecode, low confidence).
Who controls it: No obvious privileged admin role was found, but unnamed functions that write to state exist and their access control is unknown.
Risk to user funds: The hook can affect traders' swap amounts and take tokens during swaps, with an unknown maximum deduction. LP principal cannot be locked or drained since withdrawal callbacks are disabled.
Security findings
- [medium] Unverified hook can alter swap amounts: The hook can modify swap amounts before execution and pull tokens via the PoolManager, but the size of any deduction cannot be verified from bytecode.
- [info] LP withdrawals unaffected: Remove-liquidity callbacks are disabled, so the hook can never block or charge LP withdrawals.
- [info] Not upgradeable: This is a direct contract, not a proxy, so its logic cannot be swapped out.
Contract details
- Verified source
- No
- Bytecode size
- 1,571 bytes
- Upgradeable proxy
- No
- Detected patterns
- moves-currency, return-delta
Pools using Likely custom pricing hook
- ETH / LAYER (1.00% fee) — 24h volume $0, TVL $0, 0 swaps today