Likely custom pricing hook on Robinhood Chain
Uniswap v4 Hook Contract 0x73cd70729db21e74c715944815b4ec16219a4088 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, immutable hook that runs before every swap and can take part of a trader's swap amount at a rate that cannot be confirmed from bytecode, while LPs can add and withdraw liquidity freely.
How it works step by step
- Runs a check before every swap in pools that use it.
- Can take tokens out of the swap through the PoolManager using a before-swap return delta, which changes the amount the trader actually swaps.
- Keeps two counters, likely a swap count and a running total of amounts taken, that anyone can read through a view function.
- Has no owner or admin functions in the decoded bytecode.
- Swap behaviour
- Before each swap the hook can pull tokens from the PoolManager and adjust the swap amounts with a return delta, so traders may receive less or pay more than a plain pool. The exact amount or percentage cannot be read from bytecode alone.
- Liquidity behaviour
- No liquidity callbacks; LPs can add and withdraw freely.
- Fee behaviour
- May charge an extra cut on swaps by taking tokens in beforeSwap. The rate and the recipient cannot be confirmed from the bytecode, and no admin setter for them was found.
- Owner & admin controls
- No admin controls found in the decoded bytecode.
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 from the swap.
Security & trust assessment
Risk level: medium, estimated (decoded bytecode, low confidence).
Who controls it: No privileged admin functions appear in the bytecode, so no key holder can change its behaviour. Its logic is fixed at deployment.
Risk to user funds: The hook can touch traders' swap amounts during a swap, and the size of that deduction is unknown from bytecode. LP principal cannot be locked or drained by this hook.
Security findings
- [medium] Unverified swap amount modification: The hook can take tokens from swaps through a before-swap return delta and a take call, but without source code the size of the cut and who receives it cannot be confirmed.
- [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 small direct contract, not a proxy, and no owner functions were found.
Contract details
- Verified source
- No
- Bytecode size
- 1,136 bytes
- Upgradeable proxy
- No
- Detected patterns
- moves-currency, return-delta
Pools using Likely custom pricing hook
- ETH / KOSMI (0.30% fee) — 24h volume $0, TVL $0, 0 swaps today