canLaunch(address) answers whether a wallet may, in
one call.
Launch configs
Configs live in an append-only list, so an id never changes meaning. The owner can edit or disable one, and a disabled config reverts withLaunchConfigDisabled, so read the list when you build the form rather than
caching ids. There is one config today, id 0.
Launching with pinned terms
ReadpreviewLaunchEconomics right before launching and pass the result as
expectedEconomics. If the owner changes the config in between, the launch
reverts with LaunchEconomicsMismatch instead of settling on terms you did not
read.
Past a metadata limit the launch reverts with
MetadataTooLong.
Launch addresses
The launch deployer derives the curve and token through CREATE2 from yoursalt, the wallet that started the transaction, and the launch’s own terms. So
both addresses are known before you send, and nobody else can take them by
sending your salt first. Reusing a salt on identical terms reverts.
To mine a vanity address, search salts offline and confirm with
predictLaunchAddresses on the launch deployer. It takes the full launch
deployment struct and returns (token, curve).
Exempting wallets from the opening tax
An overload adds a finaladdress[] of wallets exempt from the
snipe tax. At most 32 entries, past which it
reverts with ExemptionListTooLong. The list is fixed at creation. The launching
wallet and the creator fee recipient are always exempt.
Launching and buying in one transaction
A launch followed by a separate buy leaves a gap anyone can trade in first. The launch-and-buy router does both in one call. It holds callers to the factory’s launch gate (NotApprovedLauncher otherwise) and records the launch under the
wallet that started the transaction.
creatorFeeRecipientmust be set. Zero reverts withZeroAddress.- The buy’s
recipientis exempted for you, so at most 31 extra exemptions. minTokensOutstill applies if the curve fills only part of the buy.- The value must be exactly the fee plus
quoteInon an ETH launch, or just the fee on an ERC-20 launch, elseNativeValueMismatch(sent, expected).
Quote assets
Pass the zero address for ETH, or an approved ERC-20. Approval is set by the owner; an unapproved asset reverts withPairTokenNotApproved. 71 assets are
approved today, including USDG and tokenized stocks.
Each asset carries its own economics, sized in its own decimals. Only offer an
asset that passes both reads below, and format amounts with its decimals rather
than 18.