Launchpad hook on Ethereum

Uniswap v4 Hook Contract 0xdf81e1b059f43bf8e9d66670a1be1a8245bba0cc on Ethereum · Launchpad

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

What it does

A single-token launch hook that seeds its own pool on opening and takes a fixed but unverified fee from every swap, splitting it between the owner and a pot, while LPs can always withdraw freely.

How it works step by step

  • Launches a single token in one pool: the hook checks pool setup at creation and later seeds liquidity itself via the position manager when open() is called.
  • Takes a fee on swaps through return deltas and records it in internal counters (owner fees, a 'pot', and total fees).
  • The owner can withdraw accrued owner fees, and a sendPot function pays out the accumulated pot to a set 'pocket' address.
  • Swaps may be gated until the pool is marked opened.
Swap behaviour
Before and after each swap the hook can adjust swap amounts and take a fee from the swap, splitting it between an owner balance and a pot. The exact fee rate, and whether swaps are blocked before opening, cannot be confirmed from bytecode alone.
Liquidity behaviour
No liquidity callbacks; LPs can add and withdraw freely. The hook itself adds launch liquidity through the position manager when opened.
Fee behaviour
A fee computed against a fixed fee divisor constant is taken from swaps via return deltas and split between owner fees and a pot sent to a pocket address. The exact percentage is unknown from bytecode.
Owner & admin controls
The owner can withdraw accumulated owner fees and likely triggers open() to start trading. No fee-setting function is visible, so the fee appears fixed by constants.

Enabled Uniswap v4 callbacks

beforeInitialize, beforeSwap, afterSwap, beforeSwapReturnDelta, afterSwapReturnDelta

beforeInitialize validates the pool configuration; beforeSwap may gate trading and adjust input amounts; afterSwap takes fees and updates fee counters; the return-delta flags let the hook deduct its fee from swaps.

Security & trust assessment

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

Who controls it: An owner can withdraw accrued owner fees and likely controls opening the pool. No visible function lets the owner change fee rates or seize pool reserves.

Risk to user funds: The hook can take a fee from swap amounts, with a constant-based rate whose exact value is unknown. LP principal cannot be locked or charged on withdrawal.

Security findings

  • [medium] Swap fee via return deltas, unverified: The hook deducts a fee from swaps using return deltas, but the exact rate cannot be verified without source code.
  • [low] Trading may depend on open(): An opened flag set by open() likely controls when swaps are allowed, so trading may stay blocked until it is called.
  • [info] LP withdrawals unrestricted: Remove-liquidity callbacks are disabled, so the hook cannot block or charge LP withdrawals.

Contract details

Verified source
No
Bytecode size
6,246 bytes
Upgradeable proxy
No
Detected patterns
moves-currency, ownable, return-delta

Pools using Launchpad hook