Name | Lookup | Parameters | |
|---|---|---|---|
| create_nft_collection | 3100 | 3 | |
| issue_nft | 3101 | 3 | |
| redeem_nft | 3102 | 3 | |
| controller_transfer | 3103 | 4 |
Name | Lookup | Attributes | |
|---|---|---|---|
| NftCollectionCreated | 3100 | ["IdentityId","Ticker","NFTCollectionId"] | |
| NFTPortfolioUpdated | 3101 | ["IdentityId","NFTs","Option<PortfolioId>","Option<PortfolioId>","PortfolioUpdateReason"] |
Name | Type | |
|---|---|---|
| NumberOfNFTs | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Identity"],"key_vec":["[U8; 12]","[U8; 32]"],"value":"U64","keys_id":631,"value_id":10}} | |
| CollectionTicker | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["[U8; 12]"],"value":"U64","keys_id":42,"value_id":296}} | |
| Collection | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U64"],"value":"polymesh_primitives:nft:NFTCollection","keys_id":296,"value_id":742}} | |
| CollectionKeys | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U64"],"value":"Vec<polymesh_primitives:asset_metadata:AssetMetadataKey>","keys_id":296,"value_id":743}} | |
| 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":744,"value_id":145}} | |
| NextCollectionId | {"origin":"PlainType","plain_type":"U64","PlainTypeValue":296} | |
| NextNFTId | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U64"],"value":"U64","keys_id":296,"value_id":239}} | |
| NFTsInCollection | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["[U8; 12]"],"value":"U64","keys_id":42,"value_id":10}} | |
| NFTOwner | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["[U8; 12]","U64"],"value":"polymesh_primitives:identity_id:PortfolioId","keys_id":677,"value_id":56}} | |
| CurrentNFTId | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U64"],"value":"U64","keys_id":296,"value_id":239}} | |
| CurrentCollectionId | {"origin":"PlainType","plain_type":"U64","PlainTypeValue":296} | |
| StorageVersion | {"origin":"PlainType","plain_type":"U8","PlainTypeValue":746} |
Name | Type | Value | |
|---|---|---|---|
| MaxNumberOfCollectionKeys | U8 | 14 | |
| 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. |
| SupplyOverflow | An overflow while calculating the updated supply. |
| SupplyUnderflow | An underflow while calculating the updated supply. |
| InvalidNFTTransferNFTIsLocked | Failed to transfer an NFT - nft is locked. |
| InvalidNFTTransferSenderIdMatchesReceiverId | The sender identity can't be the same as the receiver identity. |
| InvalidNFTTransferInvalidReceiverCDD | The receiver has an invalid CDD. |
| InvalidNFTTransferInvalidSenderCDD | The sender has an invalid CDD. |
| InvalidNFTTransferInconsistentTicker | Ticker and NFT ticker don't match |
| NFTIsLocked | The NFT is locked. |