Name | Lookup | Parameters | |
---|---|---|---|
create_nft_collection | 3100 | 3 | |
issue_nft | 3101 | 3 | |
redeem_nft | 3102 | 3 |
Name | Lookup | Attributes | |
---|---|---|---|
NftCollectionCreated | 3100 | ["IdentityId","Ticker","NFTCollectionId"] | |
IssuedNFT | 3101 | ["IdentityId","NFTCollectionId","NFTId"] | |
RedeemedNFT | 3102 | ["IdentityId","Ticker","NFTId"] |
Name | Type | |
---|---|---|
NumberOfNFTs | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Identity"],"key_vec":["[U8; 12]","[U8; 32]"],"value":"U64","keys_id":635,"value_id":10}} | |
CollectionTicker | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["[U8; 12]"],"value":"U64","keys_id":42,"value_id":299}} | |
Collection | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U64"],"value":"polymesh_primitives:nft:NFTCollection","keys_id":299,"value_id":745}} | |
CollectionKeys | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U64"],"value":"Vec<polymesh_primitives:asset_metadata:AssetMetadataKey>","keys_id":299,"value_id":746}} | |
MetadataValue | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["Tuple:U64U64","polymesh_primitives:asset_metadata:AssetMetadataKey"],"value":"Vec<U8>","keys_id":747,"value_id":147}} | |
NextCollectionId | {"origin":"PlainType","plain_type":"U64","PlainTypeValue":299} | |
NextNFTId | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U64"],"value":"U64","keys_id":299,"value_id":237}} |
Name | Type | Value | |
---|---|---|---|
MaxNumberOfCollectionKeys | U8 | ff | |
MaxNumberOfNFTsCount | U32 | 0a000000 |
Name | Docs |
---|---|
BalanceOverflow | An overflow while calculating the balance. |
BalanceUnderflow | An underflow while calculating the balance. |
CollectionAlredyRegistered | The ticker is already associated to an NFT collection. |
CollectionNotFound | The NFT collection does not exist. |
DuplicateMetadataKey | A duplicate metadata key has been passed as parameter. |
DuplicatedNFTId | Duplicate ids are not allowed. |
InvalidAssetType | The asset must be of type non-fungible. |
InvalidMetadataAttribute | Either the number of keys or the key identifier does not match the keys defined for the collection. |
InvalidNFTTransferCollectionNotFound | Failed to transfer an NFT - NFT collection not found. |
InvalidNFTTransferSamePortfolio | Failed to transfer an NFT - attempt to move to the same portfolio. |
InvalidNFTTransferNFTNotOwned | Failed to transfer an NFT - NFT not found in portfolio. |
InvalidNFTTransferCountOverflow | Failed to transfer an NFT - identity count would overflow. |
InvalidNFTTransferComplianceFailure | Failed to transfer an NFT - compliance failed. |
InvalidNFTTransferFrozenAsset | Failed to transfer an NFT - asset is frozen. |
InvalidNFTTransferInsufficientCount | Failed to transfer an NFT - the number of nfts in the identity is insufficient. |
MaxNumberOfKeysExceeded | The maximum number of metadata keys was exceeded. |
MaxNumberOfNFTsPerLegExceeded | The maximum number of nfts being transferred in one leg was exceeded. |
NFTNotFound | The NFT does not exist. |
UnregisteredMetadataKey | At least one of the metadata keys has not been registered. |
ZeroCount | It is not possible to transferr zero nft. |