Likely custom pricing hook on BNB Chain
Uniswap v4 Hook Contract 0x9f240473d06ddcf7e27a47e2944cdf2947acc088 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
A small, non-upgradeable hook that runs before every swap and tracks swap data, with permission to adjust swap amounts (any fee effect is unconfirmed), while LPs can always add and withdraw liquidity freely.
How it works step by step
- Runs custom logic before every swap in pools that use it.
- Has permission to change swap amounts before the swap executes (before-swap return delta).
- Records swap-related data in storage on each swap, readable through two view functions.
- Has no liquidity callbacks, so LPs add and remove liquidity normally.
- Swap behaviour
- Before each swap the hook runs and updates internal counters. It is allowed to alter the swap amounts via a return delta, but the bytecode alone does not show whether it actually takes or changes any tokens.
- Liquidity behaviour
- No liquidity callbacks; LPs can add and withdraw freely.
- Fee behaviour
- No explicit fee logic can be confirmed from the bytecode. It appears to use the pool's static fee, but the enabled return-delta permission means a hook-level adjustment cannot be fully ruled out.
- Owner & admin controls
- No admin or owner functions were found. The only external functions are the swap callback and two read-only views.
Enabled Uniswap v4 callbacks
beforeSwap, beforeSwapReturnDelta
beforeSwap: runs custom logic and records data before each swap; beforeSwapReturnDelta: lets the hook modify the swap's input or output amounts.
Security & trust assessment
Risk level: medium, estimated (decoded bytecode, low confidence).
Who controls it: No privileged roles or admin setters were detected. The contract is not a proxy, so its behaviour cannot be upgraded.
Risk to user funds: Swap amounts could be modified through the before-swap delta, and the size of any change is unknown from the bytecode. LP principal cannot be locked or drained by this hook.
Security findings
- [low] Unverified hook with swap return delta: The source is not verified, and the hook can change swap amounts before execution. The bytecode is small and has no owner functions, but the exact effect on swaps cannot be confirmed.
- [info] LP withdrawals unrestricted: The remove-liquidity callbacks are disabled in the hook address, so the hook can never block or charge LP withdrawals.
Contract details
- Verified source
- No
- Bytecode size
- 1,698 bytes
- Upgradeable proxy
- No
- Detected patterns
- return-delta
Pools using Likely custom pricing hook
- BNB / CHAKRAM (0.30% fee) — 24h volume $0, TVL $0, 0 swaps today