Likely custom pricing hook on Base

Uniswap v4 Hook Contract 0xdf30180eb4f29fa19b6eb7279f2e754055218088 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 unverified, admin-free hook that runs before each swap and can take an unknown share of the trade amount, while LPs can still add and withdraw liquidity freely.

How it works step by step

  • Runs a check before every swap in pools that use it.
  • Can change swap amounts through a return delta, for example by taking part of the swap input.
  • Calls the PoolManager to withdraw tokens during swaps, which suggests it collects a cut or redirects part of the trade.
  • Keeps two simple counters in storage, updated on each swap and readable through one view function.
  • Does not touch liquidity adds or withdrawals.
Swap behaviour
Before each swap the hook runs and can adjust the amounts traded through a return delta. It also pulls tokens out of the PoolManager, so a trader may get less than a plain pool would give, by an amount that cannot be confirmed from bytecode.
Liquidity behaviour
No liquidity callbacks; LPs can add and withdraw freely.
Fee behaviour
The hook appears to take tokens from swaps on top of the pool's fee, but the exact percentage and the recipient cannot be determined from the unverified bytecode.
Owner & admin controls
No admin or owner functions were found. Only the swap callback and one read-only function are exposed.

Enabled Uniswap v4 callbacks

beforeSwap, beforeSwapReturnDelta

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

Security & trust assessment

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

Who controls it: No privileged keys were found and the contract is not a proxy. Its behaviour appears fixed at deployment.

Risk to user funds: The hook can take tokens from swap amounts during swaps, and the maximum deduction is unknown from bytecode alone. LP principal cannot be locked or drained, because liquidity callbacks are disabled.

Security findings

  • [medium] Unverified swap delta with token withdrawal: The hook can change swap amounts and withdraw tokens from the PoolManager during swaps. With no verified source, the size of the cut and who receives it cannot be confirmed.
  • [info] No admin functions: No owner or setter functions were found, so the behaviour appears fixed and not configurable.
  • [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,728 bytes
Upgradeable proxy
No
Detected patterns
moves-currency, return-delta

Pools using Likely custom pricing hook