Likely custom pricing hook on Ethereum

Uniswap v4 Hook Contract 0x95169c92e327a727e790f1e8b020c536cf088088 on Ethereum · 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, unverified, non-upgradeable hook that runs before each swap and records swap data, with the technical ability to adjust swap amounts but no visible fee or admin logic, and no effect on LP withdrawals.

How it works step by step

  • Runs custom logic before every swap in pools that use it.
  • Can adjust swap amounts through a before-swap return delta, though the exact logic is not visible without source.
  • Keeps a counter and a small timestamp-like or count value in storage, updated on each swap and readable through a view function.
  • Never touches liquidity adds or withdrawals.
Swap behaviour
Before each swap the hook runs and updates two stored values, and it is allowed to change the swap amounts via a return delta. The bytecode is small and shows no external token-moving calls, so it likely only records swap data, but this cannot be confirmed.
Liquidity behaviour
No liquidity callbacks; LPs can add and withdraw freely.
Fee behaviour
No fee logic could be identified in the bytecode. The pool appears to use its static fee, but the return-delta permission means amount changes cannot be fully ruled out.
Owner & admin controls
No admin controls found; there is no owner-style setter among the dispatched functions.

Enabled Uniswap v4 callbacks

beforeSwap, beforeSwapReturnDelta

beforeSwap: runs pre-swap logic and updates stored counters; beforeSwapReturnDelta: lets the hook alter swap input/output amounts.

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: Only swap amounts could be affected via the before-swap delta, and no fee range is visible in the bytecode. LP principal cannot be locked or drained by this hook.

Security findings

  • [medium] Unverified hook with swap return-delta: The hook can change swap amounts before a swap, and without source the exact behaviour cannot be verified. No external calls or admin setters were detected, which limits the likely impact.
  • [info] LP withdrawals unrestricted: Remove-liquidity callbacks are disabled, so the hook can never block or charge LP withdrawals.

Contract details

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

Pools using Likely custom pricing hook