Params

The Order Book module has the following parameters:

  1. Max order book participation: maximum allowed participation count of an order book.

  2. Batch Settlement Count: Automatic batch settlement count in each block.

  3. Requeue Threshold: This is a defined value for resetting the fulfillment queue if liquidity is less than this value.

The proto for the params are as follows:

// Params defines the parameters for the orderbook module.
message Params {
  option (gogoproto.equal) = true;
  option (gogoproto.goproto_stringer) = false;

  // max_order_book_participations is the maximum number of participations per
  // book.
  uint64 max_order_book_participations = 1
      [ (gogoproto.moretags) = "yaml:\"max_order_book_participations\"" ];

  // batch_settlement_count is the batch settlement deposit count.
  uint64 batch_settlement_count = 2
      [ (gogoproto.moretags) = "yaml:\"batch_settlement_count\"" ];

  // requeue_threshold is the threshold at which a participation is re-queued in
  // orderbook.
  uint64 requeue_threshold = 3
      [ (gogoproto.moretags) = "yaml:\"requeue_threshold\"" ];
}

Last updated