Reading state and events
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.
Read the sale
Section titled “Read the sale”Presale<SaleToken, Quote> exposes lifecycle, commitment start, duration, liquidity window, total commitments, remaining participants, stored eligibility and phase terms, fee snapshots and partner ID. Use its public readers: commitment_starts_at_ms, commitment_ends_at_ms and liquidity_deadline_at_ms. Phase constructors and setters name their offset input start_delay_ms.
The sale ID derives from PresaleRegistry and the sale coin’s original type. A commitment is keyed by sender. Compare the clock against the stored window and hard-cap terms before building a transaction; state may change before execution.
Events
Section titled “Events”Presale creation emits blast_presale::blast_presale::PresaleCreated<SaleToken, Quote>. Later events, including PresaleOpened, Committed, PresaleFunded, PresaleCancelled, PresaleMigrated and Claimed, live in blast_presale::events. Use their original package identity in filters.
Public reader names differ from some stored and event fields. For example, PresaleOpened retains start_ms, PresaleFunded retains end_ms and liquidity_deadline_ms, and embedded phase terms retain starts_after_ms. Decode the exact event schema; do not rename its keys to match readers.
PresaleFunded records revised end and liquidity deadlines after an early close. Claims remove commitments and report delivered tokens, refund and optional vesting ID. A cancelled sale permits refunds, not migration.
Join the shared stack
Section titled “Join the shared stack”VaultCreated lives in blast_vault::blast_vault_events; its terms carry the product’s package witness and sale origin. blast_migrators::events carries venue preparation; blast_core::blast_core_events::ProtocolFeesPaid carries protocol ledger payouts. blast_admin::delayed emits proposal lifecycle events, keyed by setting type and owner ID.
For migrated presales, read the common vault and launch/vault joins. Pending proposals are separate from applied settings; read the applied value and its delay, not just the latest proposal event. Reconcile an index to objects before using it to construct transactions.