Name | Lookup | Parameters | |
---|---|---|---|
create_listing | f900 | 6 | |
cancel_listing | f901 | 1 | |
fill_listing | f902 | 2 | |
place_bid | f903 | 2 | |
finalize_auction | f904 | 1 | |
set_protocol_fee | f905 | 1 | |
force_create_listing | f906 | 8 | |
force_place_bid | f907 | 4 |
Name | Lookup | Attributes | |
---|---|---|---|
ListingCreated | f900 | ["ListingIdOf","ListingOf"] | |
ListingCancelled | f901 | ["ListingIdOf"] | |
ListingFilled | f902 | ["ListingIdOf","AccountId","TokenBalanceOf","TokenBalanceOf","TokenBalanceOf","TokenBalanceOf"] | |
BidPlaced | f903 | ["ListingIdOf","BidOf"] | |
AuctionFinalized | f904 | ["ListingIdOf","Option<BidOf>","TokenBalanceOf","TokenBalanceOf"] | |
ProtocolFeeSet | f905 | ["Perbill"] |
Name | Type | |
---|---|---|
Info | {"origin":"PlainType","plain_type":"compact<U32>","PlainTypeValue":946} | |
Listings | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H256"],"value":"pallet_marketplace:features:listing:Listing","keys_id":12,"value_id":277}} |
Name | Type | Value | |
---|---|---|---|
MinimumBidIncreasePercentage | U32 | 80f0fa02 | |
ReserveIdentifier | [U8; 8] | 6d61726b74706c63 | |
ListingDeposit | U128 | 009060b6da2e07070000000000000000 | |
ListingActiveDelay | U32 | 05000000 | |
MaxRoundingError | U128 | e8030000000000000000000000000000 | |
MaxSaltLength | U32 | 20000000 |
Name | Docs |
---|---|
UnableToFill | the order cannot be filled |
ListingNotFound | The listing does not exist |
NoPermission | The caller does not have permission for this operation |
MaxRoundingErrorExceeded | The max rounding error was exceeded |
LowBaseCurrencyBalance | The base currency balance is too low |
LowTokenBalance | The token balance is too low |
TransferParamCreationFailed | Transfer params could not be created |
TakeValueUnderMinimum | The take value is under the minimum requirement |
ListingAlreadyExists | A listing with this id already exists |
InvalidAuctionStart | The start time of the auction must be greater than the current block plus theminimum requirement |
InvalidAuctionEnd | The end time of the auction must be after the start |
InactiveAuction | Cannot bid on an auction that has not started or is over |
AuctionNotOver | Cannot finalize an auction that is not over |
ListingIsWrongType | An action was taken that is not compatible with the listing's type. |
InvalidAmount | The amount is invalid |
InvalidPrice | The price is invalid |
ListingForbidden | Listing is forbidden for this token |
NoCurrency | Neither the make side or the take side of the listing is considered a currency |
ListingNotActive | The listing has not crossed the mandatory delay before its considered active |
CurrencyNotAllowedAsRoyalty | The currency is not allowed to be used as a royalty payment |
BuyerIsSeller | The seller is not allowed to buy their own listing |
MakeAssetFrozen | Make asset is frozen |
TakeAssetFrozen | Take asset is frozen |