Likely custom pricing hook on Base

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

A small, admin-free hook that appears to take a fixed extra fee from every swap before it executes, while LPs can deposit and withdraw freely.

How it works step by step

  • Runs before every swap in pools that use it.
  • Appears to take a cut of the swap's input tokens using PoolManager.take, sending it out of the pool accounting.
  • Reads a fixed fee-like setting (a small number stored once, with no function found to change it) to size that cut.
  • Keeps running counters (likely total fees taken or swap count) that anyone can read.
  • Has no admin functions and no liquidity callbacks.
Swap behaviour
Before each swap the hook likely deducts a portion of the swap amount through a return delta and withdraws it from the PoolManager, so traders receive slightly less. The exact percentage and recipient cannot be confirmed from bytecode.
Liquidity behaviour
No liquidity callbacks; LPs can add and withdraw freely.
Fee behaviour
Appears to charge an extra per-swap fee sized by a stored 16-bit value that cannot be changed after deployment. If it is in basis points, the maximum would be about 6.55%. Recipient and exact rate are unverified.
Owner & admin controls
No admin controls found; no functions write the fee setting after deployment.

Enabled Uniswap v4 callbacks

beforeSwap, beforeSwapReturnDelta

beforeSwap: runs fee logic and updates counters before each swap; beforeSwapReturnDelta: lets the hook take part of the swap amount.

Security & trust assessment

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

Who controls it: No owner or admin functions were found; the fee setting appears fixed at deployment.

Risk to user funds: Only traders' swap amounts are exposed, by a fixed deduction whose exact size is unverified. LP principal cannot be locked or drained by this hook.

Security findings

  • [low] Unverified swap deduction: The hook can take tokens from swaps via a return delta and take(). The rate comes from a fixed 16-bit stored value, but its unit and recipient cannot be verified without source.
  • [info] LP withdrawals unrestricted: Remove-liquidity callbacks are disabled, so the hook can never block or charge LP withdrawals.
  • [info] No upgrade or admin path: Direct contract with no setter functions, so the fee logic appears fixed.

Contract details

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

Pools using Likely custom pricing hook