Name | Lookup | Parameters | |
|---|---|---|---|
| create_listing | 3200 | 2 | |
| cancel_listing | 3201 | 1 | |
| add_whitelisted_accounts | 320c | 2 | |
| remove_whitelisted_accounts | 320d | 2 | |
| fill_listing | 3202 | 3 | |
| place_bid | 3203 | 2 | |
| place_counter_offer | 3209 | 3 | |
| answer_counter_offer | 320a | 5 | |
| finalize_auction | 3204 | 2 | |
| remove_expired_listing | 3208 | 1 | |
| set_protocol_fee | 3205 | 1 | |
| force_create_listing | 3206 | 3 | |
| force_place_bid | 3207 | 4 | |
| force_cancel_listing | 320b | 1 | |
| upgrade_listings | 320e | 1 |
Name | Lookup | Attributes | |
|---|---|---|---|
| ListingCreated | 3200 | ["ListingIdOf","Listing"] | |
| ListingCancelled | 3201 | ["ListingIdOf"] | |
| ListingFilled | 3202 | ["ListingIdOf","AccountId","TokenBalanceOf","TokenBalanceOf","TokenBalanceOf","TokenBalanceOf","TokenBalanceOf"] | |
| BidPlaced | 3203 | ["ListingIdOf","Bid"] | |
| AuctionFinalized | 3204 | ["ListingIdOf","Option<Bid>","TokenBalanceOf","TokenBalanceOf"] | |
| ProtocolFeeSet | 3205 | ["Perbill"] | |
| ExpiredListingRemoved | 3206 | ["ListingIdOf"] | |
| CounterOfferPlaced | 3207 | ["ListingIdOf","CounterOffer"] | |
| CounterOfferAnswered | 3208 | ["ListingIdOf","AccountId","CounterOfferResponseOf"] | |
| CounterOfferRemoved | 3209 | ["ListingIdOf","AccountId"] | |
| MigrationStep | 320a | ["u32","u8"] | |
| ListingRemovedUnderMinimum | 320b | ["ListingIdOf"] | |
| ListingUpgraded | 320c | ["ListingIdOf"] | |
| WhitelistedAccountsAdded | 320d | ["ListingIdOf","WhitelistAddAccountsOf"] | |
| WhitelistedAccountsRemoved | 320e | ["ListingIdOf","WhitelistRemoveAccountsOf"] |
Name | Type | |
|---|---|---|
| Info | {"origin":"PlainType","plain_type":"compact<U32>","PlainTypeValue":815} | |
| Listings | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H256"],"value":"pallet_marketplace:features:listing:Listing","keys_id":13,"value_id":270}} | |
| CounterOffers | {"origin":"Map","n_map_type":{"hashers":["Identity","Twox64Concat"],"key_vec":["H256","AccountId"],"value":"pallet_marketplace:features:offer:CounterOffer","keys_id":816,"value_id":281}} | |
| NextListingIdInput | {"origin":"PlainType","plain_type":"U128","PlainTypeValue":6} | |
| PendingActions | {"origin":"PlainType","plain_type":"Vec<pallet_marketplace:types:PendingAction>","PlainTypeValue":817} | |
| WhitelistedAccounts | {"origin":"Map","n_map_type":{"hashers":["Identity","Twox64Concat"],"key_vec":["H256","AccountId"],"value":"pallet_marketplace:features:whitelist:WhitelistedAccount","keys_id":816,"value_id":820}} | |
| UpgradeBlockNumber | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} |
Name | Type | Value | |
|---|---|---|---|
| MinimumBidIncreasePercentage | U32 | 80f0fa02 | |
| ListingDeposit | U128 | 008008979ca50a070000000000000000 | |
| CounterOfferDeposit | U128 | 00008a5d784563010000000000000000 | |
| WhitelistedAccountDeposit | U128 | 00008a5d784563010000000000000000 | |
| ListingActiveDelay | U32 | 0a000000 | |
| MaxRoundingError | U128 | e8030000000000000000000000000000 | |
| MaxSaltLength | U32 | 20000000 | |
| MaxPendingActions | U32 | 64000000 | |
| MaxWhitelistedAccountsPerExtrinsic | U32 | 64000000 | |
| MaxUpgradeBatchSize | U32 | ac0d0000 |
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 |
| ReceivedValueUnderMinimum | The take value is under the minimum requirement |
| ListingAlreadyExists | A listing with this id already exists |
| 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 |
| InvalidListingStart | The start time of the listing must be greater than the current block plus thelisting active delay |
| 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 |
| CannotCancelAuctionWithBid | Cannot cancel auction with active bid |
| CannotCancelAuctionAfterEndBlock | Cannot cancel auction after end block |
| InvalidExpiration | The expiration block must be in the future |
| NotExpired | The listing is not expired and cannot be removed |
| NoCounterOffer | A counter offer is required but does not exist |
| PartialFillNotAllowed | Offers do not support partial fills |
| InvalidFeeSide | The fee side does not match the listing type |
| WrongCurrentPrice | The passed `current_price` does not match the actual current price |
| CannotCounterSelf | Cannot place a counter offer on own offer |
| MaxPendingActionsExceeded | Max number of pending actions has been exceeded |
| CounterOfferExists | The counter offer already exists |
| ListingExpired | The listing is expired and cannot be filled |
| CannotAcceptOwnCounterOffer | The seller cannot accept their own counter offer |
| AccountNotWhitelisted | The buyer is not whitelisted in this listing |
| WhitelistAmountAllowedExceeded | Tried to fill a listing beyond what the whitelist allows for the buyer |
| ListingDoesNotUseWhitelist | A whitelist operation was attempted on a lsiting that doesn't use it |
| IncorrectRoyaltyBeneficiaryCount | Incorrect number of beneficiaries was passed |