diff --git a/indexer/packages/v4-protos/src/codegen/dydxprotocol/clob/clob_pair.ts b/indexer/packages/v4-protos/src/codegen/dydxprotocol/clob/clob_pair.ts index 311cae333a..47257f77bf 100644 --- a/indexer/packages/v4-protos/src/codegen/dydxprotocol/clob/clob_pair.ts +++ b/indexer/packages/v4-protos/src/codegen/dydxprotocol/clob/clob_pair.ts @@ -36,7 +36,7 @@ export enum ClobPair_Status { /** * STATUS_FINAL_SETTLEMENT - STATUS_FINAL_SETTLEMENT represents a clob pair which is deactivated - * and trading has ceased. All open positions will be closed by the protocol.option + * and trading has ceased. All open positions will be closed by the protocol. */ STATUS_FINAL_SETTLEMENT = 6, UNRECOGNIZED = -1, @@ -77,7 +77,7 @@ export enum ClobPair_StatusSDKType { /** * STATUS_FINAL_SETTLEMENT - STATUS_FINAL_SETTLEMENT represents a clob pair which is deactivated - * and trading has ceased. All open positions will be closed by the protocol.option + * and trading has ceased. All open positions will be closed by the protocol. */ STATUS_FINAL_SETTLEMENT = 6, UNRECOGNIZED = -1, diff --git a/indexer/packages/v4-protos/src/codegen/dydxprotocol/indexer/protocol/v1/clob.ts b/indexer/packages/v4-protos/src/codegen/dydxprotocol/indexer/protocol/v1/clob.ts index ab6ade1003..92995bc19d 100644 --- a/indexer/packages/v4-protos/src/codegen/dydxprotocol/indexer/protocol/v1/clob.ts +++ b/indexer/packages/v4-protos/src/codegen/dydxprotocol/indexer/protocol/v1/clob.ts @@ -311,8 +311,8 @@ export enum ClobPairStatus { /** * CLOB_PAIR_STATUS_FINAL_SETTLEMENT - CLOB_PAIR_STATUS_FINAL_SETTLEMENT represents a clob pair that has been * deactivated. Clob pairs in this state do not accept new orders and trading - * is blocked. All open positions are closed by the protocol when the clob pair - * gains this status. + * is blocked. All open positions are closed by the protocol when the clob + * pair gains this status. */ CLOB_PAIR_STATUS_FINAL_SETTLEMENT = 6, UNRECOGNIZED = -1, @@ -360,8 +360,8 @@ export enum ClobPairStatusSDKType { /** * CLOB_PAIR_STATUS_FINAL_SETTLEMENT - CLOB_PAIR_STATUS_FINAL_SETTLEMENT represents a clob pair that has been * deactivated. Clob pairs in this state do not accept new orders and trading - * is blocked. All open positions are closed by the protocol when the clob pair - * gains this status. + * is blocked. All open positions are closed by the protocol when the clob + * pair gains this status. */ CLOB_PAIR_STATUS_FINAL_SETTLEMENT = 6, UNRECOGNIZED = -1, diff --git a/indexer/services/comlink/public/api-documentation.md b/indexer/services/comlink/public/api-documentation.md index f499988468..bd09dc6402 100644 --- a/indexer/services/comlink/public/api-documentation.md +++ b/indexer/services/comlink/public/api-documentation.md @@ -2816,6 +2816,7 @@ or |*anonymous*|CANCEL_ONLY| |*anonymous*|POST_ONLY| |*anonymous*|INITIALIZING| +|*anonymous*|FINAL_SETTLEMENT| ## PerpetualMarketResponseObject diff --git a/indexer/services/comlink/public/swagger.json b/indexer/services/comlink/public/swagger.json index 888773a9d4..fc2e3db6be 100644 --- a/indexer/services/comlink/public/swagger.json +++ b/indexer/services/comlink/public/swagger.json @@ -686,7 +686,8 @@ "PAUSED", "CANCEL_ONLY", "POST_ONLY", - "INITIALIZING" + "INITIALIZING", + "FINAL_SETTLEMENT" ], "type": "string" }, diff --git a/proto/dydxprotocol/clob/clob_pair.proto b/proto/dydxprotocol/clob/clob_pair.proto index 852ca5688b..fb7146de34 100644 --- a/proto/dydxprotocol/clob/clob_pair.proto +++ b/proto/dydxprotocol/clob/clob_pair.proto @@ -66,7 +66,7 @@ message ClobPair { // both short-term and post-only. STATUS_INITIALIZING = 5; // STATUS_FINAL_SETTLEMENT represents a clob pair which is deactivated - // and trading has ceased. All open positions will be closed by the protocol.option + // and trading has ceased. All open positions will be closed by the protocol. STATUS_FINAL_SETTLEMENT = 6; } diff --git a/proto/dydxprotocol/indexer/protocol/v1/clob.proto b/proto/dydxprotocol/indexer/protocol/v1/clob.proto index 3238c410c7..b7b52b0a69 100644 --- a/proto/dydxprotocol/indexer/protocol/v1/clob.proto +++ b/proto/dydxprotocol/indexer/protocol/v1/clob.proto @@ -175,7 +175,7 @@ enum ClobPairStatus { CLOB_PAIR_STATUS_INITIALIZING = 5; // CLOB_PAIR_STATUS_FINAL_SETTLEMENT represents a clob pair that has been // deactivated. Clob pairs in this state do not accept new orders and trading - // is blocked. All open positions are closed by the protocol when the clob pair - // gains this status. + // is blocked. All open positions are closed by the protocol when the clob + // pair gains this status. CLOB_PAIR_STATUS_FINAL_SETTLEMENT = 6; } diff --git a/protocol/indexer/protocol/v1/clob.pb.go b/protocol/indexer/protocol/v1/clob.pb.go index 4299f64106..6e17da3336 100644 --- a/protocol/indexer/protocol/v1/clob.pb.go +++ b/protocol/indexer/protocol/v1/clob.pb.go @@ -49,8 +49,8 @@ const ( ClobPairStatus_CLOB_PAIR_STATUS_INITIALIZING ClobPairStatus = 5 // CLOB_PAIR_STATUS_FINAL_SETTLEMENT represents a clob pair that has been // deactivated. Clob pairs in this state do not accept new orders and trading - // is blocked. All open positions are closed by the protocol when the clob pair - // gains this status. + // is blocked. All open positions are closed by the protocol when the clob + // pair gains this status. ClobPairStatus_CLOB_PAIR_STATUS_FINAL_SETTLEMENT ClobPairStatus = 6 ) diff --git a/protocol/x/clob/types/clob_pair.pb.go b/protocol/x/clob/types/clob_pair.pb.go index 2aedb5678f..909e8c1f7a 100644 --- a/protocol/x/clob/types/clob_pair.pb.go +++ b/protocol/x/clob/types/clob_pair.pb.go @@ -44,7 +44,7 @@ const ( // both short-term and post-only. ClobPair_STATUS_INITIALIZING ClobPair_Status = 5 // STATUS_FINAL_SETTLEMENT represents a clob pair which is deactivated - // and trading has ceased. All open positions will be closed by the protocol.option + // and trading has ceased. All open positions will be closed by the protocol. ClobPair_STATUS_FINAL_SETTLEMENT ClobPair_Status = 6 )