Likely custom pricing hook on Robinhood Chain
Uniswap v4 Hook Contract 0xc61f4231764b5d3215b1a79be34e76ab48030088 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 small, unverified, non-upgradeable hook runs before every swap, updates internal counters, and can change swap amounts by an unverified amount, while LPs can always add and withdraw liquidity freely.
How it works step by step
- Runs custom logic before every swap in pools that use it.
- Has permission to change swap amounts before the swap executes (before-swap return delta), though the exact logic cannot be confirmed without source.
- Keeps a small set of counters in storage (a timestamp- or block-like value and three numeric values) that update on each swap and can be read through one view function.
- Has no liquidity callbacks, so adding and removing liquidity works normally.
- Swap behaviour
- Before each swap the hook runs and updates its stored counters, and it may adjust or partly fill the swap amount through a return delta. Whether it charges a fee or restricts swaps cannot be confirmed from bytecode alone.
- Liquidity behaviour
- No liquidity callbacks; LPs can add and withdraw freely.
- Fee behaviour
- No explicit fee logic could be confirmed; the pool's static fee applies, but the enabled before-swap delta means the hook could change swap amounts in ways that cannot be verified.
- Owner & admin controls
- No admin or owner functions were found in the decoded selectors.
Enabled Uniswap v4 callbacks
beforeSwap, beforeSwapReturnDelta
beforeSwap: runs custom logic and updates stored state on each swap; beforeSwapReturnDelta: lets the hook change the amounts swapped before the pool trade.
Security & trust assessment
Risk level: medium, estimated (decoded bytecode, low confidence).
Who controls it: No privileged keys or admin functions were found, and the code cannot be upgraded.
Risk to user funds: Swap amounts may be changed through the before-swap delta, and the bounds are unknown from bytecode. LP principal cannot be locked or drained by this hook.
Security findings
- [medium] Unverified swap return delta: The hook can change swap amounts before execution, and without source the size or purpose of any change cannot be verified.
- [info] No admin functions and not upgradeable: Only a swap callback and one read function exist, and the contract is not a proxy.
- [info] LP withdrawals unrestricted: Remove-liquidity callbacks are disabled, so the hook can never block or charge LP withdrawals.
Contract details
- Verified source
- No
- Bytecode size
- 1,878 bytes
- Upgradeable proxy
- No
- Detected patterns
- return-delta
Pools using Likely custom pricing hook
- ETH / GRAIL (1.00% fee) — 24h volume $0, TVL $0, 0 swaps today