Likely custom pricing hook on Robinhood Chain
Uniswap v4 Hook Contract 0xdc4a84890c1c5066ddbf182654a478a567ae4088 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, non-upgradeable hook that runs before every swap and can take an unknown portion of each trade, while leaving LP deposits and withdrawals untouched.
How it works step by step
- Runs before every swap and can change how much of the swap the pool actually handles, using a swap return delta.
- Calls the PoolManager's take function, so it pulls tokens out of the swap flow, most likely to a recipient or to itself.
- Records data about each swap (two numbers and an address) that anyone can read through a view function.
- Has no liquidity callbacks, so adding and removing liquidity works normally.
- Swap behaviour
- Before each swap the hook can adjust the swap amounts and take tokens from the swap, which acts like a fee or a partial fill of the trade. The exact amount taken cannot be confirmed from bytecode alone.
- Liquidity behaviour
- No liquidity callbacks; LPs can add and withdraw freely.
- Fee behaviour
- May take an unknown share of swap input through the before-swap delta and a take call. The rate and the recipient cannot be determined from the bytecode. No admin function to change fees was found.
- Owner & admin controls
- No admin controls found among the dispatched functions. The only other entry point is a read-only view.
Enabled Uniswap v4 callbacks
beforeSwap, beforeSwapReturnDelta
beforeSwap: runs custom logic and records swap data before each trade; beforeSwapReturnDelta: lets the hook change swap amounts and take tokens from the trade.
Security & trust assessment
Risk level: medium, estimated (decoded bytecode, low confidence).
Who controls it: No owner or admin functions were found. Behaviour is fixed, but its exact logic is unverified.
Risk to user funds: Traders' swap amounts can be reduced by an unverified amount on each swap. LP principal cannot be locked or taken by this hook.
Security findings
- [medium] Unverified hook can take swap tokens: The hook uses a before-swap return delta and the PoolManager take function, so it can remove tokens from trades. The amount and the recipient cannot be verified without source code.
- [info] LP withdrawals unrestricted: Remove-liquidity callbacks are disabled in the hook address, so the hook can never block or charge LP withdrawals.
- [low] Unknown external call: The bytecode references an unidentified external function (vent), whose purpose cannot be confirmed.
Contract details
- Verified source
- No
- Bytecode size
- 1,176 bytes
- Upgradeable proxy
- No
- Detected patterns
- moves-currency, return-delta
Pools using Likely custom pricing hook
- ETH / EGGS (0.30% fee) — 24h volume $0, TVL $0, 0 swaps today