subscan
Runtime Modules / Marketplace
Spec Version:
Events
Name
Lookup
Attributes
ListingCreated3200["ListingIdOf","Listing"]
ListingCancelled3201["ListingIdOf"]
ListingFilled3202["ListingIdOf","AccountId","TokenBalanceOf","TokenBalanceOf","TokenBalanceOf","TokenBalanceOf","TokenBalanceOf"]
BidPlaced3203["ListingIdOf","Bid"]
AuctionFinalized3204["ListingIdOf","Option<Bid>","TokenBalanceOf","TokenBalanceOf"]
ProtocolFeeSet3205["Perbill"]
ExpiredListingRemoved3206["ListingIdOf"]
CounterOfferPlaced3207["ListingIdOf","CounterOffer"]
CounterOfferAnswered3208["ListingIdOf","AccountId","CounterOfferResponseOf"]
CounterOfferRemoved3209["ListingIdOf","AccountId"]
MigrationStep320a["u32","u8"]
Storage Functions
Name
Type
Info{"origin":"PlainType","plain_type":"compact<U32>","PlainTypeValue":779}
Listings{"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H256"],"value":"pallet_marketplace:features:listing:Listing","keys_id":13,"value_id":258}}
CounterOffers{"origin":"Map","n_map_type":{"hashers":["Identity","Twox64Concat"],"key_vec":["H256","AccountId"],"value":"pallet_marketplace:features:offer:CounterOffer","keys_id":780,"value_id":269}}
NextListingIdInput{"origin":"PlainType","plain_type":"U128","PlainTypeValue":6}
PendingListingIds{"origin":"PlainType","plain_type":"Vec<H256>","PlainTypeValue":781}
Constants
Name
Type
Value
MinimumBidIncreasePercentageU3280f0fa02
ReserveIdentifier[U8; 8]6d61726b74706c63
ListingDepositU1280090323a73060a070000000000000000
CounterOfferDepositU12800008a5d784563010000000000000000
ListingActiveDelayU3205000000
MaxRoundingErrorU128e8030000000000000000000000000000
MaxSaltLengthU3220000000
MaxPendingListingIdsU3264000000
Error Types
Name
Docs
UnableToFillthe order cannot be filled
ListingNotFoundThe listing does not exist
NoPermissionThe caller does not have permission for this operation
MaxRoundingErrorExceededThe max rounding error was exceeded
LowBaseCurrencyBalanceThe base currency balance is too low
LowTokenBalanceThe token balance is too low
TransferParamCreationFailedTransfer params could not be created
ReceivedValueUnderMinimumThe take value is under the minimum requirement
ListingAlreadyExistsA listing with this id already exists
InvalidAuctionStartThe start time of the auction must be greater than the current block plus theminimum requirement
InvalidAuctionEndThe end time of the auction must be after the start
InactiveAuctionCannot bid on an auction that has not started or is over
AuctionNotOverCannot finalize an auction that is not over
ListingIsWrongTypeAn action was taken that is not compatible with the listing's type.
InvalidAmountThe amount is invalid
InvalidPriceThe price is invalid
ListingForbiddenListing is forbidden for this token
NoCurrencyNeither the make side or the take side of the listing is considered a currency
ListingNotActiveThe listing has not crossed the mandatory delay before its considered active
CurrencyNotAllowedAsRoyaltyThe currency is not allowed to be used as a royalty payment
BuyerIsSellerThe seller is not allowed to buy their own listing
MakeAssetFrozenMake asset is frozen
TakeAssetFrozenTake asset is frozen
CannotCancelAuctionWithBidCannot cancel auction with active bid
CannotCancelAuctionAfterEndBlockCannot cancel auction after end block
InvalidExpirationThe expiration block must be in the future
NotExpiredThe listing is not expired and cannot be removed
NoCounterOfferA counter offer is required but does not exist
PartialFillNotAllowedOffers do not support partial fills
InvalidFeeSideThe fee side does not match the listing type
WrongCurrentPriceThe passed `current_price` does not match the actual current price
CannotCounterSelfCannot place a counter offer on own offer
MaxPendingListingIdsExceededMax number of pending listing ids has been exceeded
CounterOfferExistsThe counter offer already exists