@injectivelabs/sdk-ts 1.20.67 → 1.21.0-alpha.0

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.
Files changed (110) hide show
  1. package/README.md +25 -0
  2. package/dist/cjs/{BaseGrpcConsumer-DVDjYQks.d.cts → BaseGrpcConsumer-CRYBdXm9.d.cts} +1 -1
  3. package/dist/cjs/{ChainGrpcExchangeApi-DEoO0jhR.cjs → ChainGrpcExchangeApi-D2diaVMC.cjs} +2 -73
  4. package/dist/cjs/{ChainRestTendermintApi-BkHzZIRZ.cjs → ChainRestTendermintApi-BSGN-XV3.cjs} +2 -2
  5. package/dist/cjs/{DirectEthSecp256k1Wallet-DfvrKuF8.cjs → DirectEthSecp256k1Wallet-CsOHUTrG.cjs} +1 -1
  6. package/dist/cjs/{ExecArgNeptuneWithdraw-BJHAQJlT.cjs → ExecArgNeptuneWithdraw-CHK2kF7l.cjs} +2 -2
  7. package/dist/cjs/{IndexerGrpcWeb3GwApi-C9VUHKOj.cjs → IndexerGrpcWeb3GwApi-BaCa4M1S.cjs} +4 -2
  8. package/dist/cjs/{MsgBase-jNBijPHQ.cjs → MsgBase-Dt0pa34P.cjs} +93 -36
  9. package/dist/cjs/{MsgSetDenomMetadata-Did-0k6O.cjs → MsgSetDenomMetadata-BKnmW-f2.cjs} +3361 -4248
  10. package/dist/cjs/{QueryTradingStrategyContractTotalStrategies-B3pcJep3.cjs → QueryTradingStrategyContractTotalStrategies-BiIzwy-H.cjs} +2 -2
  11. package/dist/cjs/{StreamManagerV2-DRWQ5QH0.cjs → StreamManagerV2-DftPsZ02.cjs} +2 -2
  12. package/dist/cjs/{accounts-BeV7wTTf.cjs → accounts-C6QIpAkP.cjs} +22 -2
  13. package/dist/cjs/{chain-B3HLDM4b.cjs → chain-D4Z7pAD0.cjs} +120 -206
  14. package/dist/cjs/client/abacus.d.cts +5 -5
  15. package/dist/cjs/client/chain.cjs +4 -5
  16. package/dist/cjs/client/chain.d.cts +12 -12
  17. package/dist/cjs/client/indexer.cjs +3 -3
  18. package/dist/cjs/client/indexer.d.cts +12 -12
  19. package/dist/cjs/client/olp.d.cts +5 -5
  20. package/dist/cjs/client/platformServices.d.cts +5 -5
  21. package/dist/cjs/client/tcAbacus.d.cts +5 -5
  22. package/dist/cjs/client/wasm.cjs +7 -7
  23. package/dist/cjs/client/wasm.d.cts +4 -4
  24. package/dist/cjs/core/accounts.cjs +3 -3
  25. package/dist/cjs/core/accounts.d.cts +11 -11
  26. package/dist/cjs/core/modules.cjs +15 -23
  27. package/dist/cjs/core/modules.d.cts +12 -12
  28. package/dist/cjs/core/tx.cjs +7 -6
  29. package/dist/cjs/core/tx.d.cts +12 -12
  30. package/dist/cjs/cosmjs.cjs +7 -7
  31. package/dist/cjs/cosmjs.d.cts +2 -2
  32. package/dist/cjs/exports.cjs +7 -7
  33. package/dist/cjs/exports.d.cts +2 -2
  34. package/dist/cjs/{index-BtwpJOwb.d.cts → index-5s92DIT3.d.cts} +1 -1
  35. package/dist/{esm/index-B4-RPlmi.d.ts → cjs/index-B7LT8B2g.d.cts} +25673 -26257
  36. package/dist/cjs/{index-CfGvB4c1.d.cts → index-BNqPdwIL.d.cts} +1 -1
  37. package/dist/cjs/{index-iLM1noAM.d.cts → index-ByaAgMci.d.cts} +1 -1
  38. package/dist/{esm/index-CTEvW2RT.d.ts → cjs/index-CBEIfBLI.d.cts} +34 -84
  39. package/dist/{esm/index--I7NYLY5.d.ts → cjs/index-CKFM2Zot.d.cts} +35 -350
  40. package/dist/cjs/{index-Beskv_ry.d.cts → index-CcNtmgW5.d.cts} +2 -2
  41. package/dist/cjs/{index-Bv-5dlo_.d.cts → index-DzI7PClu.d.cts} +1 -1
  42. package/dist/cjs/{index-CY06tllr.d.cts → index-fb-zX9fQ.d.cts} +1 -1
  43. package/dist/cjs/index.cjs +19 -27
  44. package/dist/cjs/index.d.cts +12 -12
  45. package/dist/{esm/light-BFGvKXwS.d.ts → cjs/light-Dyi8qJP_.d.cts} +3 -0
  46. package/dist/cjs/proto/cosmos-tx.d.cts +1 -1
  47. package/dist/cjs/service.cjs +1 -1
  48. package/dist/cjs/service.d.cts +4 -4
  49. package/dist/cjs/{tx-C8efeicO.cjs → tx-U8W1g3W8.cjs} +4 -4
  50. package/dist/cjs/{tx_pb-DSDGNMKS.d.cts → tx_pb-rX24LEP1.d.cts} +58 -107
  51. package/dist/cjs/types/light.d.cts +1 -1
  52. package/dist/cjs/types.d.cts +3 -3
  53. package/dist/cjs/{utils-DZoXzNOj.cjs → utils-CjlVVckg.cjs} +14 -24
  54. package/dist/cjs/utils.cjs +1 -1
  55. package/dist/cjs/utils.d.cts +11 -11
  56. package/dist/esm/{BaseGrpcConsumer-DzOno3EM.d.ts → BaseGrpcConsumer-BfhC9A-3.d.ts} +1 -1
  57. package/dist/esm/{ChainGrpcExchangeApi-N27wNM6N.js → ChainGrpcExchangeApi-YNNZqhBt.js} +2 -73
  58. package/dist/esm/{ChainRestTendermintApi-CfvwCl2L.js → ChainRestTendermintApi-DGLg38SO.js} +2 -2
  59. package/dist/esm/{DirectEthSecp256k1Wallet-Cq8NYHKd.js → DirectEthSecp256k1Wallet-mXW_mPaC.js} +1 -1
  60. package/dist/esm/{ExecArgNeptuneWithdraw-BRrsGhPy.js → ExecArgNeptuneWithdraw-CpaH5nlc.js} +2 -2
  61. package/dist/esm/{IndexerGrpcWeb3GwApi-CG_ZevUX.js → IndexerGrpcWeb3GwApi-BaQI4k4D.js} +4 -2
  62. package/dist/esm/{MsgBase-BC3GNddA.js → MsgBase-D3okqFzc.js} +88 -37
  63. package/dist/esm/{MsgSetDenomMetadata-B7IN-5j2.js → MsgSetDenomMetadata-snSM4b_f.js} +900 -1738
  64. package/dist/esm/{QueryTradingStrategyContractTotalStrategies-DNbF4zfF.js → QueryTradingStrategyContractTotalStrategies-C5T8K9t0.js} +2 -2
  65. package/dist/esm/{StreamManagerV2-IyJuIDxz.js → StreamManagerV2-DayR_Wxb.js} +2 -2
  66. package/dist/esm/{accounts-D2h6m8BF.js → accounts-BNTm8lj5.js} +22 -2
  67. package/dist/esm/{chain-cb8a0SyE.js → chain-Bx2cRWCa.js} +141 -220
  68. package/dist/esm/client/abacus.d.ts +5 -5
  69. package/dist/esm/client/chain.d.ts +12 -12
  70. package/dist/esm/client/chain.js +5 -5
  71. package/dist/esm/client/indexer.d.ts +12 -12
  72. package/dist/esm/client/indexer.js +3 -3
  73. package/dist/esm/client/olp.d.ts +5 -5
  74. package/dist/esm/client/platformServices.d.ts +5 -5
  75. package/dist/esm/client/tcAbacus.d.ts +5 -5
  76. package/dist/esm/client/wasm.d.ts +4 -4
  77. package/dist/esm/client/wasm.js +7 -7
  78. package/dist/esm/core/accounts.d.ts +11 -11
  79. package/dist/esm/core/accounts.js +3 -3
  80. package/dist/esm/core/modules.d.ts +12 -12
  81. package/dist/esm/core/modules.js +10 -10
  82. package/dist/esm/core/tx.d.ts +12 -12
  83. package/dist/esm/core/tx.js +7 -7
  84. package/dist/esm/cosmjs.d.ts +2 -2
  85. package/dist/esm/cosmjs.js +7 -7
  86. package/dist/esm/exports.d.ts +2 -2
  87. package/dist/esm/exports.js +7 -7
  88. package/dist/esm/{index-DG-I0T6b.d.ts → index-BLlbbiGL.d.ts} +1 -1
  89. package/dist/{cjs/index-B8XGu-SI.d.cts → esm/index-BeikP7Cq.d.ts} +35 -350
  90. package/dist/esm/{index-B2tw9CHl.d.ts → index-CQGymzVV.d.ts} +1 -1
  91. package/dist/esm/{index-BtOljr6v.d.ts → index-DhhaPvLx.d.ts} +1 -1
  92. package/dist/{cjs/index-4IPdy0bE.d.cts → esm/index-DjAbTs6N.d.ts} +34 -84
  93. package/dist/{cjs/index-Zlg1uSyt.d.cts → esm/index-DyuSCKzD.d.ts} +25673 -26257
  94. package/dist/esm/{index-CJxCX4wl.d.ts → index-KPxccQ6b.d.ts} +1 -1
  95. package/dist/esm/{index-BHELcAAg.d.ts → index-SCzTXWme.d.ts} +2 -2
  96. package/dist/esm/{index-OpqhooKr.d.ts → index-c0wEF5XN.d.ts} +1 -1
  97. package/dist/esm/index.d.ts +12 -12
  98. package/dist/esm/index.js +13 -13
  99. package/dist/{cjs/light-B-3BDUJ7.d.cts → esm/light-cJI0PSqu.d.ts} +3 -0
  100. package/dist/esm/proto/cosmos-tx.d.ts +1 -1
  101. package/dist/esm/service.d.ts +4 -4
  102. package/dist/esm/service.js +1 -1
  103. package/dist/esm/{tx-C9bEwXA1.js → tx-COcI7kYx.js} +4 -4
  104. package/dist/esm/{tx_pb-Blty6MDM.d.ts → tx_pb-pR8s8ZkE.d.ts} +58 -107
  105. package/dist/esm/types/light.d.ts +1 -1
  106. package/dist/esm/types.d.ts +3 -3
  107. package/dist/esm/{utils-Cs0fKB6M.js → utils-Bprop_i9.js} +14 -24
  108. package/dist/esm/utils.d.ts +11 -11
  109. package/dist/esm/utils.js +1 -1
  110. package/package.json +6 -6
@@ -1,9 +1,8 @@
1
- import { u as Any } from "./tx_pb-DSDGNMKS.cjs";
2
- import { f as GrpcWebTransportAdditionalOptions } from "./index-4IPdy0bE.cjs";
1
+ import { f as GrpcWebTransportAdditionalOptions } from "./index-DjAbTs6N.js";
3
2
  import { RequestOptions } from "@injectivelabs/utils";
4
- import { SnakeCase } from "type-fest";
5
3
  import { ChainId, Coin } from "@injectivelabs/ts-types";
6
4
  import { Network, NetworkEndpoints } from "@injectivelabs/networks";
5
+ import { SnakeCase } from "type-fest";
7
6
 
8
7
  //#region ../../node_modules/.pnpm/no-case@3.0.4/node_modules/no-case/dist/index.d.ts
9
8
  interface Options {
@@ -115,9 +114,9 @@ type SnakeCaseKeys$1<T extends Record<string, any> | readonly any[]> = snakecase
115
114
  /**
116
115
  * @category Messages
117
116
  */
118
- declare abstract class MsgBase<Params$1, ProtoRepresentation extends Object, ObjectRepresentation extends Record<string, unknown> = {}> {
119
- params: Params$1;
120
- constructor(params: Params$1);
117
+ declare abstract class MsgBase<Params, ProtoRepresentation extends Object, ObjectRepresentation extends Record<string, unknown> = {}> {
118
+ params: Params;
119
+ constructor(params: Params);
121
120
  abstract toProto(): ProtoRepresentation;
122
121
  abstract toData(): ProtoRepresentation & {
123
122
  '@type': string;
@@ -139,12 +138,23 @@ declare abstract class MsgBase<Params$1, ProtoRepresentation extends Object, Obj
139
138
  '@type': string;
140
139
  });
141
140
  toJSON(): string;
141
+ /**
142
+ * The full-field, human-readable object behind toWeb3Gw (proto-JSON keeps zero
143
+ * values) and the EIP712 v1 types (the chain lists every field in the types).
144
+ * Defaults to toAmino(); messages whose toAmino() follows the chain's aminojson
145
+ * sign bytes (Ledger), which omit zero values, override this.
146
+ */
147
+ toAminoRaw(): {
148
+ type: string;
149
+ value: ObjectRepresentation | SnakeCaseKeys$1<ProtoRepresentation>;
150
+ };
142
151
  /**
143
152
  * Returns the types of the message for EIP712
144
153
  */
145
154
  toEip712Types(): Map<string, TypedDataField[]>;
146
155
  /**
147
- * Returns the values of the message for EIP712
156
+ * Returns the values of the message for EIP712: the chain derives the v1 typed
157
+ * data values from its amino-json, so this is toAmino()
148
158
  */
149
159
  toEip712(): {
150
160
  type: string;
@@ -156,230 +166,24 @@ declare abstract class MsgBase<Params$1, ProtoRepresentation extends Object, Obj
156
166
  toEip712V2(): ObjectRepresentation | (snakecaseKeys.SnakeCaseKeys<ProtoRepresentation, true, [], ""> & {
157
167
  '@type': string;
158
168
  });
159
- toDirectSignJSON(): string;
160
- }
161
- //#endregion
162
- //#region ../../node_modules/.pnpm/@injectivelabs+core-proto-ts-v2@1.20.5/node_modules/@injectivelabs/core-proto-ts-v2/generated/cosmwasm/wasm/v1/types_pb.d.ts
163
- /**
164
- * AccessConfig access control type.
165
- *
166
- * @generated from protobuf message cosmwasm.wasm.v1.AccessConfig
167
- */
168
- interface AccessConfig {
169
- /**
170
- * @generated from protobuf field: cosmwasm.wasm.v1.AccessType permission = 1
171
- */
172
- permission: AccessType;
173
- /**
174
- * @generated from protobuf field: repeated string addresses = 3
175
- */
176
- addresses: string[];
177
- }
178
- /**
179
- * ContractInfo stores a WASM contract instance
180
- *
181
- * @generated from protobuf message cosmwasm.wasm.v1.ContractInfo
182
- */
183
- interface ContractInfo {
184
- /**
185
- * CodeID is the reference to the stored Wasm code
186
- *
187
- * @generated from protobuf field: uint64 code_id = 1
188
- */
189
- codeId: bigint;
190
- /**
191
- * Creator address who initially instantiated the contract
192
- *
193
- * @generated from protobuf field: string creator = 2
194
- */
195
- creator: string;
196
- /**
197
- * Admin is an optional address that can execute migrations
198
- *
199
- * @generated from protobuf field: string admin = 3
200
- */
201
- admin: string;
202
- /**
203
- * Label is optional metadata to be stored with a contract instance.
204
- *
205
- * @generated from protobuf field: string label = 4
206
- */
207
- label: string;
208
- /**
209
- * Created Tx position when the contract was instantiated.
210
- *
211
- * @generated from protobuf field: cosmwasm.wasm.v1.AbsoluteTxPosition created = 5
212
- */
213
- created?: AbsoluteTxPosition;
214
- /**
215
- * @generated from protobuf field: string ibc_port_id = 6
216
- */
217
- ibcPortId: string;
218
- /**
219
- * Extension is an extension point to store custom metadata within the
220
- * persistence model.
221
- *
222
- * @generated from protobuf field: google.protobuf.Any extension = 7
223
- */
224
- extension?: Any;
225
- }
226
- /**
227
- * ContractCodeHistoryEntry metadata to a contract.
228
- *
229
- * @generated from protobuf message cosmwasm.wasm.v1.ContractCodeHistoryEntry
230
- */
231
- interface ContractCodeHistoryEntry {
232
- /**
233
- * @generated from protobuf field: cosmwasm.wasm.v1.ContractCodeHistoryOperationType operation = 1
234
- */
235
- operation: ContractCodeHistoryOperationType;
236
- /**
237
- * CodeID is the reference to the stored WASM code
238
- *
239
- * @generated from protobuf field: uint64 code_id = 2
240
- */
241
- codeId: bigint;
242
- /**
243
- * Updated Tx position when the operation was executed.
244
- *
245
- * @generated from protobuf field: cosmwasm.wasm.v1.AbsoluteTxPosition updated = 3
246
- */
247
- updated?: AbsoluteTxPosition;
248
- /**
249
- * @generated from protobuf field: bytes msg = 4
250
- */
251
- msg: Uint8Array;
252
- }
253
- /**
254
- * AbsoluteTxPosition is a unique transaction position that allows for global
255
- * ordering of transactions.
256
- *
257
- * @generated from protobuf message cosmwasm.wasm.v1.AbsoluteTxPosition
258
- */
259
- interface AbsoluteTxPosition {
260
- /**
261
- * BlockHeight is the block the contract was created at
262
- *
263
- * @generated from protobuf field: uint64 block_height = 1
264
- */
265
- blockHeight: bigint;
266
- /**
267
- * TxIndex is a monotonic counter within the block (actual transaction index,
268
- * or gas consumed)
269
- *
270
- * @generated from protobuf field: uint64 tx_index = 2
271
- */
272
- txIndex: bigint;
273
- }
274
- /**
275
- * Model is a struct that holds a KV pair
276
- *
277
- * @generated from protobuf message cosmwasm.wasm.v1.Model
278
- */
279
- interface Model {
280
- /**
281
- * hex-encode key to read it better (this is often ascii)
282
- *
283
- * @generated from protobuf field: bytes key = 1
284
- */
285
- key: Uint8Array;
286
- /**
287
- * base64-encode raw value
288
- *
289
- * @generated from protobuf field: bytes value = 2
290
- */
291
- value: Uint8Array;
292
- }
293
- /**
294
- * AccessType permission types
295
- *
296
- * @generated from protobuf enum cosmwasm.wasm.v1.AccessType
297
- */
298
- declare enum AccessType {
299
- /**
300
- * AccessTypeUnspecified placeholder for empty value
301
- *
302
- * @generated from protobuf enum value: ACCESS_TYPE_UNSPECIFIED = 0;
303
- */
304
- UNSPECIFIED = 0,
305
- /**
306
- * AccessTypeNobody forbidden
307
- *
308
- * @generated from protobuf enum value: ACCESS_TYPE_NOBODY = 1;
309
- */
310
- NOBODY = 1,
311
- /**
312
- * AccessTypeEverybody unrestricted
313
- *
314
- * @generated from protobuf enum value: ACCESS_TYPE_EVERYBODY = 3;
315
- */
316
- EVERYBODY = 3,
317
- /**
318
- * AccessTypeAnyOfAddresses allow any of the addresses
319
- *
320
- * @generated from protobuf enum value: ACCESS_TYPE_ANY_OF_ADDRESSES = 4;
321
- */
322
- ANY_OF_ADDRESSES = 4,
323
- }
324
- /**
325
- * ContractCodeHistoryOperationType actions that caused a code change
326
- *
327
- * @generated from protobuf enum cosmwasm.wasm.v1.ContractCodeHistoryOperationType
328
- */
329
- declare enum ContractCodeHistoryOperationType {
330
- /**
331
- * ContractCodeHistoryOperationTypeUnspecified placeholder for empty value
332
- *
333
- * @generated from protobuf enum value: CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED = 0;
334
- */
335
- UNSPECIFIED = 0,
336
169
  /**
337
- * ContractCodeHistoryOperationTypeInit on chain contract instantiation
338
- *
339
- * @generated from protobuf enum value: CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT = 1;
340
- */
341
- INIT = 1,
342
- /**
343
- * ContractCodeHistoryOperationTypeMigrate code migration
344
- *
345
- * @generated from protobuf enum value: CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE = 2;
170
+ * Whether the chain can sign this message with EIP712 v1 on its own: it cannot type some
171
+ * fields (`math.LegacyDec`, `math.Int`, oneofs). Enforced for the root messages of a
172
+ * transaction by `assertEip712V1Supported`; nested in MsgExec or a proposal a message
173
+ * serializes like any other.
346
174
  */
347
- MIGRATE = 2,
348
- /**
349
- * ContractCodeHistoryOperationTypeGenesis based on genesis data
350
- *
351
- * @generated from protobuf enum value: CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS = 3;
352
- */
353
- GENESIS = 3,
175
+ static readonly eip712V1Supported: boolean;
176
+ assertEip712V1Supported(): void;
177
+ toDirectSignJSON(): string;
354
178
  }
355
- /**
356
- * @generated MessageType for protobuf message cosmwasm.wasm.v1.AccessConfig
357
- */
358
- declare const AccessConfig = new AccessConfig$Type();
359
- /**
360
- * @generated MessageType for protobuf message cosmwasm.wasm.v1.ContractInfo
361
- */
362
- declare const ContractInfo = new ContractInfo$Type();
363
- /**
364
- * @generated MessageType for protobuf message cosmwasm.wasm.v1.ContractCodeHistoryEntry
365
- */
366
- declare const ContractCodeHistoryEntry = new ContractCodeHistoryEntry$Type();
367
- /**
368
- * @generated MessageType for protobuf message cosmwasm.wasm.v1.AbsoluteTxPosition
369
- */
370
- declare const AbsoluteTxPosition = new AbsoluteTxPosition$Type();
371
- /**
372
- * @generated MessageType for protobuf message cosmwasm.wasm.v1.Model
373
- */
374
- declare const Model = new Model$Type();
375
179
  //#endregion
376
180
  //#region src/core/modules/wasm/ExecArgBase.d.ts
377
181
  type ExecDataRepresentation$1<Data> = {
378
182
  [key: string]: Data;
379
183
  };
380
- declare abstract class ExecArgBase<Params$1, DataRepresentation> {
381
- params: Params$1;
382
- constructor(params: Params$1);
184
+ declare abstract class ExecArgBase<Params, DataRepresentation> {
185
+ params: Params;
186
+ constructor(params: Params);
383
187
  abstract toData(): DataRepresentation;
384
188
  abstract toExecData(): ExecDataRepresentation$1<DataRepresentation>;
385
189
  toJSON(): Uint8Array;
@@ -819,9 +623,9 @@ type ExecDataRepresentation<Data> = {
819
623
  args: Data;
820
624
  };
821
625
  /** Executing Messages with injective_exec */
822
- declare abstract class ExecPrivilegedArgBase<Params$1, DataRepresentation> {
823
- params: Params$1;
824
- constructor(params: Params$1);
626
+ declare abstract class ExecPrivilegedArgBase<Params, DataRepresentation> {
627
+ params: Params;
628
+ constructor(params: Params);
825
629
  abstract toData(): DataRepresentation;
826
630
  abstract toExecData(): ExecDataRepresentation<DataRepresentation>;
827
631
  toJSON(): string;
@@ -942,126 +746,7 @@ declare class ExecPrivilegedArgOffChainVaultSubscribe extends ExecPrivilegedArgB
942
746
  type ExecArgs = ExecArgCW20Send | ExecArgSubmitVaa | ExecArgCreateRound | ExecArgCW20Transfer | ExecArgFundCampaign | ExecArgSwapMinOutput | ExecArgDepositTokens | ExecArgCreateCampaign | ExecArgSwapExactOutput | ExecArgInitiateTransfer | ExecArgUpdateGridConfig | ExecArgIncreaseAllowance | ExecArgRemoveGridStrategy | ExecArgCreateSpotGridStrategy | ExecArgCreatePerpGridStrategy | ExecArgCW20AdapterRedeemAndTransfer;
943
747
  type ExecPrivilegedArgs = ExecPrivilegedArgVaultRedeem | ExecPrivilegedArgVaultSubscribe | ExecPrivilegedArgOffChainVaultRedeem | ExecPrivilegedArgOffChainVaultSubscribe;
944
748
  //#endregion
945
- //#region ../../node_modules/.pnpm/@injectivelabs+core-proto-ts-v2@1.20.5/node_modules/@injectivelabs/core-proto-ts-v2/generated/injective/wasmx/v1/proposal_pb.d.ts
946
- /**
947
- * @generated from protobuf enum injective.wasmx.v1.FundingMode
948
- */
949
- declare enum FundingMode {
950
- /**
951
- * @generated from protobuf enum value: Unspecified = 0;
952
- */
953
- Unspecified = 0,
954
- /**
955
- * @generated from protobuf enum value: SelfFunded = 1;
956
- */
957
- SelfFunded = 1,
958
- /**
959
- * @generated from protobuf enum value: GrantOnly = 2;
960
- */
961
- GrantOnly = 2,
962
- /**
963
- * @generated from protobuf enum value: Dual = 3;
964
- */
965
- Dual = 3,
966
- }
967
- //#endregion
968
- //#region ../../node_modules/.pnpm/@injectivelabs+core-proto-ts-v2@1.20.5/node_modules/@injectivelabs/core-proto-ts-v2/generated/injective/wasmx/v1/wasmx_pb.d.ts
969
- /**
970
- * @generated from protobuf message injective.wasmx.v1.Params
971
- */
972
- interface Params {
973
- /**
974
- * Set the status to active to indicate that contracts can be executed in
975
- * begin blocker.
976
- *
977
- * @generated from protobuf field: bool is_execution_enabled = 1
978
- */
979
- isExecutionEnabled: boolean;
980
- /**
981
- * Maximum aggregate total gas to be used for the contract executions in the
982
- * BeginBlocker.
983
- *
984
- * @generated from protobuf field: uint64 max_begin_block_total_gas = 2
985
- */
986
- maxBeginBlockTotalGas: bigint;
987
- /**
988
- * the maximum gas limit each individual contract can consume in the
989
- * BeginBlocker.
990
- *
991
- * @generated from protobuf field: uint64 max_contract_gas_limit = 3
992
- */
993
- maxContractGasLimit: bigint;
994
- /**
995
- * min_gas_price defines the minimum gas price the contracts must pay to be
996
- * executed in the BeginBlocker.
997
- *
998
- * @generated from protobuf field: uint64 min_gas_price = 4
999
- */
1000
- minGasPrice: bigint;
1001
- /**
1002
- * @generated from protobuf field: cosmwasm.wasm.v1.AccessConfig register_contract_access = 5
1003
- */
1004
- registerContractAccess?: AccessConfig;
1005
- }
1006
- /**
1007
- * @generated from protobuf message injective.wasmx.v1.RegisteredContract
1008
- */
1009
- interface RegisteredContract {
1010
- /**
1011
- * limit of gas per BB execution
1012
- *
1013
- * @generated from protobuf field: uint64 gas_limit = 1
1014
- */
1015
- gasLimit: bigint;
1016
- /**
1017
- * gas price that contract is willing to pay for execution in BeginBlocker
1018
- *
1019
- * @generated from protobuf field: uint64 gas_price = 2
1020
- */
1021
- gasPrice: bigint;
1022
- /**
1023
- * is contract currently active
1024
- *
1025
- * @generated from protobuf field: bool is_executable = 3
1026
- */
1027
- isExecutable: boolean;
1028
- /**
1029
- * code_id that is allowed to be executed (to prevent malicious updates) - if
1030
- * nil/0 any code_id can be executed
1031
- *
1032
- * @generated from protobuf field: uint64 code_id = 4
1033
- */
1034
- codeId: bigint;
1035
- /**
1036
- * optional - admin addr that is allowed to update contract data
1037
- *
1038
- * @generated from protobuf field: string admin_address = 5
1039
- */
1040
- adminAddress: string;
1041
- /**
1042
- * Optional: address of the contract granting fee
1043
- * Must be set if fund_mode is GrantOnly
1044
- *
1045
- * @generated from protobuf field: string granter_address = 6
1046
- */
1047
- granterAddress: string;
1048
- /**
1049
- * funding mode
1050
- *
1051
- * @generated from protobuf field: injective.wasmx.v1.FundingMode fund_mode = 7
1052
- */
1053
- fundMode: FundingMode;
1054
- }
1055
- /**
1056
- * @generated MessageType for protobuf message injective.wasmx.v1.Params
1057
- */
1058
- declare const Params = new Params$Type();
1059
- /**
1060
- * @generated MessageType for protobuf message injective.wasmx.v1.RegisteredContract
1061
- */
1062
- declare const RegisteredContract = new RegisteredContract$Type();
1063
- //#endregion
1064
- //#region ../../node_modules/.pnpm/@injectivelabs+core-proto-ts-v2@1.20.5/node_modules/@injectivelabs/core-proto-ts-v2/generated/injective/wasmx/v1/tx_pb.d.ts
749
+ //#region ../../node_modules/.pnpm/@injectivelabs+core-proto-ts-v2@1.21.0-alpha.0/node_modules/@injectivelabs/core-proto-ts-v2/generated/injective/wasmx/v1/tx_pb.d.ts
1065
750
  /**
1066
751
  * MsgExecuteContractCompat submits the given message data to a smart contract,
1067
752
  * compatible with EIP712
@@ -1206,9 +891,9 @@ declare class SwapQueryTransformer {
1206
891
  }
1207
892
  //#endregion
1208
893
  //#region src/client/wasm/BaseWasmQuery.d.ts
1209
- declare abstract class BaseWasmQuery<Params$1> {
1210
- params: Params$1;
1211
- constructor(params: Params$1);
894
+ declare abstract class BaseWasmQuery<Params> {
895
+ params: Params;
896
+ constructor(params: Params);
1212
897
  abstract toPayload(): string;
1213
898
  }
1214
899
  //#endregion
@@ -1578,4 +1263,4 @@ declare class QueryTradingStrategyContractTotalStrategies extends BaseWasmQuery<
1578
1263
  toPayload(): string;
1579
1264
  }
1580
1265
  //#endregion
1581
- export { ExecArgInitiateTransfer as $, QueryQuantityAndFeesResponse as A, ExecArgCW20AdapterRedeemAndTransfer as B, NEPTUNE_USDT_CW20_CONTRACT as C, snakecaseKeys as Ct, QueryAllRoutes as D, QueryInputQuantity as E, RegisteredContract as F, ExitConfig as G, ExecPrivilegedArgVaultRedeem as H, ExecArgs as I, TrailingArithmetic as J, ExitType as K, ExecPrivilegedArgs as L, WasmContractQueryResponse as M, MsgExecuteContractCompat as N, QueryRoute as O, Params as P, ExecArgUpdateGridConfig as Q, ExecPrivilegedArgOffChainVaultSubscribe as R, LendingRateResponse as S, TypedDataField as St, QueryOutputQuantity as T, ExecArgCreateSpotGridStrategy as U, ExecPrivilegedArgVaultSubscribe as V, ExecArgCreatePerpGridStrategy as W, ExecArgRemoveGridStrategy as X, TrailingArithmeticLP as Y, ExecArgIncreaseAllowance as Z, QueryGetPrices as _, Model as _t, QueryInjectiveAddress as a, ExecArgCW20Transfer as at, AssetInfo as b, Eip712ConvertTxArgs as bt, InjNameServiceQueryTransformer as c, ExecArgCW20Send as ct, IncentivesQueryTransformer as d, AbsoluteTxPosition as dt, ExecArgSwapExactOutput as et, Coin$1 as f, AccessConfig as ft, QueryGetAllLendingRates as g, ContractInfo as gt, NEPTUNE_PRICE_CONTRACT as h, ContractCodeHistoryOperationType as ht, QueryTradingStrategyContractConfig as i, ExecArgFundCampaign as it, QueryRouteResponse as j, SwapQueryTransformer as k, QueryGetCampaigns as l, ExecArgBase as lt, QueryRoundResponse as m, ContractCodeHistoryEntry as mt, QueryTradingStrategyContractUserStrategies as n, ExecArgSwapMinOutput as nt, QueryResolverAddress as o, ExecArgCreateRound as ot, QueryCampaignResponse as p, AccessType as pt, StrategyType as q, QueryTradingStrategyContractAllStrategies as r, ExecArgDepositTokens as rt, QueryInjName as s, ExecArgSubmitVaa as st, QueryTradingStrategyContractTotalStrategies as t, ExecArgCreateCampaign as tt, QueryAllRounds as u, ExecDataRepresentation$1 as ut, NeptuneQueryTransformer as v, MsgBase as vt, PriceResponse as w, AssetInfoWithPrice as x, MapOfTypedDataField as xt, NeptuneService as y, Eip712ConvertFeeArgs as yt, ExecPrivilegedArgOffChainVaultRedeem as z };
1266
+ export { ExecArgCreateCampaign as $, QueryQuantityAndFeesResponse as A, ExecPrivilegedArgVaultRedeem as B, NEPTUNE_USDT_CW20_CONTRACT as C, QueryAllRoutes as D, QueryInputQuantity as E, ExecPrivilegedArgs as F, StrategyType as G, ExecArgCreatePerpGridStrategy as H, ExecPrivilegedArgOffChainVaultSubscribe as I, ExecArgRemoveGridStrategy as J, TrailingArithmetic as K, ExecPrivilegedArgOffChainVaultRedeem as L, WasmContractQueryResponse as M, MsgExecuteContractCompat as N, QueryRoute as O, ExecArgs as P, ExecArgSwapExactOutput as Q, ExecArgCW20AdapterRedeemAndTransfer as R, LendingRateResponse as S, QueryOutputQuantity as T, ExitConfig as U, ExecArgCreateSpotGridStrategy as V, ExitType as W, ExecArgUpdateGridConfig as X, ExecArgIncreaseAllowance as Y, ExecArgInitiateTransfer as Z, QueryGetPrices as _, QueryInjectiveAddress as a, ExecArgSubmitVaa as at, AssetInfo as b, InjNameServiceQueryTransformer as c, ExecDataRepresentation$1 as ct, IncentivesQueryTransformer as d, Eip712ConvertTxArgs as dt, ExecArgSwapMinOutput as et, Coin$1 as f, MapOfTypedDataField as ft, QueryGetAllLendingRates as g, NEPTUNE_PRICE_CONTRACT as h, QueryTradingStrategyContractConfig as i, ExecArgCreateRound as it, QueryRouteResponse as j, SwapQueryTransformer as k, QueryGetCampaigns as l, MsgBase as lt, QueryRoundResponse as m, snakecaseKeys as mt, QueryTradingStrategyContractUserStrategies as n, ExecArgFundCampaign as nt, QueryResolverAddress as o, ExecArgCW20Send as ot, QueryCampaignResponse as p, TypedDataField as pt, TrailingArithmeticLP as q, QueryTradingStrategyContractAllStrategies as r, ExecArgCW20Transfer as rt, QueryInjName as s, ExecArgBase as st, QueryTradingStrategyContractTotalStrategies as t, ExecArgDepositTokens as tt, QueryAllRounds as u, Eip712ConvertFeeArgs as ut, NeptuneQueryTransformer as v, PriceResponse as w, AssetInfoWithPrice as x, NeptuneService as y, ExecPrivilegedArgVaultSubscribe as z };
@@ -1,4 +1,4 @@
1
- import { t as BaseGrpcConsumer } from "./BaseGrpcConsumer-DzOno3EM.js";
1
+ import { t as BaseGrpcConsumer } from "./BaseGrpcConsumer-BfhC9A-3.js";
2
2
  import { RequestOptions } from "@injectivelabs/utils";
3
3
 
4
4
  //#region src/client/abacus/grpc/AbacusGrpcApi.d.ts
@@ -1,4 +1,4 @@
1
- import { t as BaseGrpcConsumer } from "./BaseGrpcConsumer-DzOno3EM.js";
1
+ import { t as BaseGrpcConsumer } from "./BaseGrpcConsumer-BfhC9A-3.js";
2
2
  import { RequestOptions } from "@injectivelabs/utils";
3
3
 
4
4
  //#region ../../node_modules/.pnpm/@injectivelabs+tc-abacus-proto-ts-v2@1.18.9/node_modules/@injectivelabs/tc-abacus-proto-ts-v2/generated/injective_tc_abacus_rpc_pb.d.ts