Zeitgeist
subscan
Runtime Modules / Orderbook
Spec Version:
Call Functions
Name
Lookup
Parameters
remove_order3d001
fill_order3d012
place_order3d025
Events
Name
Lookup
Attributes
OrderFilled3d00["OrderId","AccountIdOf","AccountIdOf","BalanceOf","BalanceOf","BalanceOf","BalanceOf"]
OrderPlaced3d01["OrderId","OrderOf"]
OrderRemoved3d02["OrderId","AccountId"]
Storage Functions
Name
Type
NextOrderId{"origin":"PlainType","plain_type":"U128","PlainTypeValue":6}
Orders{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U128"],"value":"zrml_orderbook:types:Order","keys_id":6,"value_id":129}}
Constants
Name
Type
Value
PalletId[U8; 8]7a67652f6f726462
Error Types
Name
Docs
NotOrderCreatorThe sender is not the order creator.
OrderDoesNotExistThe order does not exist.
MarketIsNotActiveThe market is not active.
InvalidScoringRuleThe scoring rule is not order book.
AmountTooHighForOrderThe specified amount parameter is too high for the order.
InvalidOutcomeAssetThe specified outcome asset is not part of the market.
PartialFillNearFullFillNotAllowedThe maker partial fill leads to a too low quotient for the next order execution.
MarketBaseAssetNotPresentThe market base asset is not present.
BelowMinimumBalanceThe specified amount is below the minimum balance.