Likely custom pricing hook on Robinhood Chain
Uniswap v4 Hook Contract 0x794b7a8538ecba7cbc5ca066301496120e47c088 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 every swap and can take a configurable, uncapped-as-far-as-known cut of swap amounts for a stored recipient, while LPs remain free to add and withdraw liquidity.
How it works step by step
- Runs custom logic before every swap and can change the swap amounts using a return delta.
- Calls the pool manager's take function during swaps, meaning it can pull tokens out of the swap to an address it chooses.
- Stores configurable parameters (two numbers and several addresses/flags) that are set through unnamed functions, likely by a privileged caller.
- Keeps counters or totals updated on each swap (for example volume or amounts taken).
- Does not touch liquidity adds or withdrawals.
- Swap behaviour
- Before each swap the hook reads its stored settings and may take tokens from the swap via a return delta, sending them to a stored recipient address. The exact amount, condition, or cap cannot be confirmed from bytecode alone.
- Liquidity behaviour
- No liquidity callbacks; LPs can add and withdraw freely.
- Fee behaviour
- The hook appears to charge or redirect part of swap amounts based on two stored numeric parameters, but the exact percentage and any maximum cap are unknown from bytecode.
- Owner & admin controls
- Unnamed setter functions can update two numeric parameters and several address and flag settings; who may call them and whether values are capped cannot be verified from bytecode.
Enabled Uniswap v4 callbacks
beforeSwap, beforeSwapReturnDelta
beforeSwap: runs custom checks and accounting before each swap; beforeSwapReturnDelta: lets the hook adjust swap amounts and take tokens from the swap.
Security & trust assessment
Risk level: medium, estimated (decoded bytecode, low confidence).
Who controls it: An unidentified privileged party likely controls the numeric settings and recipient addresses, which can change how much is taken from swaps. They cannot touch LP withdrawals.
Risk to user funds: The hook can take a portion of traders' swap tokens, with an unknown maximum since bytecode shows no verifiable cap. LP principal cannot be locked or drained by this hook.
Security findings
- [medium] Swap amounts can be altered: The hook can modify swap amounts through return deltas and take tokens during swaps; the size of this deduction is set by stored parameters with no verifiable cap.
- [low] Configurable parameters of unknown bounds: Setter functions write fee-like numbers and recipient addresses; access control and limits are not visible without source.
- [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
- 2,392 bytes
- Upgradeable proxy
- No
- Detected patterns
- moves-currency, return-delta
Pools using Likely custom pricing hook
- ETH / ANGLER (1.00% fee) — 24h volume $0, TVL $0, 0 swaps today