Likely custom pricing hook on Base

Uniswap v4 Hook Contract 0xd192eac9c2292cc92c4e2649353fd5c59c070088 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 hook that can take tokens from every swap using two adjustable settings with no confirmed cap, while LPs can still add and withdraw liquidity freely.

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 can pull tokens out of the PoolManager using take.
  • Keeps two configurable numbers that a setter function can update, plus two counters updated on each swap.
  • Has no liquidity callbacks, so adding and removing liquidity work normally.
Swap behaviour
Before each swap the hook runs and may take tokens from the PoolManager and adjust the swap amount through a return delta. The exact amount taken or adjusted, and where those tokens go, cannot be confirmed from bytecode alone.
Liquidity behaviour
No liquidity callbacks; LPs can add and withdraw freely.
Fee behaviour
The hook can take part of a swap amount using two stored parameters, but the exact percentage, any cap, and the recipient cannot be determined from bytecode.
Owner & admin controls
A setter function updates two stored parameters that likely control the swap deduction. No access check was decoded, so it is unclear who can call it, and no cap was found.

Enabled Uniswap v4 callbacks

beforeSwap, beforeSwapReturnDelta

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

Security & trust assessment

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

Who controls it: Whoever can call the parameter setter, which may be restricted or open to anyone, can change how the hook adjusts swaps. Their reach is limited to swap amounts.

Risk to user funds: Traders' swap amounts can be reduced by an amount that cannot be confirmed from bytecode. LP principal cannot be locked or drained by this hook.

Security findings

  • [medium] Unverified swap deduction: The hook can change swap amounts and take tokens before each swap, but the size of the deduction and its upper limit cannot be checked without source code.
  • [medium] Parameter setter with unclear access: A two-number setter changes values that are read during swaps. Bytecode does not show who may call it or any maximum value.
  • [info] LP withdrawals unaffected: Remove-liquidity callbacks are disabled, so the hook can never block or charge LP withdrawals.

Contract details

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

Pools using Likely custom pricing hook