Launchpad hook on Ethereum

Uniswap v4 Hook Contract 0x2c6626bc635042eb7b7c69b1a4220a906a65a0cc on Ethereum · Launchpad

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

What it does

A launchpad hook that charges every swap a fixed 0.30% platform fee plus an immutable creator fee of up to 10% (buy and sell rates may differ) in the quote token, with no admin controls and free LP withdrawals.

This read was written for the hook 0x1acf…60cc on Ethereum and reused here: the two share a code shape, so constants such as fees, owners and addresses can differ.

How it works step by step

  • Launchpad hook for a single token/quote pool: only the designated initializer can create the pool, at a fixed starting price.
  • Charges every swap a fixed 0.30% platform fee plus a creator fee (0% to 10%, set once at deployment, can differ for buys and sells), all taken in the quote token.
  • Fees are held as claims in a separate ledger contract; the platform address and creator can withdraw their accrued shares, and plug-in modules can receive a preset share of creator fees.
  • Pool LP fee is 0%, so fees go to platform and creator rather than LPs.
  • Optional plug-in modules, fixed at deployment, run during swaps and can block a swap if they fail.
Swap behaviour
Each swap pays a quote-token fee of 0.30% platform plus the immutable creator buy or sell rate (up to 10%), taken from the quote input on buys or the quote output on sells; partial fills are rejected. Modules fixed at deployment are called before and after swaps and can revert the swap.
Liquidity behaviour
No liquidity callbacks; LPs can add and withdraw freely.
Fee behaviour
Total swap fee is 0.30% platform plus a creator fee of 0% to 10% (in whole percent steps), so 0.30% to 10.30%, fixed forever at deployment and possibly different for buys versus sells. Platform share goes to a hard-coded platform address; creator share goes to the creator, optionally split with modules.
Owner & admin controls
No admin controls found; fee rates, recipients, and modules are immutable after deployment.

Enabled Uniswap v4 callbacks

beforeInitialize, beforeSwap, afterSwap, beforeSwapReturnDelta, afterSwapReturnDelta

beforeInitialize: only allows the designated initializer to create this exact pool at the set price; beforeSwap: computes fee and takes it from quote input on exact-input buys or exact-output sells, runs modules; afterSwap: verifies full fill, takes fee from quote output in other cases, credits fees to the ledger, runs modules; return deltas: used to collect the quote-token fee.

Security & trust assessment

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

Who controls it: No owner keys; the creator and a hard-coded platform address can only claim their accrued fees from the ledger.

Risk to user funds: The hook takes 0.30% to 10.30% of each swap in the quote token as fees; it cannot touch LP principal and withdrawals are unrestricted.

Security findings

  • [info] Immutable capped fees: Creator fee is fixed at deployment at most 10% per side, plus a fixed 0.30% platform fee; no one can change it later.
  • [low] Deployment-time modules can block swaps: Plug-in modules chosen at launch run on every swap and a failing module reverts the swap; their code is pinned by hash and cannot be replaced.
  • [info] LP withdrawals unrestricted: Remove-liquidity callbacks are disabled, so LPs can always withdraw.

Contract details

Verified source
No
Bytecode size
10,028 bytes
Upgradeable proxy
No
Detected patterns
return-delta

Pools using Launchpad hook