Utility hook on Ethereum

Uniswap v4 Hook Contract 0xa7655878613bc316e98d02a67079a0a8c42e4040 on Ethereum · Utility

Volume (24h)
$36
Value locked (TVL)
$0
All-time volume
$36
Pools using this hook
1
Swaps (24h)
2 (2 traders)
Total swaps
2

What it does

A minimal immutable hook that checks each completed swap against an external validator and may revert it, without charging extra fees or affecting LP withdrawals.

How it works step by step

  • Runs a small check after every swap in pools that use it.
  • Appears to pass the swap result (an amount value) to an external validate function, which can reject the swap.
  • Holds no storage, has no owner, and has no admin settings.
  • Does not touch liquidity adds or withdrawals and does not take any fees.
Swap behaviour
After each swap the hook reads the swap result and seems to call an external validate check on it. If that check fails, the whole swap reverts. It does not change swap amounts.
Liquidity behaviour
No liquidity callbacks; LPs can add and withdraw freely.
Fee behaviour
Uses the pool's static fee.
Owner & admin controls
No admin controls found; the contract has no storage and appears immutable.

Enabled Uniswap v4 callbacks

afterSwap

afterSwap: inspects the completed swap's amounts and can revert the swap if an external validation fails.

Security & trust assessment

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

Who controls it: No owner or admin keys were found in this tiny immutable contract. Any control would come from the external validator it calls, which cannot be determined from this bytecode alone.

Risk to user funds: The hook cannot take or redirect user or LP funds and charges no fee. LP principal cannot be locked, because remove-liquidity callbacks are disabled.

Security findings

  • [info] Swaps may be rejected by an external check: The hook appears to call an external validate function after each swap. Depending on that contract's logic, some swaps could revert, but no funds can be taken.
  • [info] No fund access: Return-delta permissions are disabled, so the hook cannot deduct tokens from swaps. It also cannot affect LP withdrawals.

Contract details

Verified source
No
Bytecode size
435 bytes
Upgradeable proxy
No

Pools using Utility hook