Contract API
Launchpad
Creates every Coin graph and seeds its locked pool.
Loading…
Browse documentation
Contract API
Creates every Coin graph and seeds its locked pool.
Loading…
Contract API
Creates every Coin graph and seeds its locked pool.
This reference is generated from the repository contracts. Check the deployed version before using a signature or constant. The audit covers a specific source revision.
Source: src/launch/Launchpad.sol
Artifact: out/Launchpad.sol/Launchpad.json
Creates a complete Fundcoin graph, locks all seed LP shares and optionally signals the creator grant.
Uses Uniswap V4 full-range liquidity. Supported base tokens are standard, non-rebasing ERC20s with at most 18 decimals. Mining uses USDG.
Public ABI: 36 functions, 8 events, 15 custom errors, 1 constructor, 0 receive entries, 0 fallback entries.
constructor(address,(address,address,address,address,address,address,address,address,address),address,address,address)constructor(contract IERC20Metadata usdg_, struct Launchpad.LaunchDeployers deployers_, contract FullRange fullRange_, address initialOwner, address initialProtocolFeeRecipient);Binds verified stateless deployers, the shared FullRange, USDG and mining fee administration.
AUCTION_EPOCH_DURATION()function AUCTION_EPOCH_DURATION() external view returns (uint256 arg0);Price-decay duration shared by all initial auctions.
AUCTION_PRICE_MULTIPLIER()function AUCTION_PRICE_MULTIPLIER() external view returns (uint256 arg0);Next starting-price multiplier shared by all initial auctions, scaled by 1e18.
MAX_COIN_SEED_AMOUNT()function MAX_COIN_SEED_AMOUNT() external view returns (uint256 arg0);Maximum Coin minted for initial liquidity, independently of the creator grant and later mining.
MAX_CREATOR_COIN_AMOUNT()function MAX_CREATOR_COIN_AMOUNT() external view returns (uint256 arg0);Maximum creator grant per launch, independently of the initial liquidity allocation.
MAX_NAME_BYTES()function MAX_NAME_BYTES() external view returns (uint256 arg0);Maximum raw byte length of a launched Coin name.
MAX_PROTOCOL_FEE_BPS()function MAX_PROTOCOL_FEE_BPS() external view returns (uint256 arg0);Maximum enabled mining protocol fee rate, in basis points.
MAX_SYMBOL_BYTES()function MAX_SYMBOL_BYTES() external view returns (uint256 arg0);Maximum raw byte length of a launched Coin symbol.
MIN_PROTOCOL_FEE_BPS()function MIN_PROTOCOL_FEE_BPS() external view returns (uint256 arg0);Minimum enabled mining protocol fee rate, in basis points.
acceptOwnership()function acceptOwnership() external;The new owner accepts the ownership transfer.
advanceLaunchNonce(uint256)function advanceLaunchNonce(uint256 expectedNonce) external;Permanently skips the caller's expected Coin deployment nonce; no other creator nonce can be changed.
auctionFactory()function auctionFactory() external view returns (contract AuctionFactory arg0);Shared stateless factory used by Resonance to create Auctions and BribeRouters.
bribeFactory()function bribeFactory() external view returns (contract BribeFactory arg0);Shared stateless factory used by Resonance to create per-strategy Bribes.
coinDeployer()function coinDeployer() external view returns (contract CoinDeployer arg0);Stateless CREATE2 Coin deployer, with launchpad-scoped creator nonces.
controllerDeployer()function controllerDeployer() external view returns (contract ControllerDeployer arg0);Stateless deployer of the creator-owned controller with LP fee forwarding.
creatorLaunchNonce(address)function creatorLaunchNonce(address creator) external view returns (uint256 nextNonce);Next CREATE2 Coin deployment nonce for each original creator.
fullRange()function fullRange() external view returns (contract FullRange arg0);Shared full-range registry, positions and protocol LP-fee configuration.
fundDeployer()function fundDeployer() external view returns (contract FundDeployer arg0);Stateless deployer of each ownerless Fund.
genesisLock()function genesisLock() external view returns (address arg0);Dead address receiving every launch's complete seed LP issuance.
getLaunch(uint256)function getLaunch(uint256 launchId) external view returns (struct Launchpad.LaunchRecord record);Returns all component addresses and seed/grant accounting for a completed launch.
getLaunchComponents(uint256)function getLaunchComponents(uint256 launchId) external view returns (struct Launchpad.LaunchComponents components);Returns the canonical components needed by transaction helpers for a completed launch. Reads only the component slots; use getLaunch for the complete launch record and initial strategies.
launch((string,string,string,address,address,bool,uint256,uint256,address,uint24,uint256,uint256,uint256,bool,bool,uint256,uint256,uint256,(address,(uint256,uint256,uint256,uint256))[],uint256[],uint256,uint256,uint256))function launch(struct Launchpad.LaunchConfig config) external returns (struct Launchpad.LaunchRecord result);Creator approves only existing base tokens. Both Coin allocations are minted inside this transaction. Managed launches authorize the creator as the first manager; community launches allow all holders. The explicit Bribe share is configured atomically before liquidity, Strategies, and creator signal. Unused base is refunded; unneeded seed Coin is burned and recorded, never added to the creator grant.
launchCount()function launchCount() external view returns (uint256 arg0);Number of completely configured launches, with no count increment after an atomic failure.
launchIdByCoin(address)function launchIdByCoin(address coin) external view returns (uint256 launchId);One-based canonical launch identifier for a Coin, or zero if unknown.
mineDeployer()function mineDeployer() external view returns (contract MineDeployer arg0);Stateless deployer of each Coin mining contract.
owner()function owner() external view returns (address arg0);Returns the address of the current owner.
pendingOwner()function pendingOwner() external view returns (address arg0);Returns the address of the pending owner.
protocolFeeBps()function protocolFeeBps() external view returns (uint256 arg0);Rate of future enabled mining protocol fees in basis points; initially 0.5%.
protocolFeeRecipient()function protocolFeeRecipient() external view returns (address arg0);Recipient of future mining protocol fees; zero disables future accrual.
renounceOwnership()function renounceOwnership() external;Leaves the contract without owner. It will not be possible to call onlyOwner functions. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby disabling any functionality that is only available to the owner.
resonanceDeployer()function resonanceDeployer() external view returns (contract ResonanceDeployer arg0);Stateless deployer of each Coin signal-directed revenue allocator.
routerDeployer()function routerDeployer() external view returns (contract RouterDeployer arg0);Stateless deployer of each USDG ResonanceRouter.
setProtocolFeeBps(uint256)function setProtocolFeeBps(uint256 feeBps) external;Sets the rate of future mining protocol fees within the existing 1 to 200 basis-point bounds.
setProtocolFeeRecipient(address)function setProtocolFeeRecipient(address recipient) external;Sets the recipient of future mining protocol fees, preserving previously accrued claims.
signalDeployer()function signalDeployer() external view returns (contract SignalDeployer arg0);Stateless deployer of launch-funded SignalCoin receipts.
transferOwnership(address)function transferOwnership(address newOwner) external;Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one. Can only be called by the current owner. Setting newOwner to the zero address is allowed; this can be used to cancel an initiated ownership transfer.
usdg()function usdg() external view returns (contract IERC20Metadata arg0);Immutable six-decimal mining and auction revenue asset.
CoinLaunchedFullRange(uint256,address,address,address,address,address,address,bytes32,uint24,(string,string,string,address,address,bool,uint256,uint256,address,uint24,uint256,uint256,uint256,bool,bool,uint256,uint256,uint256,(address,(uint256,uint256,uint256,uint256))[],uint256[],uint256,uint256,uint256))event CoinLaunchedFullRange(uint256 indexed launchId, address indexed coin, address indexed originalCreator, address controller, address fund, address pool, address baseToken, bytes32 poolId, uint24 swapFee, struct Launchpad.LaunchConfig configuration);Canonical graph discovery and complete creator-supplied launch configuration. getLaunch and GenesisAllocation provide realized seed amounts and initial allocations.
GenesisAllocation(address,uint256,uint256,uint256,uint256,uint256,uint256,uint256,bool)event GenesisAllocation(address indexed coin, uint256 coinSeedAmount, uint256 baseSeedAmount, uint256 depositedCoinAmount, uint256 depositedBaseAmount, uint256 burnedCoinDust, uint256 genesisShares, uint256 creatorCoinAmount, bool autoSignalCreator);No additional NatSpec notice is present in the compiled artifact.
InitialStrategyCreated(address,uint256,address,address,address,address)event InitialStrategyCreated(address indexed coin, uint256 indexed strategyIndex, address indexed paymentToken, address auction, address bribe, address bribeRouter);No additional NatSpec notice is present in the compiled artifact.
LaunchNonceAdvanced(address,uint256,uint256)event LaunchNonceAdvanced(address indexed creator, uint256 indexed skippedNonce, uint256 indexed nextNonce);No additional NatSpec notice is present in the compiled artifact.
OwnershipTransferStarted(address,address)event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner);No additional NatSpec notice is present in the compiled artifact.
OwnershipTransferred(address,address)event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);No additional NatSpec notice is present in the compiled artifact.
ProtocolFeeBpsSet(uint256,uint256)event ProtocolFeeBpsSet(uint256 previousFeeBps, uint256 newFeeBps);No additional NatSpec notice is present in the compiled artifact.
ProtocolFeeRecipientSet(address,address)event ProtocolFeeRecipientSet(address indexed previousRecipient, address indexed newRecipient);No additional NatSpec notice is present in the compiled artifact.
DeadlinePassed()error DeadlinePassed();No additional NatSpec notice is present in the compiled artifact.
DuplicateInitialAsset(address)error DuplicateInitialAsset(address token);No additional NatSpec notice is present in the compiled artifact.
InsufficientGenesisShares(uint256,uint256)error InsufficientGenesisShares(uint256 received, uint256 minimum);No additional NatSpec notice is present in the compiled artifact.
InvalidCreatorSignalAmounts()error InvalidCreatorSignalAmounts();No additional NatSpec notice is present in the compiled artifact.
InvalidDependency(address)error InvalidDependency(address dependency);No additional NatSpec notice is present in the compiled artifact.
InvalidLaunchConfig()error InvalidLaunchConfig();No additional NatSpec notice is present in the compiled artifact.
InvalidProtocolFeeBps(uint256)error InvalidProtocolFeeBps(uint256 feeBps);No additional NatSpec notice is present in the compiled artifact.
InvalidSwapFee()error InvalidSwapFee();No additional NatSpec notice is present in the compiled artifact.
LaunchNotFound(uint256)error LaunchNotFound(uint256 launchId);No additional NatSpec notice is present in the compiled artifact.
NonceMismatch(uint256,uint256)error NonceMismatch(uint256 expected, uint256 actual);No additional NatSpec notice is present in the compiled artifact.
OwnableInvalidOwner(address)error OwnableInvalidOwner(address owner);No additional NatSpec notice is present in the compiled artifact.
OwnableUnauthorizedAccount(address)error OwnableUnauthorizedAccount(address account);No additional NatSpec notice is present in the compiled artifact.
ReentrancyGuardReentrantCall()error ReentrancyGuardReentrantCall();No additional NatSpec notice is present in the compiled artifact.
SafeERC20FailedOperation(address)error SafeERC20FailedOperation(address token);No additional NatSpec notice is present in the compiled artifact.
UnsupportedBaseTransfer()error UnsupportedBaseTransfer();No additional NatSpec notice is present in the compiled artifact.