Likely custom pricing hook on Robinhood Chain
Uniswap v4 Hook Contract 0x8ff4eb2c03325c6facbb1a73bc50561e7ec64088 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 runs before each swap, checks an address list, and can take an unknown portion of swap tokens, while leaving LP deposits and withdrawals untouched.
How it works step by step
- Runs before every swap and can change the swap amounts using a return delta.
- Calls the PoolManager's take function during swaps, meaning it pulls tokens out of the swap flow to some address.
- Keeps a list of addresses (a true/false mapping) that is checked during swaps, possibly to exempt or gate certain senders.
- Tracks a running counter updated on each swap plus two other stored values set by a separate function.
- Does not touch liquidity adds or withdrawals.
- Swap behaviour
- Before each swap the hook checks an address list and may take tokens from the swap via a return delta, so traders can receive less or pay more than a normal pool swap. The exact amount, and whether some addresses are blocked or exempted, cannot be confirmed from bytecode.
- Liquidity behaviour
- No liquidity callbacks; LPs can add and withdraw freely.
- Fee behaviour
- Unknown from bytecode. The hook can deduct tokens from swaps and take them out of the PoolManager, but no fee percentage or cap could be confirmed.
- Owner & admin controls
- A function writes to the address list and another sets two stored values, but whether these are owner-only and what limits apply cannot be confirmed from bytecode.
Enabled Uniswap v4 callbacks
beforeSwap, beforeSwapReturnDelta
beforeSwap: runs custom checks and logic before each swap; beforeSwapReturnDelta: lets the hook alter swap amounts and claim tokens from the swap.
Security & trust assessment
Risk level: medium, estimated (decoded bytecode, low confidence).
Who controls it: Unclear who controls the address list and stored settings since the source is unverified; at worst they could affect who swaps and how much is taken from swaps.
Risk to user funds: Trader swap amounts can be reduced by an unverified amount via return deltas. LP principal cannot be locked or charged by this hook.
Security findings
- [medium] Swap amounts can be altered: The hook uses a swap return delta and calls take, so it can remove tokens from swaps; no fee cap is visible in unverified bytecode.
- [low] Address list checked on swaps: A settable address mapping is read during swaps and could gate or exempt traders; who can edit it is unverified.
- [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,308 bytes
- Upgradeable proxy
- No
- Detected patterns
- moves-currency, return-delta
Pools using Likely custom pricing hook
- ETH / HYPAD (0.30% fee) — 24h volume $0, TVL $0, 0 swaps today