REST NFT
An extended CW721 (v0.9.2) with update, burn, freeze, set_minter functionalities.
Methods
burn
Destroys a token, decreasing token count.Burn { token_id: String, }
update
Updates token metadataUpdate { token_id: String, token_uri: Option
, extension: Extension, } freeze
Freezes changes to all token metadata.Freeze {}
set_minter
Current minter can transfer minter rights to others.SetMinter { minter: String, }
Config
Stores token_supply limit & frozen state
pub struct Config {
/// The maximum allowed number of tokens
pub token_supply: Option
,
pub frozen: bool,
}
Usage
Contract are used for by all REST-verse NFTs (tadpoles, toads). It supports a mint, burn, update and freeze launch mechanic.