Open DenisCarriere opened 2 years ago
https://blend.dotgems.io/eos/d.blend.gems/robotbeepbop/6459
https://bloks.io/account/d.blend.gems?loadContract=true&tab=Actions&table=limits&account=d.blend.gems&scope=robotbeepbop&limit=100&action=setlimit
[[eosio::action]] void setlimit( const name collection_name, const int32_t template_id, const int64_t max_mint_assets ); [[eosio::action]] void dellimit( const name collection_name, const int32_t template_id );
Set robotbeepbop@6459 collection to maximum 10 (starting from now)
robotbeepbop@6459
cleos push action d.blend.gems setlimit '[robotbeepbop, 6459, 10]' -p d.blend.gems
limits
https://bloks.io/account/d.blend.gems?loadContract=true&tab=Tables&table=limits&account=d.blend.gems&scope=robotbeepbop&limit=100
{name} collection_name
{int32_t} template_id
{int64_t} mint_assets
{int64_t} max_mint_assets
{ "template_id": 21883, "mint_assets": 14, "max_mint_assets": 100 }
@mellowjayb update UI to include limit functionality
limit
Blend example
https://blend.dotgems.io/eos/d.blend.gems/robotbeepbop/6459
Actions
https://bloks.io/account/d.blend.gems?loadContract=true&tab=Actions&table=limits&account=d.blend.gems&scope=robotbeepbop&limit=100&action=setlimit
Example
Set
robotbeepbop@6459
collection to maximum 10 (starting from now)TABLE
limits
https://bloks.io/account/d.blend.gems?loadContract=true&tab=Tables&table=limits&account=d.blend.gems&scope=robotbeepbop&limit=100
{name} collection_name
params
{int32_t} template_id
- AtomicAsset NFT template ID{int64_t} mint_assets
- current minted assets{int64_t} max_mint_assets
- if exists, limit the maximum NFT's to mintexample