Likely custom pricing hook on Robinhood Chain
Uniswap v4 Hook Contract 0xfc13d9448f775341a030d9622db5a4dac5124088 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 and can adjust swap amounts and take tokens based on configurable settings of unknown size, while leaving LP deposits and withdrawals untouched.
How it works step by step
- Runs custom logic before every swap and can change the swap amounts through a return delta.
- Can pull tokens out of the pool manager during a swap (uses take), likely as a fee or a custom settlement.
- Keeps a few on/off flags and counters (likely an armed/active switch, a configured amount, and running totals) that change how swaps are handled.
- Exposes a setter that takes a number and a toggle function with no visible access control in the decoded data; who may call them cannot be confirmed.
- Has no liquidity callbacks, so LP deposits and withdrawals are untouched.
- Swap behaviour
- Before each swap the hook checks its stored flags and may modify the swap amounts and take tokens from the pool manager, so traders could receive less or pay more than a plain pool. The exact amount or percentage cannot be determined from bytecode.
- Liquidity behaviour
- No liquidity callbacks; LPs can add and withdraw freely.
- Fee behaviour
- Any deduction is taken via the swap return delta, driven by a stored configurable value; the exact rate, cap and recipient are unknown from bytecode.
- Owner & admin controls
- A function sets a stored number used in swap logic and another toggles a flag; whether these are owner-restricted and any caps on the number are unknown.
Enabled Uniswap v4 callbacks
beforeSwap, beforeSwapReturnDelta
beforeSwap: runs custom checks and logic before each swap; beforeSwapReturnDelta: lets the hook alter swap input/output amounts and take tokens.
Security & trust assessment
Risk level: medium, estimated (decoded bytecode, low confidence).
Who controls it: Some caller can set a stored value and toggle a flag affecting swaps; the controller and limits are unknown from bytecode.
Risk to user funds: The hook can take a portion of trader swap tokens during swaps, with an unknown maximum. LP principal cannot be locked or drained by the hook.
Security findings
- [medium] Unverified swap-amount modification: The hook can change swap amounts and take tokens during swaps, and the size of any deduction depends on a settable value whose cap cannot be verified from bytecode.
- [info] LP withdrawals unrestricted: Remove-liquidity callbacks are disabled by the address bits, so LPs can always withdraw.
Contract details
- Verified source
- No
- Bytecode size
- 1,674 bytes
- Upgradeable proxy
- No
- Detected patterns
- moves-currency, return-delta
Pools using Likely custom pricing hook
- ETH / FIDDLER (1.00% fee) — 24h volume $0, TVL $0, 0 swaps today