subscan
Runtime Modules / RmrkMarket
Spec Version:
Call Functions
Name
Lookup
Parameters
buy68003
list68014
unlist68022
make_offer68034
withdraw_offer68042
accept_offer68053
Events
Name
Lookup
Attributes
TokenPriceUpdated6800["AccountId","CollectionId","ItemId","Option<BalanceOf>"]
TokenSold6801["AccountId","AccountId","CollectionId","ItemId","BalanceOf"]
TokenListed6802["AccountId","CollectionId","ItemId","BalanceOf"]
TokenUnlisted6803["AccountId","CollectionId","ItemId"]
OfferPlaced6804["AccountId","CollectionId","ItemId","BalanceOf"]
OfferWithdrawn6805["AccountId","CollectionId","ItemId"]
OfferAccepted6806["AccountId","AccountId","CollectionId","ItemId"]
Storage Functions
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":39,"value_id":630}}
Offers{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["Tuple:U32U32","AccountId"],"value":"pallet_rmrk_market:types:Offer","keys_id":631,"value_id":632}}
Constants
Name
Type
Value
MinimumOfferAmountU12800e1f505000000000000000000000000
Error Types
Name
Docs
NoPermissionNo permissions for account to interact with NFT
TokenNotForSaleToken cannot be bought
CannotWithdrawOfferOffer already accepted and cannot withdraw
CannotUnlistTokenCannot unlist NFT as it has already been unlisted or sold
CannotOfferOnOwnTokenCannot make offer on NFT on own NFT
CannotBuyOwnTokenCannot buy NFT that is already owned
UnknownOfferOffer is unknown
CannotListNftOwnedByNftCannot list NFT owned by a NFT
TokenDoesNotExistCannot list a non-existing NFT
OfferTooLowOffer is below the OfferMinimumAmount threshold
AlreadyOfferedAccount cannot offer on a NFT again with an active offer
OfferHasExpiredAccepted offer has expired and cannot be accepted
ListingHasExpiredListing has expired and cannot be bought
PriceDiffersFromExpectedPrice differs from when `buy` was executed
NonTransferableNot possible to list non-transferable NFT