Likely custom pricing hook on Robinhood Chain

Uniswap v4 Hook Contract 0xe5207c19247fa07a467ace0fa7edae2eb9ad8088 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 takes an adjustable fee from swaps before they execute, with the exact rate and cap unknown, while leaving LP deposits and withdrawals completely untouched.

How it works step by step

  • Runs before every swap and can take a cut of the swap amount using a return delta, withdrawing tokens from the PoolManager.
  • Stores two small settings (likely fee rates) that a setter function can change; the cap on those settings cannot be confirmed from bytecode.
  • Keeps per-address timestamps and running totals, suggesting a check-in, claim or accrual mechanism tied to callers.
  • Has no liquidity callbacks, so LP deposits and withdrawals are never touched.
Swap behaviour
Before each swap the hook reads its stored rate settings, may deduct a portion of the swap amount through a return delta, and takes those tokens out of the PoolManager. The exact percentage and recipient cannot be confirmed without source.
Liquidity behaviour
No liquidity callbacks; LPs can add and withdraw freely.
Fee behaviour
Charges a hook fee on swaps based on stored 16-bit settings, which suggests values in basis points (up to 655.35% numerically, so the real limit depends on unverified checks). The collected amount is accumulated in a counter that can later be withdrawn or distributed.
Owner & admin controls
A setter function can update the stored fee settings and another function appears to claim or reset accumulated totals; who may call them and any hard cap are unknown from bytecode.

Enabled Uniswap v4 callbacks

beforeSwap, beforeSwapReturnDelta

beforeSwap: computes and applies the hook fee before the trade; beforeSwapReturnDelta: lets the hook deduct that fee from the swap amount.

Security & trust assessment

Risk level: medium, estimated (decoded bytecode, low confidence).

Who controls it: An unidentified privileged caller likely controls the fee settings and fee collection. The worst case is raising the swap fee to an unknown level; they cannot touch LP principal.

Risk to user funds: The hook can deduct part of each trader's swap amount at a rate that is not verifiable from bytecode. LP principal cannot be locked or drained by this hook.

Security findings

  • [medium] Adjustable swap fee with unverified cap: Fee settings stored as 16-bit values can be changed by a setter, and the bytecode does not reveal whether a maximum is enforced, so swap deductions could be higher than expected.
  • [info] LP withdrawals unrestricted: Remove-liquidity callbacks and liquidity return deltas are disabled, so the hook can never block or tax LP withdrawals.
  • [info] Not a proxy: The contract is a direct deployment and cannot be upgraded.

Contract details

Verified source
No
Bytecode size
1,456 bytes
Upgradeable proxy
No
Detected patterns
moves-currency, return-delta

Pools using Likely custom pricing hook