| Crates.io | sg4 |
| lib.rs | sg4 |
| version | 3.15.0 |
| created_at | 2022-08-26 20:58:12.056079+00 |
| updated_at | 2024-10-01 18:41:47.404577+00 |
| description | Definition and types for the SG4 interface |
| homepage | https://stargaze.zone |
| repository | https://github.com/public-awesome/launchpad |
| max_upload_size | |
| id | 653054 |
| size | 3,617 |
A minter must store the factory that created it, so it can query its parameters:
pub struct MinterConfig<T> {
pub factory: Addr,
pub collection_code_id: u64,
pub mint_price: Coin,
pub extension: T,
}
Custom minters can add more fields using extension.
A minimum, Stargaze minters should specify at least one Mint {} operation that takes 0 to many arguments.
pub enum ExecuteMsg {
Mint {},
}
Provides minter status for each collection. Status is changed through on-chain governance proposals.
pub struct Minter {
pub verified: bool,
pub blocked: bool,
pub is_explicit: bool,
}