Describes the different data structres that the program uses to encode state
The event queue account contains a serialized header and a circular buffer of serialized events.
Describes the current state of the event queue
The orderbook market’s central state
This struct is written back into the event queue’s register after new_order or cancel_order.
Events are the primary output of the asset agnostic orderbook
Describes what happens when two order with identical callback informations are matched together
This byte flag is set for order_ids with side Bid, and unset for side Ask
The serialized size of an OrderSummary object.
This helper function deduces an order’s side from its order_id
The event queue register can hold arbitrary data returned by the AAOB. Currently only used to return