Name | Lookup | Parameters | |
|---|---|---|---|
| force_set_authority | 0d00 | 1 | |
| set_fee_signer_address | 0d01 | 1 | |
| set_payout_address | 0d02 | 1 | |
| create_order | 0d03 | 2 | |
| cancel_order | 0d04 | 4 |
Name | Lookup | Attributes | |
|---|---|---|---|
| AuthorityUpdated | 0d00 | ["AccountId"] | |
| FeeSignerAddressUpdate | 0d01 | ["AccountId"] | |
| PayoutAddressUpdated | 0d02 | ["AccountId"] | |
| OrderCreated | 0d03 | ["AccountId","OrderType","CollectionId","ItemId","BalanceOf","Moment","BalanceOf"] | |
| OrderExecuted | 0d04 | ["CollectionId","ItemId","AccountId","AccountId","BalanceOf","BalanceOf","BalanceOf"] | |
| OrderCanceled | 0d05 | ["CollectionId","ItemId","AccountId"] |
Name | Type | |
|---|---|---|
| Authority | {"origin":"PlainType","plain_type":"H160","PlainTypeValue":0} | |
| FeeSigner | {"origin":"PlainType","plain_type":"H160","PlainTypeValue":0} | |
| Nonces | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["Vec<U8>"],"value":"Bool","keys_id":368,"value_id":8}} | |
| PayoutAddress | {"origin":"PlainType","plain_type":"H160","PlainTypeValue":0} | |
| Asks | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["U256","U128"],"value":"pallet_marketplace:types:Ask","keys_id":343,"value_id":369}} | |
| Bids | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat","Blake2_128Concat"],"key_vec":["U256","U128","U128"],"value":"pallet_marketplace:types:Bid","keys_id":370,"value_id":371}} |
Name | Type | Value | |
|---|---|---|---|
| MinOrderDuration | U64 | 0a00000000000000 | |
| NonceStringLimit | U32 | 32000000 |
Name | Docs |
|---|---|
| NotAuthority | The account is not the authority |
| AccountAlreadySet | Tried to store an account that is already set for this storage value. |
| FeeSignerAddressNotSet | |
| PayoutAddressNotSet | |
| ItemNotFound | The item was not found. |
| InvalidPrice | The provided price is too low. |
| InvalidExpiration | Expiration time provided is too low. |
| InvalidFeePercent | Fee percent provided is too low. |
| OrderAlreadyExists | Ask or Bid with the same characteristics already exists. |
| ValidMatchMustExist | A valid match must exist to execute the order |
| NotItemOwner | Item can only be operated by the Item owner. |
| BadSignedMessage | Invalid Signed message |
| ItemAlreadyLocked | The Item is already locked and can't be used. |
| AlreadyUsedNonce | Nonce has already been used |
| BidOnOwnedItem | The item is already owned by the account trying to bid on it. |
| BuyerIsSeller | Not allowed for the buyer of an item to be the same as the seller. |
| OrderExpired | The ask is already past its expiration time. |
| OrderNotFound | The order was not found. |
| InsufficientFunds | User Balance is insufficient for the required action |
| NotOrderCreatorOrAdmin | The caller is not the orderc creator or the admin account of the pallet |
| BadNonce | The provided nonce had an invalid size |
| Overflow | An overflow happened. |