Overview
LaunchFactory is the single entry point for every Makx launch. It deploys tokens, bonding curves (as EIP-1167 clones), and prepools. It also manages symbol uniqueness and prepool symbol reservations.
Deployment Addresses
| Network | Address |
|---|---|
| Ethereum | Coming soon |
| Base | Coming soon |
| BNB Chain | Coming soon |
| Sepolia | Coming soon |
Write Functions
createLaunch
createLaunch
msg.value > 0 for an atomic dev buy. salt is combined with msg.sender for deterministic, front-run-resistant clone addresses.createPrepool
createPrepool
deployTime is an expiry deadline — the prepool must deploy before this time or it can be cancelled. Max 7 days; defaults to 7 days if 0; reverts InvalidDeployTime if greater than 7 days. The symbol is soft-reserved until the deadline. The salt must produce an address whose lower 14 bits satisfy V4 hook flags (bit 6: AFTER_SWAP, bit 2: AFTER_SWAP_RETURNS_DELTA). Use predictPrepoolAddress(salt) to validate off-chain.createPrepoolLaunch
createPrepoolLaunch
prepoolAllocationBps of supply goes directly to the prepool; the rest to the curve.setParams (owner)
setParams (owner)
setTokenENS (owner)
setTokenENS (owner)
releaseSymbol
releaseSymbol
View Functions
msg.sender in the salt derivation, so the predicted address is caller-specific.
Key State
Events
Errors
| Error | Condition |
|---|---|
SymbolTaken | Ticker already registered or reserved by active prepool |
InvalidParams | Bad values in setParams |
OnlyPrepool | createPrepoolLaunch called by non-prepool |
InvalidHookAddress | Salt produces wrong V4 hook flag bits |
InvalidDeployTime | deployTime exceeds 7-day maximum |