Likely custom pricing hook on Robinhood Chain
Uniswap v4 Hook Contract 0xe0d5954e7462f4f9b9dfa313cabf32c4206a4088 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
A small, immutable hook that runs before every swap and may adjust swap amounts by an unverified amount while tracking simple state, with no admin controls and no effect on LP deposits or withdrawals.
How it works step by step
- Runs a check or calculation before every swap in pools that use it.
- Can return a swap delta that changes how much of each token the swapper pays or receives.
- Records data in storage on each swap, likely a counter or the last swap value, readable through a public view function.
- Has no liquidity callbacks, so LPs add and remove liquidity normally.
- Swap behaviour
- Before each swap the hook runs and can return a delta that adjusts the swap amounts. It also writes to two storage values. The exact adjustment cannot be confirmed from bytecode alone.
- Liquidity behaviour
- No liquidity callbacks; LPs can add and withdraw freely.
- Fee behaviour
- No explicit fee logic was identified. Because return deltas are enabled, the hook could change swap amounts, but any fee size is unknown from bytecode.
- Owner & admin controls
- No admin controls found. There is no owner-like selector, and only the swap callback writes to storage.
Enabled Uniswap v4 callbacks
beforeSwap, beforeSwapReturnDelta
beforeSwap: runs custom logic and updates stored state before each swap; beforeSwapReturnDelta: lets the hook alter the amounts the swapper pays or receives.
Security & trust assessment
Risk level: medium, estimated (decoded bytecode, low confidence).
Who controls it: No privileged admin functions were detected. The behaviour appears fixed in this small, non-upgradeable contract.
Risk to user funds: Swap amounts can be adjusted by an unknown amount through the return delta. LP principal cannot be locked or taken, because the hook never runs on liquidity changes.
Security findings
- [medium] Unverified swap delta logic: The hook can modify swap amounts through its before-swap return delta, and no source is available to confirm how large any adjustment can be.
- [info] No admin or withdrawal hooks: No owner functions were found, and remove-liquidity callbacks are disabled, so LP withdrawals cannot be blocked.
Contract details
- Verified source
- No
- Bytecode size
- 1,445 bytes
- Upgradeable proxy
- No
- Detected patterns
- return-delta
Pools using Likely custom pricing hook
- ETH / PAPYRUS (0.30% fee) — 24h volume $0, TVL $0, 0 swaps today