BuilderCodeParameters represents the metadata for the partner or builder of
an order. This allows them to specify a fee for providing there service which
will be paid out in the event of an order fill.
ClobMatch represents an operations queue entry around all different types
of matches, specifically regular matches, liquidation matches, and
deleveraging matches.
ConditionalOrderPlacement represents the placement of a conditional order in
state. It stores the stateful order itself, the BlockHeight and
TransactionIndex at which the order was placed and triggered.
LongTermOrderPlacement represents the placement of a stateful order in
state. It stores the stateful order itself and the BlockHeight and
TransactionIndex at which the order was placed.
MsgBatchCancel is a request type used for batch canceling orders.
This msg is not atomic. Cancels will be performed optimistically even
if some cancels are invalid or fail.
OrderBatch represents a batch of orders all belonging to a single clob pair
id. Along with a subaccount id and an order flag, is used to represent a
batch of orders that share the same subaccount, order flag, and clob pair id.
OrderFillState represents the fill amount of an order according to on-chain
state. This proto includes both the current on-chain fill amount of the
order, as well as the block at which this information can be pruned from
state.
PerpetualLiquidationInfo holds information about a liquidation that occurred
for a position held by a subaccount.
Note this proto is defined to make it easier to hash
the metadata of a liquidation, and is never written to state.
ProcessProposerMatchesEvents is used for communicating which events occurred
in the last block that require updating the state of the memclob in the
Commit blocker. It contains information about the following state updates:
StatefulOrderTimeSliceValue represents the type of the value of the
StatefulOrdersTimeSlice in state. The StatefulOrdersTimeSlice
in state consists of key/value pairs where the keys are UTF-8-encoded
RFC3339NANO timestamp strings with right-padded zeroes and no
time zone info, and the values are of type StatefulOrderTimeSliceValue.
This StatefulOrderTimeSliceValue in state is used for managing stateful
order expiration. Stateful order expirations can be for either long term
or conditional orders.
StreamTakerOrder provides information on a taker order that was attempted
to be matched on the orderbook.
It is intended to be used only in full node streaming.
StreamTakerOrderStatus is a representation of a taker order
after it is attempted to be matched on the orderbook.
It is intended to be used only in full node streaming.
SubaccountBlockLimits stores all configurable fields related to limits
around how many quote quantums from a single subaccount can
be liquidated within a single block.
TransactionOrdering represents a unique location in the block where a
transaction was placed. This proto includes both block height and the
transaction index that the specific transaction was placed. This information
is used for ordering by time priority when the chain is restarted.
TwapOrderPlacement represents the placement of a TWAP order in
the TWAP Order State. It will store the original parent TWAP order as
well as maintain the state of the remaining legs and quantums
to be executed.