Launchpad hook on BNB Chain

Uniswap v4 Hook Contract 0xf0117680ce319b8af64580002052eca29cc62acc on BNB Chain · Launchpad

Volume (24h)
$0.73
Value locked (TVL)
$2.20K
All-time volume
$87.67K
Pools using this hook
52
Swaps (24h)
4 (3 traders)
Total swaps
3,681

What it does

A launchpad hook that permanently locks single-sided token liquidity and charges every swap a quote-currency fee of up to 10%, with early trades after launch paying a decaying anti-snipe surcharge of up to 99% total, split among creator, platform and referrers.

This read was written for the hook 0x1f91…2acc on Base 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

  • Shared hook for a token launchpad: only the launchpad factory can create pools.
  • Seeds the launch token as single-sided liquidity owned by the hook, permanently locked; no one else can add or remove liquidity.
  • Charges a fee on the quote currency (e.g. ETH) on every buy and sell, split among creator, platform, an optional referrer and fixed recipients via a pull-based fee escrow.
  • Applies an anti-sniping surcharge right after launch that starts as high as 99% and decays linearly to the base fee over a configured window; exact-output swaps are blocked during that window.
  • Supports a one-shot creator launch buy routed through a factory-approved adapter at the base fee only.
Swap behaviour
Every swap pays a fee taken in the quote currency, from the input when quote is spent or from the output when quote is received, at the base fee (up to 10%) plus a decaying anti-snipe surcharge early on (total capped at 99%). Exact-output swaps revert during the anti-snipe window, and partial fills are rejected.
Liquidity behaviour
All third-party liquidity adds and removals revert; the only liquidity is the hook's own permanently locked single-sided token seed, which has no removal path. There are no outside LPs, so no external LP principal is at risk, but the seeded liquidity can never be withdrawn.
Fee behaviour
Base fee is fixed per pool at launch between 0.01% and 10%, plus an anti-snipe surcharge that starts at a per-pool total of up to 99% and decays linearly to the base fee over the anti-snipe window. Fees are credited in a fee escrow to creator, platform, referrer and fixed recipients by frozen shares, with the platform receiving the remainder including all surcharge.
Owner & admin controls
The factory can register pools with frozen fee settings (base fee max 10%, anti-snipe start max 99%), update a pool's creator and creator fee recipient, and set the launch-buy adapter. Per-pool fee rates cannot be changed after launch.

Enabled Uniswap v4 callbacks

beforeInitialize, beforeAddLiquidity, beforeRemoveLiquidity, beforeSwap, afterSwap, beforeSwapReturnDelta, afterSwapReturnDelta

beforeInitialize: only the factory can create pools; beforeAddLiquidity: blocks all outside adds; beforeRemoveLiquidity: blocks all removals (liquidity is permanently locked); beforeSwap: takes the fee when the quote currency is the specified amount and blocks exact-output during anti-snipe; afterSwap: takes the fee from the unspecified quote amount and credits fee splits; beforeSwapReturnDelta/afterSwapReturnDelta: let the hook deduct the fee from swap amounts.

Security & trust assessment

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

Who controls it: The launchpad factory controls pool creation, creator-rights transfers and the launch-buy adapter. It cannot change fee rates after a pool launches or withdraw the locked liquidity.

Risk to user funds: The hook takes from each swap a quote-currency fee from 0.01% to 10% normally, up to 99% during the early anti-snipe window, held in a fee escrow for recipients to claim. Seeded liquidity is permanently locked and outside LPs cannot participate.

Security findings

  • [medium] Very high early anti-snipe fee: Right after launch the total swap fee can be up to 99%, decaying linearly to the base fee (max 10%) over the configured window. Early buyers and sellers can lose most of their trade to fees.
  • [info] Liquidity permanently locked: Add and remove liquidity always revert; only the hook's own token seed exists and it can never be removed. No third-party LPs can deposit, so none can be trapped.
  • [info] Frozen fee config: Base fee is capped at 10% and fee shares are fixed at registration; the factory can only change the creator fee recipient afterward.

Contract details

Verified source
No
Bytecode size
15,732 bytes
Upgradeable proxy
No
Detected patterns
return-delta, self-unlock

Pools using Launchpad hook