Likely custom pricing hook on Robinhood Chain
Uniswap v4 Hook Contract 0x5dbe7b1810b6a303df6cce8cfca01677c8198088 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 hook that can take a cut from swaps based on an adjustable 'hunt rate' of unknown size, while leaving LP deposits and withdrawals untouched.
How it works step by step
- Runs a check before every swap and can take a cut of the swap amount using a return delta.
- Keeps a configurable 'hunt rate' value (a 32-bit number) that likely controls how much or how often it takes from swaps.
- Keeps a second counter that updates on each swap, likely tracking swaps or timing.
- Sends taken tokens out of the pool manager to some recipient via take.
- Swap behaviour
- Before each swap the hook reads its rate and counter and may deduct tokens from the swap through a return delta, sending them out via the pool manager. The exact amount, which swaps are hit, and who receives the tokens cannot be confirmed from bytecode.
- Liquidity behaviour
- No liquidity callbacks; LPs can add and withdraw freely.
- Fee behaviour
- May charge an extra deduction on swaps set by a stored 'hunt rate'. The percentage, its cap, and the recipient are unknown from bytecode.
- Owner & admin controls
- A function taking a 32-bit value writes the rate setting. Whether it is access-restricted and what its maximum is cannot be determined from bytecode.
Enabled Uniswap v4 callbacks
beforeSwap, beforeSwapReturnDelta
beforeSwap: runs custom logic and updates a counter on each swap; beforeSwapReturnDelta: lets the hook change swap amounts and pull tokens out.
Security & trust assessment
Risk level: medium, estimated (decoded bytecode, low confidence).
Who controls it: Some caller, possibly an owner, can change the rate that likely governs swap deductions; limits are unknown. It cannot touch LP withdrawals.
Risk to user funds: Traders' swap amounts can be partially taken by the hook, with an unknown maximum. LP principal cannot be locked or drained by this hook.
Security findings
- [medium] Unverified swap deduction: The hook can take tokens from swaps via return delta and the take call, but the size and recipient are not verifiable without source.
- [medium] Settable rate with unknown cap: A 32-bit rate can be changed by a setter whose access control and upper bound are not visible in the decoded data.
- [info] LP withdrawals unaffected: Remove-liquidity callbacks are disabled, so the hook can never block or charge LP withdrawals.
Contract details
- Verified source
- No
- Bytecode size
- 1,548 bytes
- Upgradeable proxy
- No
- Detected patterns
- moves-currency, return-delta
Pools using Likely custom pricing hook
- ETH / MEWPAD (0.30% fee) — 24h volume $0, TVL $0, 0 swaps today