Name | Lookup | Parameters | |
|---|---|---|---|
| create_listing | 3200 | 6 | |
| cancel_listing | 3201 | 1 | |
| fill_listing | 3202 | 2 | |
| place_bid | 3203 | 2 | |
| finalize_auction | 3204 | 1 | |
| set_protocol_fee | 3205 | 1 | |
| force_create_listing | 3206 | 8 | |
| force_place_bid | 3207 | 4 |
Name | Lookup | Attributes | |
|---|---|---|---|
| ListingCreated | 3200 | ["ListingIdOf","ListingOf"] | |
| ListingCancelled | 3201 | ["ListingIdOf"] | |
| ListingFilled | 3202 | ["ListingIdOf","AccountId","TokenBalanceOf","TokenBalanceOf","TokenBalanceOf","TokenBalanceOf"] | |
| BidPlaced | 3203 | ["ListingIdOf","BidOf"] | |
| AuctionFinalized | 3204 | ["ListingIdOf","Option<BidOf>","TokenBalanceOf","TokenBalanceOf"] | |
| ProtocolFeeSet | 3205 | ["Perbill"] |
Name | Type | |
|---|---|---|
| Info | {"origin":"PlainType","plain_type":"compact<U32>","PlainTypeValue":696} | |
| Listings | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H256"],"value":"pallet_marketplace:features:listing:Listing","keys_id":12,"value_id":228}} |
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 |