Name | Lookup | Parameters | |
---|---|---|---|
remove_order | 3d00 | 1 | |
fill_order | 3d01 | 2 | |
place_order | 3d02 | 5 |
Name | Lookup | Attributes | |
---|---|---|---|
OrderFilled | 3d00 | ["OrderId","AccountIdOf","AccountIdOf","BalanceOf","BalanceOf","BalanceOf","BalanceOf","ExternalFeeOf"] | |
OrderPlaced | 3d01 | ["OrderId","OrderOf"] | |
OrderRemoved | 3d02 | ["OrderId","AccountId"] |
Name | Type | |
---|---|---|
NextOrderId | {"origin":"PlainType","plain_type":"U128","PlainTypeValue":6} | |
Orders | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U128"],"value":"zeitgeist_primitives:orderbook:Order","keys_id":6,"value_id":127}} |
Name | Type | Value | |
---|---|---|---|
PalletId | [U8; 8] | 7a67652f6f726462 |
Name | Docs |
---|---|
NotOrderCreator | The sender is not the order creator. |
OrderDoesNotExist | The order does not exist. |
MarketIsNotActive | The market is not active. |
InvalidScoringRule | The scoring rule is not order book. |
AmountTooHighForOrder | The specified amount parameter is too high for the order. |
InvalidOutcomeAsset | The specified outcome asset is not part of the market. |
PartialFillNearFullFillNotAllowed | The maker partial fill leads to a too low quotient for the next order execution. |
MarketBaseAssetNotPresent | The market base asset is not present. |
BelowMinimumBalance | The specified amount is below the minimum balance. |