Name | Lookup | Parameters | |
|---|---|---|---|
| create_nft_collection | 3100 | 3 | |
| issue_nft | 3101 | 3 | |
| redeem_nft | 3102 | 4 | |
| controller_transfer | 3103 | 3 |
Name | Lookup | Attributes | |
|---|---|---|---|
| NftCollectionCreated | 3100 | ["IdentityId","AssetId","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; 16]","[U8; 32]"],"value":"U64","keys_id":618,"value_id":10}} | |
| CollectionAsset | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["[U8; 16]"],"value":"U64","keys_id":42,"value_id":286}} | |
| Collection | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U64"],"value":"polymesh_primitives:nft:NFTCollection","keys_id":286,"value_id":733}} | |
| CollectionKeys | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U64"],"value":"Vec<polymesh_primitives:asset_metadata:AssetMetadataKey>","keys_id":286,"value_id":734}} | |
| 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":735,"value_id":137}} | |
| NFTsInCollection | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["[U8; 16]"],"value":"U64","keys_id":42,"value_id":10}} | |
| NFTOwner | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["[U8; 16]","U64"],"value":"polymesh_primitives:identity_id:PortfolioId","keys_id":666,"value_id":58}} | |
| CurrentNFTId | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U64"],"value":"U64","keys_id":286,"value_id":231}} | |
| CurrentCollectionId | {"origin":"PlainType","plain_type":"U64","PlainTypeValue":286} |
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 asset_id 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. |
| InvalidAssetId | There's no asset associated to the given asset_id. |
| NFTIsLocked | The NFT is locked. |
| NumberOfKeysIsLessThanExpected | The number of keys in the collection is greater than the input. |