Struct snip1155_reference_impl::msg::InstantiateMsg
source · pub struct InstantiateMsg {
pub has_admin: bool,
pub admin: Option<Addr>,
pub curators: Vec<Addr>,
pub initial_tokens: Vec<CurateTokenId>,
pub entropy: String,
}
Fields§
§has_admin: bool
if false
the contract will instantiate permanently as a no-admin (permissionless) contract
admin: Option<Addr>
if admin
== None
&& has_admin
== true
, the instantiator will be admin
if has_admin
== false
, this field will be ignore (ie: there will be no admin)
curators: Vec<Addr>
sets initial list of curators, which can create new token_ids
initial_tokens: Vec<CurateTokenId>
curates initial list of tokens
entropy: String
for create_viewing_key
function
Trait Implementations§
source§impl Clone for InstantiateMsg
impl Clone for InstantiateMsg
source§fn clone(&self) -> InstantiateMsg
fn clone(&self) -> InstantiateMsg
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 InstantiateMsg
impl Debug for InstantiateMsg
source§impl<'de> Deserialize<'de> for InstantiateMsg
impl<'de> Deserialize<'de> for InstantiateMsg
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 InstantiateMsg
impl JsonSchema for InstantiateMsg
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 more