Name | Lookup | Parameters | |
---|---|---|---|
buy | 6800 | 3 | |
list | 6801 | 4 | |
unlist | 6802 | 2 | |
make_offer | 6803 | 4 | |
withdraw_offer | 6804 | 2 | |
accept_offer | 6805 | 3 |
Name | Lookup | Attributes | |
---|---|---|---|
TokenPriceUpdated | 6800 | ["AccountId","CollectionId","NftId","Option<BalanceOf>"] | |
TokenSold | 6801 | ["AccountId","AccountId","CollectionId","NftId","BalanceOf"] | |
TokenListed | 6802 | ["AccountId","CollectionId","NftId","BalanceOf"] | |
TokenUnlisted | 6803 | ["AccountId","CollectionId","NftId"] | |
OfferPlaced | 6804 | ["AccountId","CollectionId","NftId","BalanceOf"] | |
OfferWithdrawn | 6805 | ["AccountId","CollectionId","NftId"] | |
OfferAccepted | 6806 | ["AccountId","AccountId","CollectionId","NftId"] |
Name | Type | |
---|---|---|
ListedNfts | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["U32","U32"],"value":"pallet_rmrk_market:types:ListInfo","keys_id":38,"value_id":599}} | |
Offers | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["Tuple:U32U32","AccountId"],"value":"pallet_rmrk_market:types:Offer","keys_id":600,"value_id":601}} |
Name | Type | Value | |
---|---|---|---|
MinimumOfferAmount | U128 | 00e1f505000000000000000000000000 |
Name | Docs |
---|---|
NoPermission | No permissions for account to interact with NFT |
TokenNotForSale | Token cannot be bought |
CannotWithdrawOffer | Offer already accepted and cannot withdraw |
CannotUnlistToken | Cannot unlist NFT as it has already been unlisted or sold |
CannotOfferOnOwnToken | Cannot make offer on NFT on own NFT |
CannotBuyOwnToken | Cannot buy NFT that is already owned |
UnknownOffer | Offer is unknown |
CannotListNftOwnedByNft | Cannot list NFT owned by a NFT |
TokenDoesNotExist | Cannot list a non-existing NFT |
OfferTooLow | Offer is below the OfferMinimumAmount threshold |
AlreadyOffered | Account cannot offer on a NFT again with an active offer |
OfferHasExpired | Accepted offer has expired and cannot be accepted |
ListingHasExpired | Listing has expired and cannot be bought |
PriceDiffersFromExpected | Price differs from when `buy` was executed |
NonTransferable | Not possible to list non-transferable NFT |