Likely custom pricing hook on Base

Uniswap v4 Hook Contract 0x74a7d42700fde5de94d0377858c6e9a8c39ac088 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 can adjust and take part of every swap's amount by an unknown rule, while leaving LP deposits and withdrawals unaffected.

How it works step by step

  • Runs custom logic before every swap in pools that use it.
  • Can change swap amounts through a before-swap return delta and pulls tokens out of the PoolManager with take.
  • Keeps a small set of counters in storage (for example timestamps or running totals) that update on each swap.
  • Has no owner or admin functions; the only external entry point is the swap callback.
  • Never runs on liquidity changes, so LPs add and withdraw normally.
Swap behaviour
Before each swap the hook can take part of the swap amount (or substitute its own pricing) via a return delta and withdraw tokens from the PoolManager. The exact amount or formula cannot be confirmed from bytecode, and it may depend on stored counters updated during the swap.
Liquidity behaviour
No liquidity callbacks; LPs can add and withdraw freely.
Fee behaviour
Possibly charges a hook fee by taking tokens from the swap, but the percentage and recipient cannot be determined from the bytecode. No admin function exists to change it.
Owner & admin controls
No admin controls found.

Enabled Uniswap v4 callbacks

beforeSwap, beforeSwapReturnDelta

beforeSwap: runs custom logic and updates stored counters on each swap; beforeSwapReturnDelta: lets the hook adjust swap amounts and take tokens from the swap.

Security & trust assessment

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

Who controls it: No privileged keys or admin functions were found; behaviour is fixed in the deployed code.

Risk to user funds: The hook can take tokens from swappers' trades through the return delta, with an unknown amount. LP principal cannot be locked or drained by the hook.

Security findings

  • [medium] Unverified swap-amount modification: The hook can alter swap amounts and take tokens through a before-swap return delta, but its fee or deduction size cannot be verified without source.
  • [info] No admin functions: Only the swap callback is exposed, so no owner can change parameters or pause the hook.
  • [info] LP withdrawals unrestricted: Remove-liquidity callbacks are disabled, so LPs can always withdraw.

Contract details

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

Pools using Likely custom pricing hook