Likely custom pricing hook on Ethereum

Uniswap v4 Hook Contract 0x54c2bb483a3b65c9c6db4de5de53e59a7f660088 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, immutable, unverified hook that runs before every swap and can take an unknown share of trades through a swap delta, while LPs can still add and withdraw liquidity freely.

How it works step by step

  • Runs a check before every swap in pools that use it.
  • Can change the swap amounts through a before-swap delta and pull tokens out of the PoolManager using take.
  • Keeps two counters in storage that update on each swap, readable through one public view function.
  • Has no visible owner or admin functions, so behaviour looks fixed.
Swap behaviour
Before each swap the hook can adjust the swap amounts and take tokens from the PoolManager, which likely means it skims a fee or part of the input. The exact amount and the recipient cannot be confirmed from bytecode alone.
Liquidity behaviour
No liquidity callbacks; LPs can add and withdraw freely.
Fee behaviour
Any deduction is taken from swaps through the before-swap delta. The percentage and the recipient are unknown because the source is not verified, and no admin-set fee storage is visible.
Owner & admin controls
No admin controls found in the decoded functions.

Enabled Uniswap v4 callbacks

beforeSwap, beforeSwapReturnDelta

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

Security & trust assessment

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

Who controls it: No privileged roles appear in the decoded bytecode, so nobody seems able to change the hook's behaviour after deployment.

Risk to user funds: The hook can take part of a trader's swap amounts, with an unknown size because the source is unverified. It cannot touch LP principal or block LP withdrawals.

Security findings

  • [medium] Unverified swap-amount modification: The hook can change swap amounts and take tokens in the swap path. Without verified source, the size of any deduction and who receives it cannot be confirmed.
  • [info] LP withdrawals unrestricted: Remove-liquidity callbacks are disabled in the hook address, so the hook can never block or charge LP withdrawals.
  • [info] Not upgradeable: This is a small direct contract with no proxy logic and no visible owner functions.

Contract details

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

Pools using Likely custom pricing hook