Launchpad hook on Ethereum

Uniswap v4 Hook Contract 0x27b1c29cbc86398b9f2bdb7401bbd0798b1a68cc on Ethereum · Launchpad

Volume (24h)
$125
Value locked (TVL)
$1.98K
All-time volume
$989.15K
Pools using this hook
52
Swaps (24h)
7 (6 traders)
Total swaps
4,616

What it does

A launchpad hook that charges a per-pool swap fee on every trade and splits it between the token creator, protocol treasury, and holders, while leaving LP withdrawals unrestricted.

How it works step by step

  • Acts as the pool hook for tokens launched through a linked launchpad contract; only the launchpad can set up pools.
  • Charges a swap fee (current rate readable per pool) on trades and splits it between the token creator, the protocol treasury, and token holders via a reward contract.
  • Lets creators and the protocol collect their accrued fees, and pushes holder fees to a reward distributor.
  • Supports a launch buy function that performs an initial purchase through the pool, with a price and max-price view per launch.
  • Restricts adding liquidity, likely so only the launchpad seeds pool liquidity; withdrawals are never touched by the hook.
Swap behaviour
On each swap the hook can take a fee from the swap amounts using return deltas and record it for the creator, protocol, and holders; the exact fee rate and any launch-phase limits cannot be confirmed from bytecode.
Liquidity behaviour
Adding liquidity passes through a check that appears to restrict who can add (likely the launchpad only). Remove-liquidity callbacks are disabled, so the hook cannot block or charge LP withdrawals.
Fee behaviour
A per-pool fee rate (in basis points, readable via a current-fee view) is deducted from swaps and split among the creator, the protocol treasury, and holder rewards; the exact percentages and maximum are not verifiable from bytecode.
Owner & admin controls
No explicit owner setters were found; the linked launchpad controls pool creation and fee recipients, and the treasury address comes from it. Fee caps cannot be confirmed from bytecode.

Enabled Uniswap v4 callbacks

beforeInitialize, beforeAddLiquidity, beforeSwap, afterSwap, beforeSwapReturnDelta, afterSwapReturnDelta

beforeInitialize: only allows launchpad-created pools; beforeAddLiquidity: gates liquidity additions; beforeSwap: applies fee or launch rules before the trade; afterSwap: accounts fees after the trade; beforeSwapReturnDelta and afterSwapReturnDelta: let the hook take its fee directly from swap amounts.

Security & trust assessment

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

Who controls it: The launchpad contract and its treasury/fee-recipient settings determine who receives fees; no direct owner pause or drain function is visible in the decoded selectors.

Risk to user funds: The hook can take a fee portion of each swap; the exact range is unknown from bytecode. LP principal cannot be locked by this hook since withdrawals bypass it.

Security findings

  • [medium] Unverified fee-taking hook: The hook deducts swap fees via return deltas, but without source the maximum fee rate cannot be verified.
  • [low] Liquidity additions gated: Adding liquidity appears restricted, likely to the launchpad, so outside LPs may not be able to provide liquidity.
  • [info] LP withdrawals unrestricted: Remove-liquidity callbacks are disabled, so the hook cannot block or tax withdrawals.

Contract details

Verified source
No
Bytecode size
19,452 bytes
Upgradeable proxy
No
Detected patterns
erc20, erc6909-claims, fee-sharing, launchpad, moves-currency, return-delta, rewards, self-unlock

Pools using Launchpad hook