Likely custom pricing hook on Base

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

This hook intercepts every swap in its pool and can settle part of the trade itself via a return delta, but without source its exact effect on traders and LPs, including which trades pay more or less, cannot be determined.

How it works step by step

  • Implements beforeSwap with a return delta, so it can take over part of a swap's amount specified and settle it itself instead of letting the pool do the full swap.
  • Writes to storage slots 0, 1 and 2 during beforeSwap, indicating it records swap-related state on every swap.
  • Exposes a view function 0x79cdb0e2 that reads slots 0 and 1, likely returning stored state to callers.
  • Source is unavailable, so the exact pricing or routing logic is not determinable from the decoded bytecode.
Swap behaviour
beforeSwap is called on every swap, updates storage slots 0 to 2, and can return a delta that alters the swap amounts, so trades routed through this hook may be filled partly or fully by the hook rather than the pool.
Liquidity behaviour
No liquidity callbacks.
Fee behaviour
Uses the pool's static fee.
Owner & admin controls
No admin controls found.

Enabled Uniswap v4 callbacks

beforeSwap, beforeSwapReturnDelta

beforeSwap is enabled to run custom logic before each swap, and beforeSwapReturnDelta is enabled so the hook can return a delta that changes the swap's settled amounts.

Security & trust assessment

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

Who controls it: No owner or admin functions were identified in the decoded selectors, so the visible privileged surface appears limited; this cannot be fully confirmed without source.

Risk to user funds: The hook can change swap settlement through its return delta, so it can affect how much a trader receives or pays on swaps in this pool, but the exact magnitude cannot be determined from the bytecode.

Security findings

  • [high] Return delta can alter swap settlement: beforeSwapReturnDelta lets the hook change the amounts a swap settles, so it can absorb or redirect part of a trade's value; without source it cannot be confirmed that this is bounded or fair to the trader.
  • [medium] Unverified source: No verified source exists, so the logic governing the return delta and the storage writes cannot be audited from the bytecode alone.
  • [info] Writes state on every swap: beforeSwap writes to storage slots 0, 1 and 2 on each call, meaning per-swap state is maintained by the hook.

Contract details

Verified source
No
Bytecode size
1,970 bytes
Upgradeable proxy
No
Detected patterns
return-delta

Pools using Likely custom pricing hook