Likely launchpad hook on BNB Chain

Uniswap v4 Hook Contract 0xe78c5c39ca568e246fccc4a679eeb371e27be888 on BNB Chain · Launchpad

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

What it does

A gated bonding-curve launch hook where traders buy and sell through the hook's own curve, paying a fixed fee that the owner collects, with buy size caps and cooldowns until trading opens to all.

How it works step by step

  • Runs a bonding-curve token launch on BNB Chain: buys and sells against the hook's own curve, quoted by quoteBuy and quoteSell, with the hook minting the token.
  • Enforces a per-buy maximum (MAX_BUY_WEI) and a per-address cooldown measured in blocks between buys.
  • Starts with gated trading (router or agent only) until the owner, or a built-in condition, opens trading to everyone.
  • Collects a fee on curve trades that the owner can withdraw.
  • Validates pool setup at initialization and checks liquidity additions.
Swap behaviour
Swaps are handled by the hook's own curve logic through a swap return delta: it takes BNB, mints or settles tokens, and applies a fee, so it can change the swap amounts. Before trading opens, only the approved router or agent may trade, and buys are subject to a size cap and a cooldown of some blocks.
Liquidity behaviour
Adding liquidity triggers a check that may restrict who can add or when. Remove-liquidity callbacks are disabled, so LP withdrawals cannot be blocked.
Fee behaviour
A fixed fee ratio (FEE_NUMERATOR over FEE_DENOMINATOR) is taken on curve trades and accrued in the hook for the owner to withdraw. The exact percentage cannot be read from the bytecode, but it appears to be a constant.
Owner & admin controls
The owner can withdraw accrued fees to an address, open trading to all, and transfer or renounce ownership (two-step). No fee-setting function was found.

Enabled Uniswap v4 callbacks

beforeInitialize, beforeAddLiquidity, beforeSwap, beforeSwapReturnDelta

beforeInitialize: validates and records pool setup; beforeAddLiquidity: gates liquidity additions; beforeSwap: enforces gate, cooldown and max buy, and prices the trade on the curve; beforeSwapReturnDelta: lets the hook settle the swap amounts itself.

Security & trust assessment

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

Who controls it: A single owner can withdraw accrued fees and open trading early. No function was found that lets the owner change fees or seize curve reserves.

Risk to user funds: The hook handles BNB and tokens for each curve trade and takes a constant fee whose exact rate is unverified. LP principal cannot be locked by the hook.

Security findings

  • [medium] Custom curve pricing via swap deltas: The hook sets swap amounts itself using a bonding curve, and the fee constants cannot be verified from unverified bytecode.
  • [low] Gated launch phase: Until trading is opened, only the router or agent can trade, and buys are limited by a size cap and a block cooldown.
  • [info] LP withdrawals unrestricted: Remove-liquidity callbacks are disabled, so the hook can never block withdrawals.

Contract details

Verified source
No
Bytecode size
10,346 bytes
Upgradeable proxy
No
Detected patterns
erc20, moves-currency, ownable, return-delta

Pools using Likely launchpad hook