Likely custom pricing hook on Base

Uniswap v4 Hook Contract 0xbbe24895b94eeb1faf08a9bda4d9f05566e14c8a on Base · Fee sharing

Volume (24h)
$0
Value locked (TVL)
$7.54K
All-time volume
$6.26
Pools using this hook
1
Swaps (24h)
14 (1 traders)
Total swaps
68

What it does

A Uniswap v4 hook on BSC that runs custom logic around swaps and liquidity changes, likely adjusting settlement amounts and donating or claiming tokens on the pool manager, but its exact purpose cannot be confirmed without verified source.

This read was written for the hook 0x88f8…0c8a on BNB Chain and reused here: the two share a code shape, so constants such as fees, owners and addresses can differ.

How it works step by step

  • Runs a check or custom logic before liquidity is added to a pool
  • Runs custom logic after liquidity is added and can adjust the resulting balance deltas
  • Runs custom logic before each swap and can adjust the swap amounts it settles
  • Calls the pool manager to mint ERC-6909 claim tokens
  • Calls donate on the pool manager, indicating it can inject fees into pool liquidity
Swap behaviour
Runs beforeSwap and afterSwap-related logic (beforeSwap confirmed in dispatch, afterSwap selector present) and can modify swap deltas through beforeSwapReturnDelta.
Liquidity behaviour
Runs logic before and after liquidity additions and before removals; it may mint ERC-6909 claims and call donate on the pool manager, but exact behaviour cannot be confirmed without source.
Fee behaviour
Not determinable from decoded bytecode; the hook declares return-delta permissions, so it may take or redirect a portion of swap or liquidity amounts, but the fee logic cannot be confirmed.
Owner & admin controls
No admin controls found. No owner, pause or upgrade selectors were identified in the dispatch table.

Enabled Uniswap v4 callbacks

beforeAddLiquidity, afterAddLiquidity, beforeSwap, beforeSwapReturnDelta, afterAddLiquidityReturnDelta

beforeAddLiquidity: runs checks or logic before liquidity is added. afterAddLiquidity: runs logic after liquidity is added and can adjust the caller's balance deltas via afterAddLiquidityReturnDelta. beforeSwap: runs logic before each swap and can adjust swap amounts via beforeSwapReturnDelta.

Security & trust assessment

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

Who controls it: No privileged roles were identified, so the centralization risk cannot be assessed beyond the absence of visible admin functions.

Risk to user funds: The hook can take or redirect swap and liquidity amounts via return deltas and can mint or donate pool balances through the pool manager, so it can affect how user and LP funds are settled, though no direct withdrawal path was identified.

Security findings

  • [medium] Return-delta permissions can redirect funds: The hook declares beforeSwapReturnDelta and afterAddLiquidityReturnDelta, so it can alter the amounts settled with the pool manager, which can shift value from users or LPs.
  • [info] Calls into the pool manager for claims and donations: Selectors for mint, donate and extsload appear in the bytecode, indicating the hook calls the pool manager to mint ERC-6909 claims and donate fees to LPs.
  • [info] Source not verified: No owner, pause or upgrade functions were detected, but the bytecode is not verified so this cannot be confirmed.

Contract details

Verified source
No
Bytecode size
5,700 bytes
Upgradeable proxy
No
Detected patterns
donates, erc6909-claims, return-delta

Pools using Likely custom pricing hook