Likely custom pricing hook on Robinhood Chain
Uniswap v4 Hook Contract 0x63d52dcb1be422297870d1756670718b43a58088 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 unverified hook runs before every swap and can take an unknown share of swap amounts, which could make trades cost more, while LPs remain free to add and withdraw liquidity.
How it works step by step
- Runs custom logic before every swap and can change how much of the swap is handled by the hook instead of the pool curve.
- Can take tokens out of the PoolManager during swaps, which suggests it charges a fee or settles part of the swap itself.
- Tracks several running counters updated on each swap, plus a per-address balance or record.
- Has unnamed admin or user functions that set configuration values and update per-address records. Their exact purpose is unknown without source code.
- Swap behaviour
- Before each swap the hook runs custom code and can adjust swap amounts through a return delta, for example by taking a cut of the input. The exact fee or rule cannot be confirmed from bytecode.
- Liquidity behaviour
- No liquidity callbacks; LPs can add and withdraw freely.
- Fee behaviour
- The hook may take tokens from swaps, but the fee rate, its cap and who receives it cannot be determined from unverified bytecode.
- Owner & admin controls
- One function writes two configuration values and another writes a per-address mapping. Whether these calls are restricted to an owner, and what limits apply, is unknown.
Enabled Uniswap v4 callbacks
beforeSwap, beforeSwapReturnDelta
beforeSwap: runs custom logic and updates counters before each swap; beforeSwapReturnDelta: lets the hook change swap amounts and take tokens during the swap.
Security & trust assessment
Risk level: medium, estimated (decoded bytecode, low confidence).
Who controls it: It is unclear who can call the configuration functions. At worst, a privileged caller could change parameters that affect how much the hook takes from swaps.
Risk to user funds: Traders' swap amounts can be reduced by an unverified amount through the swap return delta, with no confirmed maximum. LP principal cannot be locked or drained by this hook.
Security findings
- [medium] Unverified swap delta logic: The hook can change swap amounts and take tokens from the PoolManager before swaps. With no verified source, the size of any deduction and any cap on it cannot be checked.
- [low] Unknown configuration setters: Unnamed functions write configuration values and per-address records. Their access control and bounds are unclear from the bytecode.
- [info] LP withdrawals unrestricted: Remove-liquidity callbacks are disabled in the hook address, so the hook can never block or charge LP withdrawals.
Contract details
- Verified source
- No
- Bytecode size
- 1,825 bytes
- Upgradeable proxy
- No
- Detected patterns
- moves-currency, return-delta
Pools using Likely custom pricing hook
- ETH / LAZARUS (1.00% fee) — 24h volume $0, TVL $0, 0 swaps today