Name | Lookup | Parameters | |
---|---|---|---|
buy | 6d00 | 2 | |
set_price | 6d01 | 3 | |
make_offer | 6d02 | 4 | |
withdraw_offer | 6d03 | 3 | |
accept_offer | 6d04 | 3 | |
add_royalty | 6d05 | 4 |
Name | Lookup | Attributes | |
---|---|---|---|
TokenPriceUpdated | 6d00 | ["AccountId","NftCollectionId","NftItemId","Option<BalanceOf>"] | |
TokenSold | 6d01 | ["AccountId","AccountId","NftCollectionId","NftItemId","BalanceOf"] | |
OfferPlaced | 6d02 | ["AccountId","NftCollectionId","NftItemId","BalanceOf","BlockNumber"] | |
OfferWithdrawn | 6d03 | ["AccountId","NftCollectionId","NftItemId"] | |
OfferAccepted | 6d04 | ["AccountId","NftCollectionId","NftItemId","BalanceOf","AccountId"] | |
RoyaltyPaid | 6d05 | ["NftCollectionId","NftItemId","AccountId","u16","BalanceOf"] | |
RoyaltyAdded | 6d06 | ["NftCollectionId","NftItemId","AccountId","u16"] |
Name | Type | |
---|---|---|
Prices | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["U128","U128"],"value":"U128","keys_id":395,"value_id":6}} | |
Offers | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["Tuple:U128U128","AccountId"],"value":"pallet_marketplace:types:Offer","keys_id":475,"value_id":476}} | |
MarketplaceItems | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["U128","U128"],"value":"pallet_marketplace:types:Royalty","keys_id":395,"value_id":477}} |
Name | Type | Value | |
---|---|---|---|
MinimumOfferAmount | U128 | 00e40b54020000000000000000000000 | |
RoyaltyBondAmount | U128 | 00000000000000000000000000000000 |
Name | Docs |
---|---|
NotTheTokenOwner | Account is not the owner of the token |
BuyFromSelf | Cannot buy a token from yourself |
NotForSale | Token is currently not for sale |
CollectionOrItemUnknown | Collection or item does not exist |
OfferTooLow | Offer is lower than the minimum threshold |
UnknownOffer | No offer for this token found from the user |
OfferExpired | Offer is no longer valid |
AlreadyOffered | User already made an offer for this token |
WithdrawNotAuthorized | User has to be offer maker or token owner to withdraw an offer |
AcceptNotAuthorized | User has to be the token owner to accept an offer |
RoyaltyAlreadySet | Royalty can be set only once |
NotInRange | Royalty not in 0-9_999 range |