@injectivelabs/indexer-proto-ts-v2 1.18.21 → 1.18.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -128,6 +128,14 @@ export interface RFQGwPrepareEip712AutoSignRequestType {
128
128
  * @generated from protobuf field: string cid = 23
129
129
  */
130
130
  cid: string;
131
+ /**
132
+ * Simulate the tx on chain and use the estimated gas (with adjustment buffer)
133
+ * instead of the fee payer max gas. Falls back to max gas if the simulation
134
+ * fails.
135
+ *
136
+ * @generated from protobuf field: bool simulate = 24
137
+ */
138
+ simulate: boolean;
131
139
  /**
132
140
  * Real taker address (authz granter); used as MsgExecuteContractCompat sender
133
141
  *
@@ -149,7 +157,7 @@ export interface RFQGwPrepareEip712AutoSignRequestType {
149
157
  */
150
158
  eip712Wrapper: string;
151
159
  /**
152
- * Optional gas limit override
160
+ * Optional gas limit override. Takes precedence over simulate
153
161
  *
154
162
  * @generated from protobuf field: uint64 gas = 33
155
163
  */
@@ -429,6 +437,14 @@ export interface RFQGwPrepareAutoSignRequestType {
429
437
  * @generated from protobuf field: string cid = 23
430
438
  */
431
439
  cid: string;
440
+ /**
441
+ * Simulate the tx on chain and use the estimated gas (with adjustment buffer)
442
+ * instead of the fee payer max gas. Falls back to max gas if the simulation
443
+ * fails.
444
+ *
445
+ * @generated from protobuf field: bool simulate = 24
446
+ */
447
+ simulate: boolean;
432
448
  /**
433
449
  * Real taker address (authz granter); used as MsgExecuteContractCompat sender
434
450
  *
@@ -634,6 +650,14 @@ export interface RFQGwPrepareEip712RequestType {
634
650
  * @generated from protobuf field: string cid = 23
635
651
  */
636
652
  cid: string;
653
+ /**
654
+ * Simulate the tx on chain and use the estimated gas (with adjustment buffer)
655
+ * instead of the fee payer max gas. Falls back to max gas if the simulation
656
+ * fails.
657
+ *
658
+ * @generated from protobuf field: bool simulate = 24
659
+ */
660
+ simulate: boolean;
637
661
  /**
638
662
  * EVM chain ID used in the EIP712 domain separator (e.g. 1 for Injective
639
663
  * mainnet)
@@ -649,7 +673,7 @@ export interface RFQGwPrepareEip712RequestType {
649
673
  */
650
674
  eip712Wrapper: string;
651
675
  /**
652
- * Optional gas limit override
676
+ * Optional gas limit override. Takes precedence over simulate
653
677
  *
654
678
  * @generated from protobuf field: uint64 gas = 32
655
679
  */
@@ -841,6 +865,14 @@ export interface RFQGwPrepareRequestType {
841
865
  * @generated from protobuf field: string cid = 23
842
866
  */
843
867
  cid: string;
868
+ /**
869
+ * Simulate the tx on chain and use the estimated gas (with adjustment buffer)
870
+ * instead of the fee payer max gas. Falls back to max gas if the simulation
871
+ * fails.
872
+ *
873
+ * @generated from protobuf field: bool simulate = 24
874
+ */
875
+ simulate: boolean;
844
876
  }
845
877
  /**
846
878
  * @generated from protobuf message injective_rfq_gw_rpc.PrepareResponse
@@ -1000,6 +1032,7 @@ class RFQGwPrepareEip712AutoSignRequestType$Type extends MessageType<RFQGwPrepar
1000
1032
  { no: 21, name: "unfilled_action", kind: "message", T: () => RFQSettlementUnfilledActionType },
1001
1033
  { no: 22, name: "subaccount_nonce", kind: "scalar", T: 13 /*ScalarType.UINT32*/ },
1002
1034
  { no: 23, name: "cid", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1035
+ { no: 24, name: "simulate", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
1003
1036
  { no: 30, name: "taker_address", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1004
1037
  { no: 31, name: "eth_chain_id", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },
1005
1038
  { no: 32, name: "eip712_wrapper", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
@@ -1024,6 +1057,7 @@ class RFQGwPrepareEip712AutoSignRequestType$Type extends MessageType<RFQGwPrepar
1024
1057
  message.quotesWaitTimeMs = 0n;
1025
1058
  message.subaccountNonce = 0;
1026
1059
  message.cid = "";
1060
+ message.simulate = false;
1027
1061
  message.takerAddress = "";
1028
1062
  message.ethChainId = 0n;
1029
1063
  message.eip712Wrapper = "";
@@ -1088,6 +1122,9 @@ class RFQGwPrepareEip712AutoSignRequestType$Type extends MessageType<RFQGwPrepar
1088
1122
  case /* string cid */ 23:
1089
1123
  message.cid = reader.string();
1090
1124
  break;
1125
+ case /* bool simulate */ 24:
1126
+ message.simulate = reader.bool();
1127
+ break;
1091
1128
  case /* string taker_address */ 30:
1092
1129
  message.takerAddress = reader.string();
1093
1130
  break;
@@ -1163,6 +1200,9 @@ class RFQGwPrepareEip712AutoSignRequestType$Type extends MessageType<RFQGwPrepar
1163
1200
  /* string cid = 23; */
1164
1201
  if (message.cid !== "")
1165
1202
  writer.tag(23, WireType.LengthDelimited).string(message.cid);
1203
+ /* bool simulate = 24; */
1204
+ if (message.simulate !== false)
1205
+ writer.tag(24, WireType.Varint).bool(message.simulate);
1166
1206
  /* string taker_address = 30; */
1167
1207
  if (message.takerAddress !== "")
1168
1208
  writer.tag(30, WireType.LengthDelimited).string(message.takerAddress);
@@ -1650,6 +1690,7 @@ class RFQGwPrepareAutoSignRequestType$Type extends MessageType<RFQGwPrepareAutoS
1650
1690
  { no: 21, name: "unfilled_action", kind: "message", T: () => RFQSettlementUnfilledActionType },
1651
1691
  { no: 22, name: "subaccount_nonce", kind: "scalar", T: 13 /*ScalarType.UINT32*/ },
1652
1692
  { no: 23, name: "cid", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1693
+ { no: 24, name: "simulate", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
1653
1694
  { no: 30, name: "taker_address", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
1654
1695
  ]);
1655
1696
  }
@@ -1671,6 +1712,7 @@ class RFQGwPrepareAutoSignRequestType$Type extends MessageType<RFQGwPrepareAutoS
1671
1712
  message.quotesWaitTimeMs = 0n;
1672
1713
  message.subaccountNonce = 0;
1673
1714
  message.cid = "";
1715
+ message.simulate = false;
1674
1716
  message.takerAddress = "";
1675
1717
  if (value !== undefined)
1676
1718
  reflectionMergePartial<RFQGwPrepareAutoSignRequestType>(this, message, value);
@@ -1732,6 +1774,9 @@ class RFQGwPrepareAutoSignRequestType$Type extends MessageType<RFQGwPrepareAutoS
1732
1774
  case /* string cid */ 23:
1733
1775
  message.cid = reader.string();
1734
1776
  break;
1777
+ case /* bool simulate */ 24:
1778
+ message.simulate = reader.bool();
1779
+ break;
1735
1780
  case /* string taker_address */ 30:
1736
1781
  message.takerAddress = reader.string();
1737
1782
  break;
@@ -1798,6 +1843,9 @@ class RFQGwPrepareAutoSignRequestType$Type extends MessageType<RFQGwPrepareAutoS
1798
1843
  /* string cid = 23; */
1799
1844
  if (message.cid !== "")
1800
1845
  writer.tag(23, WireType.LengthDelimited).string(message.cid);
1846
+ /* bool simulate = 24; */
1847
+ if (message.simulate !== false)
1848
+ writer.tag(24, WireType.Varint).bool(message.simulate);
1801
1849
  /* string taker_address = 30; */
1802
1850
  if (message.takerAddress !== "")
1803
1851
  writer.tag(30, WireType.LengthDelimited).string(message.takerAddress);
@@ -2028,6 +2076,7 @@ class RFQGwPrepareEip712RequestType$Type extends MessageType<RFQGwPrepareEip712R
2028
2076
  { no: 21, name: "unfilled_action", kind: "message", T: () => RFQSettlementUnfilledActionType },
2029
2077
  { no: 22, name: "subaccount_nonce", kind: "scalar", T: 13 /*ScalarType.UINT32*/ },
2030
2078
  { no: 23, name: "cid", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
2079
+ { no: 24, name: "simulate", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
2031
2080
  { no: 30, name: "eth_chain_id", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },
2032
2081
  { no: 31, name: "eip712_wrapper", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
2033
2082
  { no: 32, name: "gas", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ }
@@ -2051,6 +2100,7 @@ class RFQGwPrepareEip712RequestType$Type extends MessageType<RFQGwPrepareEip712R
2051
2100
  message.quotesWaitTimeMs = 0n;
2052
2101
  message.subaccountNonce = 0;
2053
2102
  message.cid = "";
2103
+ message.simulate = false;
2054
2104
  message.ethChainId = 0n;
2055
2105
  message.eip712Wrapper = "";
2056
2106
  message.gas = 0n;
@@ -2114,6 +2164,9 @@ class RFQGwPrepareEip712RequestType$Type extends MessageType<RFQGwPrepareEip712R
2114
2164
  case /* string cid */ 23:
2115
2165
  message.cid = reader.string();
2116
2166
  break;
2167
+ case /* bool simulate */ 24:
2168
+ message.simulate = reader.bool();
2169
+ break;
2117
2170
  case /* uint64 eth_chain_id */ 30:
2118
2171
  message.ethChainId = reader.uint64().toBigInt();
2119
2172
  break;
@@ -2186,6 +2239,9 @@ class RFQGwPrepareEip712RequestType$Type extends MessageType<RFQGwPrepareEip712R
2186
2239
  /* string cid = 23; */
2187
2240
  if (message.cid !== "")
2188
2241
  writer.tag(23, WireType.LengthDelimited).string(message.cid);
2242
+ /* bool simulate = 24; */
2243
+ if (message.simulate !== false)
2244
+ writer.tag(24, WireType.Varint).bool(message.simulate);
2189
2245
  /* uint64 eth_chain_id = 30; */
2190
2246
  if (message.ethChainId !== 0n)
2191
2247
  writer.tag(30, WireType.Varint).uint64(message.ethChainId);
@@ -2405,7 +2461,8 @@ class RFQGwPrepareRequestType$Type extends MessageType<RFQGwPrepareRequestType>
2405
2461
  { no: 20, name: "quotes_wait_time_ms", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },
2406
2462
  { no: 21, name: "unfilled_action", kind: "message", T: () => RFQSettlementUnfilledActionType },
2407
2463
  { no: 22, name: "subaccount_nonce", kind: "scalar", T: 13 /*ScalarType.UINT32*/ },
2408
- { no: 23, name: "cid", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
2464
+ { no: 23, name: "cid", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
2465
+ { no: 24, name: "simulate", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
2409
2466
  ]);
2410
2467
  }
2411
2468
  create(value?: PartialMessage<RFQGwPrepareRequestType>): RFQGwPrepareRequestType {
@@ -2426,6 +2483,7 @@ class RFQGwPrepareRequestType$Type extends MessageType<RFQGwPrepareRequestType>
2426
2483
  message.quotesWaitTimeMs = 0n;
2427
2484
  message.subaccountNonce = 0;
2428
2485
  message.cid = "";
2486
+ message.simulate = false;
2429
2487
  if (value !== undefined)
2430
2488
  reflectionMergePartial<RFQGwPrepareRequestType>(this, message, value);
2431
2489
  return message;
@@ -2486,6 +2544,9 @@ class RFQGwPrepareRequestType$Type extends MessageType<RFQGwPrepareRequestType>
2486
2544
  case /* string cid */ 23:
2487
2545
  message.cid = reader.string();
2488
2546
  break;
2547
+ case /* bool simulate */ 24:
2548
+ message.simulate = reader.bool();
2549
+ break;
2489
2550
  default:
2490
2551
  let u = options.readUnknownField;
2491
2552
  if (u === "throw")
@@ -2549,6 +2610,9 @@ class RFQGwPrepareRequestType$Type extends MessageType<RFQGwPrepareRequestType>
2549
2610
  /* string cid = 23; */
2550
2611
  if (message.cid !== "")
2551
2612
  writer.tag(23, WireType.LengthDelimited).string(message.cid);
2613
+ /* bool simulate = 24; */
2614
+ if (message.simulate !== false)
2615
+ writer.tag(24, WireType.Varint).bool(message.simulate);
2552
2616
  let u = options.writeUnknownFields;
2553
2617
  if (u !== false)
2554
2618
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -167,6 +167,13 @@ class RFQGwPrepareEip712AutoSignRequestType$Type extends MessageType {
167
167
  T: 9
168
168
  /*ScalarType.STRING*/
169
169
  },
170
+ {
171
+ no: 24,
172
+ name: "simulate",
173
+ kind: "scalar",
174
+ T: 8
175
+ /*ScalarType.BOOL*/
176
+ },
170
177
  {
171
178
  no: 30,
172
179
  name: "taker_address",
@@ -217,6 +224,7 @@ class RFQGwPrepareEip712AutoSignRequestType$Type extends MessageType {
217
224
  message.quotesWaitTimeMs = 0n;
218
225
  message.subaccountNonce = 0;
219
226
  message.cid = "";
227
+ message.simulate = false;
220
228
  message.takerAddress = "";
221
229
  message.ethChainId = 0n;
222
230
  message.eip712Wrapper = "";
@@ -298,6 +306,10 @@ class RFQGwPrepareEip712AutoSignRequestType$Type extends MessageType {
298
306
  23:
299
307
  message.cid = reader.string();
300
308
  break;
309
+ case /* bool simulate */
310
+ 24:
311
+ message.simulate = reader.bool();
312
+ break;
301
313
  case /* string taker_address */
302
314
  30:
303
315
  message.takerAddress = reader.string();
@@ -360,6 +372,8 @@ class RFQGwPrepareEip712AutoSignRequestType$Type extends MessageType {
360
372
  writer.tag(22, WireType.Varint).uint32(message.subaccountNonce);
361
373
  if (message.cid !== "")
362
374
  writer.tag(23, WireType.LengthDelimited).string(message.cid);
375
+ if (message.simulate !== false)
376
+ writer.tag(24, WireType.Varint).bool(message.simulate);
363
377
  if (message.takerAddress !== "")
364
378
  writer.tag(30, WireType.LengthDelimited).string(message.takerAddress);
365
379
  if (message.ethChainId !== 0n)
@@ -1020,6 +1034,13 @@ class RFQGwPrepareAutoSignRequestType$Type extends MessageType {
1020
1034
  T: 9
1021
1035
  /*ScalarType.STRING*/
1022
1036
  },
1037
+ {
1038
+ no: 24,
1039
+ name: "simulate",
1040
+ kind: "scalar",
1041
+ T: 8
1042
+ /*ScalarType.BOOL*/
1043
+ },
1023
1044
  {
1024
1045
  no: 30,
1025
1046
  name: "taker_address",
@@ -1047,6 +1068,7 @@ class RFQGwPrepareAutoSignRequestType$Type extends MessageType {
1047
1068
  message.quotesWaitTimeMs = 0n;
1048
1069
  message.subaccountNonce = 0;
1049
1070
  message.cid = "";
1071
+ message.simulate = false;
1050
1072
  message.takerAddress = "";
1051
1073
  if (value !== void 0)
1052
1074
  reflectionMergePartial(this, message, value);
@@ -1125,6 +1147,10 @@ class RFQGwPrepareAutoSignRequestType$Type extends MessageType {
1125
1147
  23:
1126
1148
  message.cid = reader.string();
1127
1149
  break;
1150
+ case /* bool simulate */
1151
+ 24:
1152
+ message.simulate = reader.bool();
1153
+ break;
1128
1154
  case /* string taker_address */
1129
1155
  30:
1130
1156
  message.takerAddress = reader.string();
@@ -1175,6 +1201,8 @@ class RFQGwPrepareAutoSignRequestType$Type extends MessageType {
1175
1201
  writer.tag(22, WireType.Varint).uint32(message.subaccountNonce);
1176
1202
  if (message.cid !== "")
1177
1203
  writer.tag(23, WireType.LengthDelimited).string(message.cid);
1204
+ if (message.simulate !== false)
1205
+ writer.tag(24, WireType.Varint).bool(message.simulate);
1178
1206
  if (message.takerAddress !== "")
1179
1207
  writer.tag(30, WireType.LengthDelimited).string(message.takerAddress);
1180
1208
  let u = options.writeUnknownFields;
@@ -1573,6 +1601,13 @@ class RFQGwPrepareEip712RequestType$Type extends MessageType {
1573
1601
  T: 9
1574
1602
  /*ScalarType.STRING*/
1575
1603
  },
1604
+ {
1605
+ no: 24,
1606
+ name: "simulate",
1607
+ kind: "scalar",
1608
+ T: 8
1609
+ /*ScalarType.BOOL*/
1610
+ },
1576
1611
  {
1577
1612
  no: 30,
1578
1613
  name: "eth_chain_id",
@@ -1616,6 +1651,7 @@ class RFQGwPrepareEip712RequestType$Type extends MessageType {
1616
1651
  message.quotesWaitTimeMs = 0n;
1617
1652
  message.subaccountNonce = 0;
1618
1653
  message.cid = "";
1654
+ message.simulate = false;
1619
1655
  message.ethChainId = 0n;
1620
1656
  message.eip712Wrapper = "";
1621
1657
  message.gas = 0n;
@@ -1696,6 +1732,10 @@ class RFQGwPrepareEip712RequestType$Type extends MessageType {
1696
1732
  23:
1697
1733
  message.cid = reader.string();
1698
1734
  break;
1735
+ case /* bool simulate */
1736
+ 24:
1737
+ message.simulate = reader.bool();
1738
+ break;
1699
1739
  case /* uint64 eth_chain_id */
1700
1740
  30:
1701
1741
  message.ethChainId = reader.uint64().toBigInt();
@@ -1754,6 +1794,8 @@ class RFQGwPrepareEip712RequestType$Type extends MessageType {
1754
1794
  writer.tag(22, WireType.Varint).uint32(message.subaccountNonce);
1755
1795
  if (message.cid !== "")
1756
1796
  writer.tag(23, WireType.LengthDelimited).string(message.cid);
1797
+ if (message.simulate !== false)
1798
+ writer.tag(24, WireType.Varint).bool(message.simulate);
1757
1799
  if (message.ethChainId !== 0n)
1758
1800
  writer.tag(30, WireType.Varint).uint64(message.ethChainId);
1759
1801
  if (message.eip712Wrapper !== "")
@@ -2125,6 +2167,13 @@ class RFQGwPrepareRequestType$Type extends MessageType {
2125
2167
  kind: "scalar",
2126
2168
  T: 9
2127
2169
  /*ScalarType.STRING*/
2170
+ },
2171
+ {
2172
+ no: 24,
2173
+ name: "simulate",
2174
+ kind: "scalar",
2175
+ T: 8
2176
+ /*ScalarType.BOOL*/
2128
2177
  }
2129
2178
  ]);
2130
2179
  }
@@ -2146,6 +2195,7 @@ class RFQGwPrepareRequestType$Type extends MessageType {
2146
2195
  message.quotesWaitTimeMs = 0n;
2147
2196
  message.subaccountNonce = 0;
2148
2197
  message.cid = "";
2198
+ message.simulate = false;
2149
2199
  if (value !== void 0)
2150
2200
  reflectionMergePartial(this, message, value);
2151
2201
  return message;
@@ -2223,6 +2273,10 @@ class RFQGwPrepareRequestType$Type extends MessageType {
2223
2273
  23:
2224
2274
  message.cid = reader.string();
2225
2275
  break;
2276
+ case /* bool simulate */
2277
+ 24:
2278
+ message.simulate = reader.bool();
2279
+ break;
2226
2280
  default:
2227
2281
  let u = options.readUnknownField;
2228
2282
  if (u === "throw")
@@ -2269,6 +2323,8 @@ class RFQGwPrepareRequestType$Type extends MessageType {
2269
2323
  writer.tag(22, WireType.Varint).uint32(message.subaccountNonce);
2270
2324
  if (message.cid !== "")
2271
2325
  writer.tag(23, WireType.LengthDelimited).string(message.cid);
2326
+ if (message.simulate !== false)
2327
+ writer.tag(24, WireType.Varint).bool(message.simulate);
2272
2328
  let u = options.writeUnknownFields;
2273
2329
  if (u !== false)
2274
2330
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -878,7 +878,7 @@ export interface ConditionalOrderResponseType {
878
878
  */
879
879
  eventTime: bigint;
880
880
  /**
881
- * Last error message, if any
881
+ * Deprecated: use 'errors' instead. Last error message, if any.
882
882
  *
883
883
  * @generated from protobuf field: string error = 16
884
884
  */
@@ -909,6 +909,12 @@ export interface ConditionalOrderResponseType {
909
909
  * @generated from protobuf field: uint64 taker_nonce_time_window_ms = 20
910
910
  */
911
911
  takerNonceTimeWindowMs: bigint;
912
+ /**
913
+ * All error messages accumulated across execution attempts (most recent last)
914
+ *
915
+ * @generated from protobuf field: repeated string errors = 21
916
+ */
917
+ errors: string[];
912
918
  }
913
919
  /**
914
920
  * @generated from protobuf message injective_rfq_rpc.ListConditionalOrdersRequest
@@ -1304,12 +1310,23 @@ export interface StreamError {
1304
1310
  */
1305
1311
  message: string;
1306
1312
  /**
1307
- * ID to identify the request or quote in the stream. RFQ_ID for quotes.
1308
- * CLIENT_ID for requests.
1313
+ * Client ID. Only filled in taker streams
1309
1314
  *
1310
1315
  * @generated from protobuf field: string id = 3
1311
1316
  */
1312
1317
  id: string;
1318
+ /**
1319
+ * Taker address. Only filled in the maker stream
1320
+ *
1321
+ * @generated from protobuf field: string taker = 4
1322
+ */
1323
+ taker: string;
1324
+ /**
1325
+ * RFQ ID. Only filled if available
1326
+ *
1327
+ * @generated from protobuf field: uint64 rfq_id = 5
1328
+ */
1329
+ rfqId: bigint;
1313
1330
  }
1314
1331
  /**
1315
1332
  * Acknowledgment for conditional order creation
@@ -1434,6 +1451,12 @@ export interface QuoteStreamAck {
1434
1451
  * @generated from protobuf field: string status = 2
1435
1452
  */
1436
1453
  status: string;
1454
+ /**
1455
+ * Taker address
1456
+ *
1457
+ * @generated from protobuf field: string taker = 3
1458
+ */
1459
+ taker: string;
1437
1460
  }
1438
1461
  /**
1439
1462
  * RFQ settlement update streamed to maker in real-time
@@ -3189,7 +3212,8 @@ class ConditionalOrderResponseType$Type extends MessageType<ConditionalOrderResp
3189
3212
  { no: 17, name: "tx_hash", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
3190
3213
  { no: 18, name: "terminal_at", kind: "scalar", T: 18 /*ScalarType.SINT64*/, L: 0 /*LongType.BIGINT*/ },
3191
3214
  { no: 19, name: "evm_chain_id", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },
3192
- { no: 20, name: "taker_nonce_time_window_ms", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ }
3215
+ { no: 20, name: "taker_nonce_time_window_ms", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },
3216
+ { no: 21, name: "errors", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
3193
3217
  ]);
3194
3218
  }
3195
3219
  create(value?: PartialMessage<ConditionalOrderResponseType>): ConditionalOrderResponseType {
@@ -3214,6 +3238,7 @@ class ConditionalOrderResponseType$Type extends MessageType<ConditionalOrderResp
3214
3238
  message.terminalAt = 0n;
3215
3239
  message.evmChainId = 0n;
3216
3240
  message.takerNonceTimeWindowMs = 0n;
3241
+ message.errors = [];
3217
3242
  if (value !== undefined)
3218
3243
  reflectionMergePartial<ConditionalOrderResponseType>(this, message, value);
3219
3244
  return message;
@@ -3283,6 +3308,9 @@ class ConditionalOrderResponseType$Type extends MessageType<ConditionalOrderResp
3283
3308
  case /* uint64 taker_nonce_time_window_ms */ 20:
3284
3309
  message.takerNonceTimeWindowMs = reader.uint64().toBigInt();
3285
3310
  break;
3311
+ case /* repeated string errors */ 21:
3312
+ message.errors.push(reader.string());
3313
+ break;
3286
3314
  default:
3287
3315
  let u = options.readUnknownField;
3288
3316
  if (u === "throw")
@@ -3355,6 +3383,9 @@ class ConditionalOrderResponseType$Type extends MessageType<ConditionalOrderResp
3355
3383
  /* uint64 taker_nonce_time_window_ms = 20; */
3356
3384
  if (message.takerNonceTimeWindowMs !== 0n)
3357
3385
  writer.tag(20, WireType.Varint).uint64(message.takerNonceTimeWindowMs);
3386
+ /* repeated string errors = 21; */
3387
+ for (let i = 0; i < message.errors.length; i++)
3388
+ writer.tag(21, WireType.LengthDelimited).string(message.errors[i]);
3358
3389
  let u = options.writeUnknownFields;
3359
3390
  if (u !== false)
3360
3391
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -4068,7 +4099,9 @@ class StreamError$Type extends MessageType<StreamError> {
4068
4099
  super("injective_rfq_rpc.StreamError", [
4069
4100
  { no: 1, name: "code", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
4070
4101
  { no: 2, name: "message_", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
4071
- { no: 3, name: "id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
4102
+ { no: 3, name: "id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
4103
+ { no: 4, name: "taker", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
4104
+ { no: 5, name: "rfq_id", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ }
4072
4105
  ]);
4073
4106
  }
4074
4107
  create(value?: PartialMessage<StreamError>): StreamError {
@@ -4076,6 +4109,8 @@ class StreamError$Type extends MessageType<StreamError> {
4076
4109
  message.code = "";
4077
4110
  message.message = "";
4078
4111
  message.id = "";
4112
+ message.taker = "";
4113
+ message.rfqId = 0n;
4079
4114
  if (value !== undefined)
4080
4115
  reflectionMergePartial<StreamError>(this, message, value);
4081
4116
  return message;
@@ -4094,6 +4129,12 @@ class StreamError$Type extends MessageType<StreamError> {
4094
4129
  case /* string id */ 3:
4095
4130
  message.id = reader.string();
4096
4131
  break;
4132
+ case /* string taker */ 4:
4133
+ message.taker = reader.string();
4134
+ break;
4135
+ case /* uint64 rfq_id */ 5:
4136
+ message.rfqId = reader.uint64().toBigInt();
4137
+ break;
4097
4138
  default:
4098
4139
  let u = options.readUnknownField;
4099
4140
  if (u === "throw")
@@ -4115,6 +4156,12 @@ class StreamError$Type extends MessageType<StreamError> {
4115
4156
  /* string id = 3; */
4116
4157
  if (message.id !== "")
4117
4158
  writer.tag(3, WireType.LengthDelimited).string(message.id);
4159
+ /* string taker = 4; */
4160
+ if (message.taker !== "")
4161
+ writer.tag(4, WireType.LengthDelimited).string(message.taker);
4162
+ /* uint64 rfq_id = 5; */
4163
+ if (message.rfqId !== 0n)
4164
+ writer.tag(5, WireType.Varint).uint64(message.rfqId);
4118
4165
  let u = options.writeUnknownFields;
4119
4166
  if (u !== false)
4120
4167
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -4381,13 +4428,15 @@ class QuoteStreamAck$Type extends MessageType<QuoteStreamAck> {
4381
4428
  constructor() {
4382
4429
  super("injective_rfq_rpc.QuoteStreamAck", [
4383
4430
  { no: 1, name: "rfq_id", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },
4384
- { no: 2, name: "status", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
4431
+ { no: 2, name: "status", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
4432
+ { no: 3, name: "taker", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
4385
4433
  ]);
4386
4434
  }
4387
4435
  create(value?: PartialMessage<QuoteStreamAck>): QuoteStreamAck {
4388
4436
  const message = globalThis.Object.create((this.messagePrototype!));
4389
4437
  message.rfqId = 0n;
4390
4438
  message.status = "";
4439
+ message.taker = "";
4391
4440
  if (value !== undefined)
4392
4441
  reflectionMergePartial<QuoteStreamAck>(this, message, value);
4393
4442
  return message;
@@ -4403,6 +4452,9 @@ class QuoteStreamAck$Type extends MessageType<QuoteStreamAck> {
4403
4452
  case /* string status */ 2:
4404
4453
  message.status = reader.string();
4405
4454
  break;
4455
+ case /* string taker */ 3:
4456
+ message.taker = reader.string();
4457
+ break;
4406
4458
  default:
4407
4459
  let u = options.readUnknownField;
4408
4460
  if (u === "throw")
@@ -4421,6 +4473,9 @@ class QuoteStreamAck$Type extends MessageType<QuoteStreamAck> {
4421
4473
  /* string status = 2; */
4422
4474
  if (message.status !== "")
4423
4475
  writer.tag(2, WireType.LengthDelimited).string(message.status);
4476
+ /* string taker = 3; */
4477
+ if (message.taker !== "")
4478
+ writer.tag(3, WireType.LengthDelimited).string(message.taker);
4424
4479
  let u = options.writeUnknownFields;
4425
4480
  if (u !== false)
4426
4481
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);