Likely custom pricing hook on BNB Chain
Uniswap v4 Hook Contract 0x409b68a63f91e256eb9c3b84e606dc4bdb5d0088 on BNB 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 immutable, unverified hook that runs before each swap, records swap-related state, and may adjust swap amounts by an unconfirmed amount, while LPs keep full freedom to add and withdraw liquidity.
How it works step by step
- Runs custom logic before every swap in pools that use it.
- Has permission to change swap amounts through a before-swap return delta, so it could alter what traders pay or receive.
- Keeps four storage values that are updated on each swap and can be read through public view functions, possibly counters or running totals.
- Has no liquidity callbacks, so LPs add and withdraw freely.
- Swap behaviour
- Before each swap the hook runs and updates its stored values, and it may adjust swap amounts via a return delta. The exact adjustment cannot be confirmed from bytecode, and no external token calls were detected.
- Liquidity behaviour
- No liquidity callbacks; LPs can add and withdraw freely.
- Fee behaviour
- No explicit fee logic could be confirmed from bytecode; the pool's static fee likely applies, though the swap delta permission could alter amounts by an unknown amount.
- Owner & admin controls
- No admin controls found; no owner or setter functions appear among the dispatched functions.
Enabled Uniswap v4 callbacks
beforeSwap, beforeSwapReturnDelta
beforeSwap: runs custom logic and updates stored state before each swap; beforeSwapReturnDelta: lets the hook change the swap's input or output amounts.
Security & trust assessment
Risk level: medium, estimated (decoded bytecode, low confidence).
Who controls it: No privileged keys were found and the contract is not upgradeable. Its behaviour is fixed at deployment.
Risk to user funds: The hook can only affect swap amounts through its before-swap delta, with an unknown size. It cannot touch LP principal, and LPs can always withdraw.
Security findings
- [low] Unverified swap delta: The hook can modify swap amounts via a before-swap return delta, but without source the size or direction of any adjustment cannot be verified.
- [info] No admin functions: Only beforeSwap and three view functions are exposed, and the contract is not a proxy, so its behaviour cannot be changed later.
- [info] LP withdrawals unrestricted: Remove-liquidity callbacks are disabled, so the hook can never block or charge LP withdrawals.
Contract details
- Verified source
- No
- Bytecode size
- 2,235 bytes
- Upgradeable proxy
- No
- Detected patterns
- return-delta
Pools using Likely custom pricing hook
- BNB / DOTAI (1.00% fee) — 24h volume $0, TVL $0, 0 swaps today