subscan
Runtime Modules / NftSales
Spec Version:
Call Functions
Name
Lookup
Parameters
add62003
remove62012
buy62023
Events
Name
Lookup
Attributes
ForSale6200["ClassId","InstanceId","SaleOf"]
Removed6201["ClassId","InstanceId"]
Sold6202["ClassId","InstanceId","SaleOf","AccountId"]
Storage Functions
Name
Type
Sales{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["U64","U128"],"value":"pallet_nft_sales:Sale","keys_id":332,"value_id":73}}
NftsBySeller{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat","Blake2_128Concat"],"key_vec":["AccountId","U64","U128"],"value":"NULL","keys_id":330,"value_id":35}}
Constants
Name
Type
Value
PalletId[U8; 8]70616c2f6e667473
Error Types
Name
Docs
NotFoundA user tried to add an NFT that could not be found in T::NonFungibles
NotOwnerThe origin is not the owner of an NFT
AlreadyForSaleA seller has attempted to add an NFT that is already for sale
NotForSaleAn operation expected an NFT to be for sale when it is not
InvalidOfferA buyer's max offer is invalid, i.e., either the currency or amount didnot match the latest asking price for the targeted NFT.