Likely custom pricing hook on Ethereum

Uniswap v4 Hook Contract 0x80b1057e2c86b4999ac9114794ec14815fd78088 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

An unverified swap hook that can adjust what traders pay or receive on every swap using admin-settable parameters, while LPs can always add and withdraw liquidity freely.

How it works step by step

  • Runs custom logic before every swap and can change the swap amounts through a return delta.
  • Stores an address (likely an owner, recipient or target) that can be changed through a setter function.
  • Stores two numeric settings (set together by one function) that are read during swaps, possibly limits, rates or fee parameters.
  • Tracks running counters during swaps (for example cumulative volume or a last-update time) and exposes them through a view function.
  • Does not touch adding or removing liquidity.
Swap behaviour
Before each swap the hook reads its stored settings, updates internal counters, and may adjust the swap's input or output amounts via a before-swap return delta. The exact rule cannot be confirmed from bytecode. It may also be able to block a swap.
Liquidity behaviour
No liquidity callbacks; LPs can add and withdraw freely.
Fee behaviour
Unknown from bytecode. The hook can alter swap amounts, which could act as a fee or a custom pricing adjustment, but no fee percentage or cap could be verified.
Owner & admin controls
One function sets a stored address and another sets two numeric parameters used in swaps. Who can call them and any caps on the values could not be confirmed from bytecode.

Enabled Uniswap v4 callbacks

beforeSwap, beforeSwapReturnDelta

beforeSwap: runs the hook's checks and counter updates before each swap; beforeSwapReturnDelta: lets the hook change how much of each token the swapper pays or receives.

Security & trust assessment

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

Who controls it: A stored address and two parameters can be updated, likely by a privileged account, which could change how swaps are adjusted. The contract is not a proxy, so its code cannot be upgraded.

Risk to user funds: Swappers' input or output amounts can be altered by an unverified, possibly admin-tunable amount. LP principal cannot be locked or taken by this hook.

Security findings

  • [medium] Swap amounts can be modified: The before-swap return delta is enabled, so the hook can change what swappers pay or receive. The bound on this adjustment cannot be verified from unverified bytecode.
  • [low] Adjustable swap parameters: Two numeric settings and one address read during swaps can be updated through setter functions. Their access control and caps are unknown.
  • [info] LP withdrawals unaffected: Remove-liquidity callbacks and liquidity return deltas are disabled, so the hook can never block or charge LP withdrawals.

Contract details

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

Pools using Likely custom pricing hook