Likely custom pricing hook on Robinhood Chain
Uniswap v4 Hook Contract 0x8f951f98ce36a8d25a962d77cea96e954bd10088 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, non-upgradeable hook can take a cut of each swap before it runs and keeps running totals, with the size of that cut unverified, while LPs keep the pool's normal fee and can withdraw freely.
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 swaps, which suggests it skims a fee or reroutes part of the swap input to some address.
- Keeps two counters in storage that are updated on each swap and can be read through a public view function, likely a running total of swaps or collected amounts.
- Has no liquidity callbacks, so LP deposits and withdrawals are never touched.
- Swap behaviour
- Before each swap the hook can adjust the swap amounts and take tokens from the PoolManager, most likely a cut of the input. The exact amount and recipient cannot be confirmed from bytecode.
- Liquidity behaviour
- No liquidity callbacks; LPs can add and withdraw freely.
- Fee behaviour
- Uses the pool's normal LP fee, plus a possible extra deduction taken by the hook before each swap. The size and recipient of that deduction cannot be confirmed from bytecode, but no admin setter for it was found.
- Owner & admin controls
- No admin controls found; the only functions are the swap callback and a read-only view.
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.
Security & trust assessment
Risk level: medium, estimated (decoded bytecode, low confidence).
Who controls it: No privileged keys were found. The logic is fixed at deployment.
Risk to user funds: Traders' swap amounts may be reduced by an amount set in the hook's unverified logic, and the maximum deduction cannot be confirmed. LP principal cannot be locked or taken by the hook.
Security findings
- [medium] Unverified swap deduction: The hook can change swap amounts and take tokens before each swap, but because the source is unverified, the exact amount and recipient are unknown.
- [info] No admin or upgrade path: This is a direct contract with no owner setters or proxy, so its behaviour is fixed.
- [info] LP withdrawals unrestricted: The remove-liquidity callbacks are disabled, so LPs can always withdraw.
Contract details
- Verified source
- No
- Bytecode size
- 1,191 bytes
- Upgradeable proxy
- No
- Detected patterns
- moves-currency, return-delta
Pools using Likely custom pricing hook
- ETH / REBATE (1.00% fee) — 24h volume $0, TVL $0, 0 swaps today