pub enum ExecuteMsg {
CreateCollection {
code_id: u64,
collection_info: CollectionInfo,
collection_config: CollectionConfig,
token_info: TokenInfo,
metadata_info: MetadataInfo,
fund_info: CollectionFundInfo,
linked_collections: Option<Vec<u32>>,
},
UpdatePublicCollectionCreation {
public_collection_creation: bool,
},
UpdateCollectionMintLock {
collection_id: u32,
lock: bool,
},
Mint {
collection_id: u32,
metadata_id: Option<u32>,
},
AdminMint {
collection_id: u32,
recipient: String,
metadata_id: Option<u32>,
},
PermissionMint {
permission_msg: Binary,
mint_msg: MintMsg,
},
UpdateOperators {
addrs: Vec<String>,
},
UpdateLinkedCollections {
collection_id: u32,
linked_collections: Vec<u32>,
},
UpdateCollectionStatus {
collection_id: u32,
is_blacklist: bool,
},
LockExecute {},
UpdateCreators {
addrs: Vec<String>,
},
Receive(Cw20ReceiveMsg),
}Variants§
CreateCollection
Admin and public message.
Create a new collection. This can be executed by both admin and users based on configuration.
Fields
collection_info: CollectionInfocollection_config: CollectionConfigmetadata_info: MetadataInfofund_info: CollectionFundInfoUpdatePublicCollectionCreation
Admin message.
Update the configuration for public collection creation. If set to true, users can create collections.
UpdateCollectionMintLock
Admin message.
Update the configuration for collection mint lock.
Mint
Public message.
Mint a new token on a collection. Additional metadata id can be provided to link to a certain metadata.
AdminMint
Admin message.
Same as Mint message but only executable by admin.
PermissionMint
Admin message.
Same as Mint message but can be used with permissions.
UpdateOperators
Admin message.
Update the operators of this contract.
UpdateLinkedCollections
Admin message.
Update the linked collections of a collection.
UpdateCollectionStatus
Admin message.
Update the status of a collection. Whitelist or blacklist.
LockExecute
Hub message.
Lock the execute entry point. Can only be called by the hub module.
UpdateCreators
Admin message.
Update addresses that can create collections.
Receive(Cw20ReceiveMsg)
Trait Implementations§
Source§impl Clone for ExecuteMsg
impl Clone for ExecuteMsg
Source§impl Debug for ExecuteMsg
impl Debug for ExecuteMsg
Source§impl<'de> Deserialize<'de> for ExecuteMsg
impl<'de> Deserialize<'de> for ExecuteMsg
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>,
Source§fn from(msg: ExecuteMsg) -> Self
fn from(msg: ExecuteMsg) -> Self
Source§impl JsonSchema for ExecuteMsg
impl JsonSchema for ExecuteMsg
Source§fn schema_name() -> String
fn schema_name() -> String
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref keyword. Read more