pub struct ContractConfig {
pub admin: Option<Addr>,
pub curators: Vec<Addr>,
pub token_id_list: Vec<String>,
pub tx_cnt: u64,
pub prng_seed: Vec<u8>,
pub contract_address: Addr,
}
Expand description
contract configuration, spanning all token_ids
generated by this contract
Fields§
§admin: Option<Addr>
§curators: Vec<Addr>
These are contract-level curators that can curate new token_ids and mint initial balances. They cannot mint additional tokens of existing token_ids, unless they are also minters of the specific fungible token
token_id_list: Vec<String>
§tx_cnt: u64
§prng_seed: Vec<u8>
§contract_address: Addr
Trait Implementations§
source§impl Clone for ContractConfig
impl Clone for ContractConfig
source§fn clone(&self) -> ContractConfig
fn clone(&self) -> ContractConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ContractConfig
impl Debug for ContractConfig
source§impl<'de> Deserialize<'de> for ContractConfig
impl<'de> Deserialize<'de> for ContractConfig
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl JsonSchema for ContractConfig
impl JsonSchema for ContractConfig
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresource§impl PartialEq<ContractConfig> for ContractConfig
impl PartialEq<ContractConfig> for ContractConfig
source§fn eq(&self, other: &ContractConfig) -> bool
fn eq(&self, other: &ContractConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.