subscan
Runtime Modules / Marketplace
Spec Version:
Call Functions
Name
Lookup
Parameters
buy6d002
set_price6d013
make_offer6d024
withdraw_offer6d033
accept_offer6d043
add_royalty6d054
Events
Name
Lookup
Attributes
TokenPriceUpdated6d00["AccountId","NftClassId","NftInstanceId","Option<BalanceOf>"]
TokenSold6d01["AccountId","AccountId","NftClassId","NftInstanceId","BalanceOf"]
OfferPlaced6d02["AccountId","NftClassId","NftInstanceId","BalanceOf","BlockNumber"]
OfferWithdrawn6d03["AccountId","NftClassId","NftInstanceId"]
OfferAccepted6d04["AccountId","NftClassId","NftInstanceId","BalanceOf","AccountId"]
RoyaltyPaid6d05["NftClassId","NftInstanceId","AccountId","u16","BalanceOf"]
RoyaltyAdded6d06["NftClassId","NftInstanceId","AccountId","u16"]
Storage Functions
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}}
Constants
Name
Type
Value
MinimumOfferAmountU12800e40b54020000000000000000000000
RoyaltyBondAmountU12800000000000000000000000000000000
Error Types
Name
Docs
NotTheTokenOwnerAccount is not the owner of the token
BuyFromSelfCannot buy a token from yourself
NotForSaleToken is currently not for sale
ClassOrInstanceUnknownClass or instance does not exist
OfferTooLowOffer is lower than the minimum threshold
UnknownOfferNo offer for this token found from the user
OfferExpiredOffer is no longer valid
AlreadyOfferedUser already made an offer for this token
WithdrawNotAuthorizedUser has to be offer maker or token owner to withdraw an offer
AcceptNotAuthorizedUser has to be the token owner to accept an offer
RoyaltyAlreadySetRoyalty can be set only once
NotInRangeRoyalty not in 0-9_999 range