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","NftClassId","NftInstanceId","Option<BalanceOf>"] | |
TokenSold | 6d01 | ["AccountId","AccountId","NftClassId","NftInstanceId","BalanceOf"] | |
OfferPlaced | 6d02 | ["AccountId","NftClassId","NftInstanceId","BalanceOf","BlockNumber"] | |
OfferWithdrawn | 6d03 | ["AccountId","NftClassId","NftInstanceId"] | |
OfferAccepted | 6d04 | ["AccountId","NftClassId","NftInstanceId","BalanceOf","AccountId"] | |
RoyaltyPaid | 6d05 | ["NftClassId","NftInstanceId","AccountId","u16","BalanceOf"] | |
RoyaltyAdded | 6d06 | ["NftClassId","NftInstanceId","AccountId","u16"] |
Name | Type | |
---|---|---|
Prices | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["U128","U128"],"value":"U128","keys_id":381,"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":463,"value_id":464}} | |
MarketplaceInstances | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["U128","U128"],"value":"pallet_marketplace:types:Royalty","keys_id":381,"value_id":465}} |
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 |
ClassOrInstanceUnknown | Class or instance 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 |