Likely custom pricing hook on Robinhood Chain
Uniswap v4 Hook Contract 0x633e9832ddde84fd80e05e790c9b16fecf4fc088 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 can take an unknown, adjustable cut from every swap before it runs, while LPs can always add and withdraw liquidity freely.
How it works step by step
- Runs custom logic before every swap and can change the swap amounts through a return delta.
- Calls the PoolManager's take function during swaps, so it can pull tokens out of the swap into its own or another address's control.
- Tracks running counters in storage and records per-address amounts, likely a per-trader tally of what was taken or owed.
- Has an unnamed function that sets a numeric parameter used in the swap logic, plus another unnamed function that updates internal counters.
- Source is not verified, so the exact fee rate, recipient and access checks cannot be confirmed.
- Swap behaviour
- Before each swap the hook can adjust the swap amounts and take tokens from the pool via PoolManager.take. This likely acts as a fee or skim, but the exact amount is unknown from bytecode.
- Liquidity behaviour
- No liquidity callbacks; LPs can add and withdraw freely.
- Fee behaviour
- The hook can deduct an amount from swaps using its return delta. A stored parameter, settable through an unnamed function, appears to control this, but the percentage and any cap cannot be confirmed from bytecode.
- Owner & admin controls
- An unnamed function writes a numeric parameter that the swap logic reads, and another updates internal counters. Whether these are owner-restricted and what limits apply is unknown.
Enabled Uniswap v4 callbacks
beforeSwap, beforeSwapReturnDelta
beforeSwap: runs custom logic and records state before each swap; beforeSwapReturnDelta: lets the hook change swap amounts and take tokens from the swap.
Security & trust assessment
Risk level: medium, estimated (decoded bytecode, low confidence).
Who controls it: It is unclear who can call the parameter setter. In the worst case, whoever controls it could raise the amount taken from swaps by an unknown amount.
Risk to user funds: Traders' swap amounts can be reduced by the hook, with an unverified maximum. LP principal cannot be locked or drained by this hook.
Security findings
- [medium] Unverified swap deduction: The hook can take tokens from swaps through a return delta and PoolManager.take. The size of the deduction and any cap cannot be verified from bytecode.
- [low] Adjustable swap parameter: A single-number setter changes a value used during swaps. Its access control and bounds are not visible without source code.
- [info] LP withdrawals unaffected: Remove-liquidity callbacks and liquidity return deltas are disabled in the hook address. The hook can never block or charge LP withdrawals.
Contract details
- Verified source
- No
- Bytecode size
- 1,183 bytes
- Upgradeable proxy
- No
- Detected patterns
- moves-currency, return-delta
Pools using Likely custom pricing hook
- ETH / SHILL (0.30% fee) — 24h volume $0, TVL $0, 0 swaps today