Likely custom pricing hook on Base

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

An immutable, unverified hook that can take an unknown amount from swaps before they execute and record it per address, while leaving LP deposits and withdrawals untouched.

How it works step by step

  • Runs before every swap and can change the swap amounts using a before-swap return delta.
  • Calls the PoolManager to take tokens out during the swap, most likely a fee or skim that is credited per address.
  • Tracks running totals and a per-address balance in storage that anyone can read through one view function.
  • Has no liquidity callbacks, so adding and removing liquidity works normally.
Swap behaviour
Before each swap the hook can take part of the swap amount from the PoolManager and adjust what the trader pays or receives through a return delta. The exact amount or rate cannot be confirmed from bytecode.
Liquidity behaviour
No liquidity callbacks; LPs can add and withdraw freely.
Fee behaviour
Likely charges a hook-level fee or skim on swaps, recorded per address. The percentage and recipient cannot be determined from bytecode, and no fee-setting admin function was found.
Owner & admin controls
No admin controls found; the only other function is a read-only view.

Enabled Uniswap v4 callbacks

beforeSwap, beforeSwapReturnDelta

beforeSwap: runs custom logic and records accounting before each swap; beforeSwapReturnDelta: lets the hook change swap amounts and take tokens from the swap.

Security & trust assessment

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

Who controls it: No owner or admin functions were found, and the contract is not upgradeable.

Risk to user funds: The hook can take part of a trader's swap amounts through return deltas, at an unknown rate. LP principal cannot be locked or drained by this hook.

Security findings

  • [medium] Unverified swap deduction: The hook can take tokens from swaps through a return delta, but without source the size of the deduction and its bounds cannot be verified.
  • [info] LP withdrawals unrestricted: Remove-liquidity callbacks are disabled, so the hook can never block or charge LP withdrawals.
  • [info] No admin functions: Only a view function and beforeSwap are exposed. The contract is not a proxy, so its logic cannot be changed.

Contract details

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

Pools using Likely custom pricing hook