Hook 0x1f35…c088 on Ethereum

Uniswap v4 Hook Contract 0x1f35c6d44ed15ef6dfdc24f5f584cd555ed2c088 on Ethereum · Other

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 Uniswap v4 hook that runs custom logic before swaps and uses a return delta to adjust swap amounts, but its exact purpose cannot be determined without verified source.

How it works step by step

  • Runs custom logic in beforeSwap (selector 0x575e24b4) on every swap in its pool
  • Reads packed uint64 parameters from storage slot 0 during swaps
  • Returns a delta from beforeSwap that can alter the amounts settled with the swapper
  • Keeps a uint256 value in storage slot 1 that it reads and updates during swaps
  • Exposes an unnamed view function (0xc49693e7) that reads the same stored state
Swap behaviour
beforeSwap is invoked on every swap and can return a delta that changes the amounts settled with the swapper.
Liquidity behaviour
No liquidity callbacks.
Fee behaviour
Fee handling cannot be determined from decoded selectors alone; the hook may adjust amounts through its beforeSwap return delta, which is a custom-accounting mechanism.
Owner & admin controls
No admin controls found.

Enabled Uniswap v4 callbacks

beforeSwap, beforeSwapReturnDelta

beforeSwap: runs before each swap and is the entry point that reads pool state and parameters (0x575e24b4) and can return a delta to alter swap amounts. beforeSwapReturnDelta: allows beforeSwap to return a delta that changes how much the swapper pays or receives, so the hook can take over part of swap accounting.

Security & trust assessment

Risk level: unknown (decoded bytecode, low confidence).

Who controls it: No owner or privileged function was identified in the decoded selectors, so no privileged key was found; this cannot be fully confirmed without source.

Risk to user funds: Because beforeSwapReturnDelta is enabled, the hook can in principle take or supply tokens during swaps, so it may affect the amounts users receive or pay. The precise effect cannot be determined from the decoded bytecode.

Security findings

  • [medium] Return delta enables custom swap accounting: beforeSwapReturnDelta is enabled, so the hook can alter swap amounts and take or supply tokens during a swap; the exact logic cannot be verified without source.
  • [low] Unnamed state-writing function: Storage slot 0 is written by beforeSwap and by selector 0xeac7f780, which is an unnamed nonpayable function that takes two uint256 arguments and may update packed state (uint64 fields) used during swaps.
  • [info] Source not verified: No verified source is available, so the bytecode-level behaviour of the return delta and the purpose of the unnamed function could not be confirmed.

Contract details

Verified source
No
Bytecode size
1,872 bytes
Upgradeable proxy
No
Detected patterns
return-delta

Pools using Hook 0x1f35…c088