Likely custom pricing hook on Base

Uniswap v4 Hook Contract 0x49f01c9df86217ce7ff0a474a82764d86285c088 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, non-upgradeable hook that runs before each swap and can adjust swap amounts by an unknown rule, while LPs can add and withdraw liquidity freely.

How it works step by step

  • Runs custom logic before every swap in pools that use it.
  • Has the ability to change swap amounts through a before-swap return delta, for example by taking a cut or handling part of the swap itself.
  • Keeps and updates internal counters or state on each swap. A read-only function exposes some of this state.
  • Has no liquidity callbacks, so LPs add and remove liquidity normally.
Swap behaviour
Before each swap the hook runs and may adjust the amounts the swapper pays or receives using a return delta. The exact rule cannot be confirmed from bytecode. It also updates stored values on every swap.
Liquidity behaviour
No liquidity callbacks; LPs can add and withdraw freely.
Fee behaviour
Any extra fee or amount change applied through the before-swap delta is unknown from bytecode, and no cap could be verified. Otherwise the pool's configured fee applies.
Owner & admin controls
No admin or owner functions were found among the dispatched selectors. The storage values the swap reads appear to be fixed after deployment, since nothing writes to them.

Enabled Uniswap v4 callbacks

beforeSwap, beforeSwapReturnDelta

beforeSwap: runs custom logic and updates state before each swap. beforeSwapReturnDelta: lets the hook change the swap's input or output amounts.

Security & trust assessment

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

Who controls it: No privileged admin functions were detected, and the contract is not upgradeable. Its behaviour is fixed at deployment.

Risk to user funds: The hook can affect the token amounts in swaps routed through its pools, and the maximum deduction cannot be confirmed from bytecode. LP principal cannot be locked or drained through withdrawal callbacks.

Security findings

  • [medium] Swap amounts can be modified: The hook has before-swap return-delta permission, so it can change what swappers pay or receive. The exact amount or cap is not verifiable without source code.
  • [info] LP withdrawals unaffected: Remove-liquidity callbacks are disabled, so the hook can never block or charge LP withdrawals.
  • [info] No admin functions visible: Only beforeSwap and one view function are exposed, and this is not an upgradeable proxy.

Contract details

Verified source
No
Bytecode size
2,155 bytes
Upgradeable proxy
No
Detected patterns
return-delta

Pools using Likely custom pricing hook