Likely custom pricing hook on BNB Chain

Uniswap v4 Hook Contract 0xbbd88edd7824da37cdb9696b1039b80bdcaa8088 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

This unverified hook runs before every swap and can take or adjust part of each trade at an unknown rate, while LPs can still add and withdraw liquidity freely.

How it works step by step

  • Runs custom logic before every swap on pools that use it.
  • Can change swap amounts through a before-swap return delta and pull tokens out of the PoolManager using take.
  • Keeps internal counters and parameters in storage that are updated during swaps and through several unnamed functions.
  • Has a view function that reports its stored state; the exact purpose is not clear without source code.
Swap behaviour
Before each swap the hook runs, updates internal counters, and can adjust the swap amount and take tokens from the pool manager, for example as a fee or to fill part of the trade itself. The exact amount or rule cannot be confirmed from bytecode alone.
Liquidity behaviour
No liquidity callbacks; LPs can add and withdraw freely.
Fee behaviour
Any fee is charged through the before-swap delta rather than the pool's fee setting. The percentage, cap and recipient cannot be determined from the unverified bytecode.
Owner & admin controls
Three unnamed functions write configuration values, including an address and a numeric parameter. Whether they are owner-restricted, and what limits apply to them, cannot be verified.

Enabled Uniswap v4 callbacks

beforeSwap, beforeSwapReturnDelta

beforeSwap: runs custom checks and accounting before each swap; beforeSwapReturnDelta: lets the hook change the swap amounts and take or supply tokens.

Security & trust assessment

Risk level: medium, estimated (decoded bytecode, low confidence).

Who controls it: A configuring party appears able to set parameters and an address used by the hook. The bounds on these settings are unknown.

Risk to user funds: The hook can take part of a swapper's tokens through the before-swap delta, at an unknown rate. LP principal cannot be locked or charged by the hook.

Security findings

  • [medium] Unverified swap delta logic: The hook can modify swap amounts and take tokens during swaps, but because the source is unverified, the size of any deduction and its cap are unknown.
  • [low] Unnamed setter functions: Several functions change stored parameters and an address. Their access control and limits cannot be confirmed from bytecode.
  • [info] LP withdrawals unaffected: Remove-liquidity callbacks and liquidity deltas are disabled, so LPs can always withdraw.

Contract details

Verified source
No
Bytecode size
1,770 bytes
Upgradeable proxy
No
Detected patterns
moves-currency, return-delta

Pools using Likely custom pricing hook