Presale contracts
Reviewed against contracts 86ee8cf on 6 November 2026. The generated reference contains complete signatures. The canonical address table binds this source to the 6 November deployment.
blast_presale creates a new coin, accepts Quote commitments, and pays tokens plus overflow refunds after a successful migration. Its lifecycle stays separate from the bonding curve:
Pending → Open → Funded → Migrated ↘ Cancelled ← Funded (unlaunched at liquidity deadline)Packages
Section titled “Packages”| Package | Responsibility |
|---|---|
blast_presale |
Sale creation, eligibility, commitments, settlement, refunds, fee snapshots and owner proof. |
blast_core |
BPS, payouts and vesting, fee splits, protocol-fee ledger, treasury, Merkle proofs and sealed migration values. |
blast_migrators |
Shared Cetus and Bluefin preparation, migration and LP operations for both products. |
blast_vault |
LP custody, owner balances, delayed fee routing and holder-reward rounds for both products. |
blast_admin |
Shared ACL, generic package custody, version gates, pauses and delayed settings. |
The presale imports no venue or vault. A venue’s prepare returns a VenueTicket; the presale consumes it at creation. At migration, the sale returns a Migration that only that venue can consume, in the same PTB.
Objects and authority
Section titled “Objects and authority”A shared Presale<SaleToken, Quote> holds commitments and supply. The creator’s owner pass (PresaleCap) issues an OwnerProof to claim owner balances or schedule a vault fee split. It cannot withdraw commitments or change sale terms.
Product roles come from blast_core::blast_domain and are shared across products. FeeAdmin schedules defaults. It can set fees up to the applied policy before sharing and only lower them after sharing, before the window starts. ListingAdmin admits Quote types; VenueAdmin manages venue admission. TreasuryAdmin schedules the shared treasury destination. RewardsAdmin schedules vault reward rounds. Sign in through blast_admin::blast_acl::sign_in<Role> and pass its AdminWitness in the same PTB.
Package-specific roles are blast_admin::package_admin::{PauseAdmin, UnpauseAdmin, UpgradeAdmin, CancelAdmin}<OTW>. Presale pause bits are create 1, commit 2, migrate 4 (mask 7). Settlement, refunds and participant claims remain available while paused.
Start here
Section titled “Start here”Create a sale, commit, settle, migrate and claim, then shared vault fees and rewards. Versioning explains publication and setup. Amounts use coin atoms, rates use BPS out of 10,000, and times use milliseconds.