Likely custom pricing hook on Base
Uniswap v4 Hook Contract 0xf43600a8cd6b70ef408259d8e86f250a5f3a8088 on Base · 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
This unverified hook runs before every swap and can adjust swap amounts using a configurable stored value, with no confirmed fee rate, while LPs can always add and withdraw liquidity freely.
How it works step by step
- Runs a check before every swap in pools that use it.
- Can change swap amounts before the swap reaches the pool, using the before-swap return delta permission.
- Keeps a stored amount (set through a separate function) and a counter or timestamp that updates on each swap.
- Exposes a read-only function that reports its stored values.
- Never runs on liquidity adds or withdrawals.
- Swap behaviour
- Before each swap the hook reads a stored value and updates a small counter or timestamp. Because before-swap return delta is enabled, it may adjust or take part of the swap amount, but the exact rule cannot be confirmed from bytecode.
- Liquidity behaviour
- No liquidity callbacks; LPs can add and withdraw freely.
- Fee behaviour
- No explicit fee rate could be identified. The hook may change swap amounts through its return delta, so any deduction is unknown from bytecode alone.
- Owner & admin controls
- A two-argument function writes the main stored value, likely a limit or amount. No caller restriction or upper bound could be confirmed from bytecode.
Enabled Uniswap v4 callbacks
beforeSwap, beforeSwapReturnDelta
beforeSwap: runs custom logic and updates state before each swap; beforeSwapReturnDelta: lets the hook alter the amounts swapped.
Security & trust assessment
Risk level: medium, estimated (decoded bytecode, low confidence).
Who controls it: Some caller, possibly an owner, can update a stored value that affects swaps. Its access control and bounds cannot be determined from bytecode.
Risk to user funds: Swap amounts can be adjusted by the hook during swaps, with an unknown maximum. LP principal cannot be locked or taken by the hook.
Security findings
- [medium] Unverified swap-amount modification: The hook can change swap input or output through a before-swap return delta, and the exact logic and caps are not verifiable without source.
- [low] Configurable stored value: A setter writes a stored amount used during swaps. Who may call it and what limits apply are unknown.
- [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
- 1,846 bytes
- Upgradeable proxy
- No
- Detected patterns
- return-delta
Pools using Likely custom pricing hook
- ETH / GULP (1.00% fee) — 24h volume $0, TVL $0, 0 swaps today