Likely custom pricing hook on Robinhood Chain
Uniswap v4 Hook Contract 0x337538cd46246787f8ebec91c7ebd00f3ca68088 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 immutable, unverified hook that runs before every swap and can take an unknown cut of swap amounts while tracking a swap counter, and LPs can always withdraw freely.
How it works step by step
- Runs custom logic before every swap in pools that use it.
- Can change swap amounts through a before-swap return delta, for example by taking a cut of the input.
- Calls the PoolManager to withdraw tokens during the swap, likely sending a fee or skim to a fixed address.
- Keeps a single counter in storage that is updated on each swap and can be read publicly.
- Never runs on liquidity actions, so LPs can add and withdraw freely.
- Swap behaviour
- Before each swap the hook can adjust the swap amounts and take tokens out of the PoolManager, which most likely means a deduction from the trade. The exact amount or percentage cannot be confirmed from the bytecode.
- Liquidity behaviour
- No liquidity callbacks; LPs can add and withdraw freely.
- Fee behaviour
- The hook may take an extra hook-level amount from swaps via a return delta, but its size and recipient are unknown from bytecode. The pool's normal LP fee still applies.
- Owner & admin controls
- No admin controls found. There are no owner-style setter functions; only two read-only getters and the swap callback are exposed.
Enabled Uniswap v4 callbacks
beforeSwap, beforeSwapReturnDelta
beforeSwap: runs custom logic and updates a counter before each swap; beforeSwapReturnDelta: lets the hook change swap amounts and pull tokens during the swap.
Security & trust assessment
Risk level: medium, estimated (decoded bytecode, low confidence).
Who controls it: No privileged keys were found, and the contract is not a proxy. Its behaviour is fixed at deployment.
Risk to user funds: Swappers may have part of their trade taken by the hook through return deltas, and the maximum amount is unknown from bytecode. LP principal cannot be locked or drained by this hook.
Security findings
- [medium] Unverified swap deduction: The hook can change swap amounts and withdraw tokens during swaps, but with no source available the size of any deduction cannot be verified.
- [info] No admin functions: Only the swap callback and two view functions are exposed, so no owner can change behaviour after deployment.
- [info] LP withdrawals unrestricted: Remove-liquidity callbacks are disabled, so the hook cannot block or charge LP withdrawals.
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 / EVERY (1.00% fee) — 24h volume $0, TVL $0, 0 swaps today