coreum-js 2.16.2 → 2.16.3

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 (106) hide show
  1. package/dist/main/client/index.js +1 -1
  2. package/dist/main/coreum/asset/ft/v1/event.d.ts +6 -98
  3. package/dist/main/coreum/asset/ft/v1/genesis.d.ts +4 -500
  4. package/dist/main/coreum/asset/ft/v1/params.d.ts +2 -54
  5. package/dist/main/coreum/asset/ft/v1/query.d.ts +28 -1852
  6. package/dist/main/coreum/asset/ft/v1/token.d.ts +12 -210
  7. package/dist/main/coreum/asset/ft/v1/token.js +3 -3
  8. package/dist/main/coreum/asset/ft/v1/tx.d.ts +36 -644
  9. package/dist/main/coreum/asset/nft/v1/event.d.ts +10 -114
  10. package/dist/main/coreum/asset/nft/v1/genesis.d.ts +8 -258
  11. package/dist/main/coreum/asset/nft/v1/nft.d.ts +4 -86
  12. package/dist/main/coreum/asset/nft/v1/nft.js +3 -3
  13. package/dist/main/coreum/asset/nft/v1/params.d.ts +2 -28
  14. package/dist/main/coreum/asset/nft/v1/query.d.ts +20 -638
  15. package/dist/main/coreum/asset/nft/v1/tx.d.ts +16 -212
  16. package/dist/main/coreum/asset/nft/v1/types.d.ts +2 -10
  17. package/dist/main/coreum/customparams/v1/genesis.d.ts +2 -22
  18. package/dist/main/coreum/customparams/v1/params.d.ts +2 -10
  19. package/dist/main/coreum/customparams/v1/query.d.ts +4 -24
  20. package/dist/main/coreum/extensions/ft.js +1 -2
  21. package/dist/main/coreum/extensions/nft.js +1 -2
  22. package/dist/main/coreum/extensions/nftbeta.js +1 -2
  23. package/dist/main/coreum/feemodel/v1/genesis.d.ts +2 -222
  24. package/dist/main/coreum/feemodel/v1/params.d.ts +4 -320
  25. package/dist/main/coreum/feemodel/v1/query.d.ts +8 -232
  26. package/dist/main/coreum/nft/v1beta1/event.d.ts +6 -58
  27. package/dist/main/coreum/nft/v1beta1/genesis.d.ts +4 -420
  28. package/dist/main/coreum/nft/v1beta1/nft.d.ts +4 -96
  29. package/dist/main/coreum/nft/v1beta1/query.d.ts +28 -1532
  30. package/dist/main/coreum/nft/v1beta1/tx.d.ts +4 -24
  31. package/dist/main/cosmos/extensions/bank.js +1 -2
  32. package/dist/main/cosmos/extensions/distribution.js +1 -2
  33. package/dist/main/cosmos/extensions/gov.js +1 -2
  34. package/dist/main/google/api/http.d.ts +6 -2636
  35. package/dist/main/google/protobuf/any.d.ts +2 -14
  36. package/dist/main/google/protobuf/any.js +3 -3
  37. package/dist/main/google/protobuf/duration.d.ts +2 -14
  38. package/dist/main/google/protobuf/timestamp.d.ts +2 -14
  39. package/dist/main/index.js +17 -7
  40. package/dist/main/tendermint/abci/types.d.ts +92 -6360
  41. package/dist/main/tendermint/abci/types.js +12 -12
  42. package/dist/main/tendermint/crypto/keys.d.ts +2 -14
  43. package/dist/main/tendermint/crypto/proof.d.ts +10 -152
  44. package/dist/main/tendermint/types/params.d.ts +12 -196
  45. package/dist/main/tendermint/types/types.d.ts +26 -1744
  46. package/dist/main/tendermint/types/types.js +5 -5
  47. package/dist/main/tendermint/types/validator.d.ts +6 -230
  48. package/dist/main/tendermint/version/types.d.ts +4 -28
  49. package/dist/main/utils/convertStringToAny.d.ts +1 -0
  50. package/dist/main/utils/nft.js +1 -2
  51. package/dist/main/wasm/v1/authz.d.ts +18 -414
  52. package/dist/main/wasm/v1/extensions/wasm.js +1 -2
  53. package/dist/main/wasm/v1/genesis.d.ts +8 -994
  54. package/dist/main/wasm/v1/ibc.d.ts +6 -42
  55. package/dist/main/wasm/v1/pagination.d.ts +4 -40
  56. package/dist/main/wasm/v1/proposal.d.ts +26 -640
  57. package/dist/main/wasm/v1/query.d.ts +46 -1060
  58. package/dist/main/wasm/v1/tx.d.ts +52 -630
  59. package/dist/main/wasm/v1/types.d.ts +16 -246
  60. package/dist/main/wasm/v1/types.js +5 -5
  61. package/dist/module/client/index.js +2 -2
  62. package/dist/module/coreum/asset/ft/v1/event.d.ts +6 -98
  63. package/dist/module/coreum/asset/ft/v1/genesis.d.ts +4 -500
  64. package/dist/module/coreum/asset/ft/v1/params.d.ts +2 -54
  65. package/dist/module/coreum/asset/ft/v1/query.d.ts +28 -1852
  66. package/dist/module/coreum/asset/ft/v1/token.d.ts +12 -210
  67. package/dist/module/coreum/asset/ft/v1/tx.d.ts +36 -644
  68. package/dist/module/coreum/asset/nft/v1/event.d.ts +10 -114
  69. package/dist/module/coreum/asset/nft/v1/genesis.d.ts +8 -258
  70. package/dist/module/coreum/asset/nft/v1/nft.d.ts +4 -86
  71. package/dist/module/coreum/asset/nft/v1/params.d.ts +2 -28
  72. package/dist/module/coreum/asset/nft/v1/query.d.ts +20 -638
  73. package/dist/module/coreum/asset/nft/v1/tx.d.ts +16 -212
  74. package/dist/module/coreum/asset/nft/v1/types.d.ts +2 -10
  75. package/dist/module/coreum/customparams/v1/genesis.d.ts +2 -22
  76. package/dist/module/coreum/customparams/v1/params.d.ts +2 -10
  77. package/dist/module/coreum/customparams/v1/query.d.ts +4 -24
  78. package/dist/module/coreum/feemodel/v1/genesis.d.ts +2 -222
  79. package/dist/module/coreum/feemodel/v1/params.d.ts +4 -320
  80. package/dist/module/coreum/feemodel/v1/query.d.ts +8 -232
  81. package/dist/module/coreum/nft/v1beta1/event.d.ts +6 -58
  82. package/dist/module/coreum/nft/v1beta1/genesis.d.ts +4 -420
  83. package/dist/module/coreum/nft/v1beta1/nft.d.ts +4 -96
  84. package/dist/module/coreum/nft/v1beta1/query.d.ts +28 -1532
  85. package/dist/module/coreum/nft/v1beta1/tx.d.ts +4 -24
  86. package/dist/module/google/api/http.d.ts +6 -2636
  87. package/dist/module/google/protobuf/any.d.ts +2 -14
  88. package/dist/module/google/protobuf/duration.d.ts +2 -14
  89. package/dist/module/google/protobuf/timestamp.d.ts +2 -14
  90. package/dist/module/tendermint/abci/types.d.ts +92 -6360
  91. package/dist/module/tendermint/crypto/keys.d.ts +2 -14
  92. package/dist/module/tendermint/crypto/proof.d.ts +10 -152
  93. package/dist/module/tendermint/types/params.d.ts +12 -196
  94. package/dist/module/tendermint/types/types.d.ts +26 -1744
  95. package/dist/module/tendermint/types/validator.d.ts +6 -230
  96. package/dist/module/tendermint/version/types.d.ts +4 -28
  97. package/dist/module/utils/convertStringToAny.d.ts +1 -0
  98. package/dist/module/wasm/v1/authz.d.ts +18 -414
  99. package/dist/module/wasm/v1/genesis.d.ts +8 -994
  100. package/dist/module/wasm/v1/ibc.d.ts +6 -42
  101. package/dist/module/wasm/v1/pagination.d.ts +4 -40
  102. package/dist/module/wasm/v1/proposal.d.ts +26 -640
  103. package/dist/module/wasm/v1/query.d.ts +46 -1060
  104. package/dist/module/wasm/v1/tx.d.ts +52 -630
  105. package/dist/module/wasm/v1/types.d.ts +16 -246
  106. package/package.json +1 -1
@@ -115,294 +115,64 @@ export declare const AccessTypeParam: {
115
115
  decode(input: _m0.Reader | Uint8Array, length?: number): AccessTypeParam;
116
116
  fromJSON(object: any): AccessTypeParam;
117
117
  toJSON(message: AccessTypeParam): unknown;
118
- create<I extends {
119
- value?: AccessType;
120
- } & {
121
- value?: AccessType;
122
- } & { [K in Exclude<keyof I, "value">]: never; }>(base?: I): AccessTypeParam;
123
- fromPartial<I_1 extends {
124
- value?: AccessType;
125
- } & {
126
- value?: AccessType;
127
- } & { [K_1 in Exclude<keyof I_1, "value">]: never; }>(object: I_1): AccessTypeParam;
118
+ create<I extends Exact<DeepPartial<AccessTypeParam>, I>>(base?: I): AccessTypeParam;
119
+ fromPartial<I extends Exact<DeepPartial<AccessTypeParam>, I>>(object: I): AccessTypeParam;
128
120
  };
129
121
  export declare const AccessConfig: {
130
122
  encode(message: AccessConfig, writer?: _m0.Writer): _m0.Writer;
131
123
  decode(input: _m0.Reader | Uint8Array, length?: number): AccessConfig;
132
124
  fromJSON(object: any): AccessConfig;
133
125
  toJSON(message: AccessConfig): unknown;
134
- create<I extends {
135
- permission?: AccessType;
136
- address?: string;
137
- addresses?: string[];
138
- } & {
139
- permission?: AccessType;
140
- address?: string;
141
- addresses?: string[] & string[] & { [K in Exclude<keyof I["addresses"], keyof string[]>]: never; };
142
- } & { [K_1 in Exclude<keyof I, keyof AccessConfig>]: never; }>(base?: I): AccessConfig;
143
- fromPartial<I_1 extends {
144
- permission?: AccessType;
145
- address?: string;
146
- addresses?: string[];
147
- } & {
148
- permission?: AccessType;
149
- address?: string;
150
- addresses?: string[] & string[] & { [K_2 in Exclude<keyof I_1["addresses"], keyof string[]>]: never; };
151
- } & { [K_3 in Exclude<keyof I_1, keyof AccessConfig>]: never; }>(object: I_1): AccessConfig;
126
+ create<I extends Exact<DeepPartial<AccessConfig>, I>>(base?: I): AccessConfig;
127
+ fromPartial<I extends Exact<DeepPartial<AccessConfig>, I>>(object: I): AccessConfig;
152
128
  };
153
129
  export declare const Params: {
154
130
  encode(message: Params, writer?: _m0.Writer): _m0.Writer;
155
131
  decode(input: _m0.Reader | Uint8Array, length?: number): Params;
156
132
  fromJSON(object: any): Params;
157
133
  toJSON(message: Params): unknown;
158
- create<I extends {
159
- codeUploadAccess?: {
160
- permission?: AccessType;
161
- address?: string;
162
- addresses?: string[];
163
- };
164
- instantiateDefaultPermission?: AccessType;
165
- } & {
166
- codeUploadAccess?: {
167
- permission?: AccessType;
168
- address?: string;
169
- addresses?: string[];
170
- } & {
171
- permission?: AccessType;
172
- address?: string;
173
- addresses?: string[] & string[] & { [K in Exclude<keyof I["codeUploadAccess"]["addresses"], keyof string[]>]: never; };
174
- } & { [K_1 in Exclude<keyof I["codeUploadAccess"], keyof AccessConfig>]: never; };
175
- instantiateDefaultPermission?: AccessType;
176
- } & { [K_2 in Exclude<keyof I, keyof Params>]: never; }>(base?: I): Params;
177
- fromPartial<I_1 extends {
178
- codeUploadAccess?: {
179
- permission?: AccessType;
180
- address?: string;
181
- addresses?: string[];
182
- };
183
- instantiateDefaultPermission?: AccessType;
184
- } & {
185
- codeUploadAccess?: {
186
- permission?: AccessType;
187
- address?: string;
188
- addresses?: string[];
189
- } & {
190
- permission?: AccessType;
191
- address?: string;
192
- addresses?: string[] & string[] & { [K_3 in Exclude<keyof I_1["codeUploadAccess"]["addresses"], keyof string[]>]: never; };
193
- } & { [K_4 in Exclude<keyof I_1["codeUploadAccess"], keyof AccessConfig>]: never; };
194
- instantiateDefaultPermission?: AccessType;
195
- } & { [K_5 in Exclude<keyof I_1, keyof Params>]: never; }>(object: I_1): Params;
134
+ create<I extends Exact<DeepPartial<Params>, I>>(base?: I): Params;
135
+ fromPartial<I extends Exact<DeepPartial<Params>, I>>(object: I): Params;
196
136
  };
197
137
  export declare const CodeInfo: {
198
138
  encode(message: CodeInfo, writer?: _m0.Writer): _m0.Writer;
199
139
  decode(input: _m0.Reader | Uint8Array, length?: number): CodeInfo;
200
140
  fromJSON(object: any): CodeInfo;
201
141
  toJSON(message: CodeInfo): unknown;
202
- create<I extends {
203
- codeHash?: Uint8Array;
204
- creator?: string;
205
- instantiateConfig?: {
206
- permission?: AccessType;
207
- address?: string;
208
- addresses?: string[];
209
- };
210
- } & {
211
- codeHash?: Uint8Array;
212
- creator?: string;
213
- instantiateConfig?: {
214
- permission?: AccessType;
215
- address?: string;
216
- addresses?: string[];
217
- } & {
218
- permission?: AccessType;
219
- address?: string;
220
- addresses?: string[] & string[] & { [K in Exclude<keyof I["instantiateConfig"]["addresses"], keyof string[]>]: never; };
221
- } & { [K_1 in Exclude<keyof I["instantiateConfig"], keyof AccessConfig>]: never; };
222
- } & { [K_2 in Exclude<keyof I, keyof CodeInfo>]: never; }>(base?: I): CodeInfo;
223
- fromPartial<I_1 extends {
224
- codeHash?: Uint8Array;
225
- creator?: string;
226
- instantiateConfig?: {
227
- permission?: AccessType;
228
- address?: string;
229
- addresses?: string[];
230
- };
231
- } & {
232
- codeHash?: Uint8Array;
233
- creator?: string;
234
- instantiateConfig?: {
235
- permission?: AccessType;
236
- address?: string;
237
- addresses?: string[];
238
- } & {
239
- permission?: AccessType;
240
- address?: string;
241
- addresses?: string[] & string[] & { [K_3 in Exclude<keyof I_1["instantiateConfig"]["addresses"], keyof string[]>]: never; };
242
- } & { [K_4 in Exclude<keyof I_1["instantiateConfig"], keyof AccessConfig>]: never; };
243
- } & { [K_5 in Exclude<keyof I_1, keyof CodeInfo>]: never; }>(object: I_1): CodeInfo;
142
+ create<I extends Exact<DeepPartial<CodeInfo>, I>>(base?: I): CodeInfo;
143
+ fromPartial<I extends Exact<DeepPartial<CodeInfo>, I>>(object: I): CodeInfo;
244
144
  };
245
145
  export declare const ContractInfo: {
246
146
  encode(message: ContractInfo, writer?: _m0.Writer): _m0.Writer;
247
147
  decode(input: _m0.Reader | Uint8Array, length?: number): ContractInfo;
248
148
  fromJSON(object: any): ContractInfo;
249
149
  toJSON(message: ContractInfo): unknown;
250
- create<I extends {
251
- codeId?: number;
252
- creator?: string;
253
- admin?: string;
254
- label?: string;
255
- created?: {
256
- blockHeight?: number;
257
- txIndex?: number;
258
- };
259
- ibcPortId?: string;
260
- extension?: {
261
- typeUrl?: string;
262
- value?: Uint8Array;
263
- };
264
- } & {
265
- codeId?: number;
266
- creator?: string;
267
- admin?: string;
268
- label?: string;
269
- created?: {
270
- blockHeight?: number;
271
- txIndex?: number;
272
- } & {
273
- blockHeight?: number;
274
- txIndex?: number;
275
- } & { [K in Exclude<keyof I["created"], keyof AbsoluteTxPosition>]: never; };
276
- ibcPortId?: string;
277
- extension?: {
278
- typeUrl?: string;
279
- value?: Uint8Array;
280
- } & {
281
- typeUrl?: string;
282
- value?: Uint8Array;
283
- } & { [K_1 in Exclude<keyof I["extension"], keyof Any>]: never; };
284
- } & { [K_2 in Exclude<keyof I, keyof ContractInfo>]: never; }>(base?: I): ContractInfo;
285
- fromPartial<I_1 extends {
286
- codeId?: number;
287
- creator?: string;
288
- admin?: string;
289
- label?: string;
290
- created?: {
291
- blockHeight?: number;
292
- txIndex?: number;
293
- };
294
- ibcPortId?: string;
295
- extension?: {
296
- typeUrl?: string;
297
- value?: Uint8Array;
298
- };
299
- } & {
300
- codeId?: number;
301
- creator?: string;
302
- admin?: string;
303
- label?: string;
304
- created?: {
305
- blockHeight?: number;
306
- txIndex?: number;
307
- } & {
308
- blockHeight?: number;
309
- txIndex?: number;
310
- } & { [K_3 in Exclude<keyof I_1["created"], keyof AbsoluteTxPosition>]: never; };
311
- ibcPortId?: string;
312
- extension?: {
313
- typeUrl?: string;
314
- value?: Uint8Array;
315
- } & {
316
- typeUrl?: string;
317
- value?: Uint8Array;
318
- } & { [K_4 in Exclude<keyof I_1["extension"], keyof Any>]: never; };
319
- } & { [K_5 in Exclude<keyof I_1, keyof ContractInfo>]: never; }>(object: I_1): ContractInfo;
150
+ create<I extends Exact<DeepPartial<ContractInfo>, I>>(base?: I): ContractInfo;
151
+ fromPartial<I extends Exact<DeepPartial<ContractInfo>, I>>(object: I): ContractInfo;
320
152
  };
321
153
  export declare const ContractCodeHistoryEntry: {
322
154
  encode(message: ContractCodeHistoryEntry, writer?: _m0.Writer): _m0.Writer;
323
155
  decode(input: _m0.Reader | Uint8Array, length?: number): ContractCodeHistoryEntry;
324
156
  fromJSON(object: any): ContractCodeHistoryEntry;
325
157
  toJSON(message: ContractCodeHistoryEntry): unknown;
326
- create<I extends {
327
- operation?: ContractCodeHistoryOperationType;
328
- codeId?: number;
329
- updated?: {
330
- blockHeight?: number;
331
- txIndex?: number;
332
- };
333
- msg?: Uint8Array;
334
- } & {
335
- operation?: ContractCodeHistoryOperationType;
336
- codeId?: number;
337
- updated?: {
338
- blockHeight?: number;
339
- txIndex?: number;
340
- } & {
341
- blockHeight?: number;
342
- txIndex?: number;
343
- } & { [K in Exclude<keyof I["updated"], keyof AbsoluteTxPosition>]: never; };
344
- msg?: Uint8Array;
345
- } & { [K_1 in Exclude<keyof I, keyof ContractCodeHistoryEntry>]: never; }>(base?: I): ContractCodeHistoryEntry;
346
- fromPartial<I_1 extends {
347
- operation?: ContractCodeHistoryOperationType;
348
- codeId?: number;
349
- updated?: {
350
- blockHeight?: number;
351
- txIndex?: number;
352
- };
353
- msg?: Uint8Array;
354
- } & {
355
- operation?: ContractCodeHistoryOperationType;
356
- codeId?: number;
357
- updated?: {
358
- blockHeight?: number;
359
- txIndex?: number;
360
- } & {
361
- blockHeight?: number;
362
- txIndex?: number;
363
- } & { [K_2 in Exclude<keyof I_1["updated"], keyof AbsoluteTxPosition>]: never; };
364
- msg?: Uint8Array;
365
- } & { [K_3 in Exclude<keyof I_1, keyof ContractCodeHistoryEntry>]: never; }>(object: I_1): ContractCodeHistoryEntry;
158
+ create<I extends Exact<DeepPartial<ContractCodeHistoryEntry>, I>>(base?: I): ContractCodeHistoryEntry;
159
+ fromPartial<I extends Exact<DeepPartial<ContractCodeHistoryEntry>, I>>(object: I): ContractCodeHistoryEntry;
366
160
  };
367
161
  export declare const AbsoluteTxPosition: {
368
162
  encode(message: AbsoluteTxPosition, writer?: _m0.Writer): _m0.Writer;
369
163
  decode(input: _m0.Reader | Uint8Array, length?: number): AbsoluteTxPosition;
370
164
  fromJSON(object: any): AbsoluteTxPosition;
371
165
  toJSON(message: AbsoluteTxPosition): unknown;
372
- create<I extends {
373
- blockHeight?: number;
374
- txIndex?: number;
375
- } & {
376
- blockHeight?: number;
377
- txIndex?: number;
378
- } & { [K in Exclude<keyof I, keyof AbsoluteTxPosition>]: never; }>(base?: I): AbsoluteTxPosition;
379
- fromPartial<I_1 extends {
380
- blockHeight?: number;
381
- txIndex?: number;
382
- } & {
383
- blockHeight?: number;
384
- txIndex?: number;
385
- } & { [K_1 in Exclude<keyof I_1, keyof AbsoluteTxPosition>]: never; }>(object: I_1): AbsoluteTxPosition;
166
+ create<I extends Exact<DeepPartial<AbsoluteTxPosition>, I>>(base?: I): AbsoluteTxPosition;
167
+ fromPartial<I extends Exact<DeepPartial<AbsoluteTxPosition>, I>>(object: I): AbsoluteTxPosition;
386
168
  };
387
169
  export declare const Model: {
388
170
  encode(message: Model, writer?: _m0.Writer): _m0.Writer;
389
171
  decode(input: _m0.Reader | Uint8Array, length?: number): Model;
390
172
  fromJSON(object: any): Model;
391
173
  toJSON(message: Model): unknown;
392
- create<I extends {
393
- key?: Uint8Array;
394
- value?: Uint8Array;
395
- } & {
396
- key?: Uint8Array;
397
- value?: Uint8Array;
398
- } & { [K in Exclude<keyof I, keyof Model>]: never; }>(base?: I): Model;
399
- fromPartial<I_1 extends {
400
- key?: Uint8Array;
401
- value?: Uint8Array;
402
- } & {
403
- key?: Uint8Array;
404
- value?: Uint8Array;
405
- } & { [K_1 in Exclude<keyof I_1, keyof Model>]: never; }>(object: I_1): Model;
174
+ create<I extends Exact<DeepPartial<Model>, I>>(base?: I): Model;
175
+ fromPartial<I extends Exact<DeepPartial<Model>, I>>(object: I): Model;
406
176
  };
407
177
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
408
178
  export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
@@ -3,7 +3,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.Model = exports.AbsoluteTxPosition = exports.ContractCodeHistoryEntry = exports.ContractInfo = exports.CodeInfo = exports.Params = exports.AccessConfig = exports.AccessTypeParam = exports.contractCodeHistoryOperationTypeToJSON = exports.contractCodeHistoryOperationTypeFromJSON = exports.ContractCodeHistoryOperationType = exports.accessTypeToJSON = exports.accessTypeFromJSON = exports.AccessType = exports.protobufPackage = void 0;
6
+ exports.Model = exports.AbsoluteTxPosition = exports.ContractCodeHistoryEntry = exports.ContractInfo = exports.CodeInfo = exports.Params = exports.AccessConfig = exports.AccessTypeParam = exports.ContractCodeHistoryOperationType = exports.AccessType = exports.protobufPackage = void 0;
7
+ exports.accessTypeFromJSON = accessTypeFromJSON;
8
+ exports.accessTypeToJSON = accessTypeToJSON;
9
+ exports.contractCodeHistoryOperationTypeFromJSON = contractCodeHistoryOperationTypeFromJSON;
10
+ exports.contractCodeHistoryOperationTypeToJSON = contractCodeHistoryOperationTypeToJSON;
7
11
  /* eslint-disable */
8
12
  const long_1 = __importDefault(require("long"));
9
13
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
@@ -50,7 +54,6 @@ function accessTypeFromJSON(object) {
50
54
  return AccessType.UNRECOGNIZED;
51
55
  }
52
56
  }
53
- exports.accessTypeFromJSON = accessTypeFromJSON;
54
57
  function accessTypeToJSON(object) {
55
58
  switch (object) {
56
59
  case AccessType.ACCESS_TYPE_UNSPECIFIED:
@@ -68,7 +71,6 @@ function accessTypeToJSON(object) {
68
71
  return "UNRECOGNIZED";
69
72
  }
70
73
  }
71
- exports.accessTypeToJSON = accessTypeToJSON;
72
74
  /** ContractCodeHistoryOperationType actions that caused a code change */
73
75
  var ContractCodeHistoryOperationType;
74
76
  (function (ContractCodeHistoryOperationType) {
@@ -102,7 +104,6 @@ function contractCodeHistoryOperationTypeFromJSON(object) {
102
104
  return ContractCodeHistoryOperationType.UNRECOGNIZED;
103
105
  }
104
106
  }
105
- exports.contractCodeHistoryOperationTypeFromJSON = contractCodeHistoryOperationTypeFromJSON;
106
107
  function contractCodeHistoryOperationTypeToJSON(object) {
107
108
  switch (object) {
108
109
  case ContractCodeHistoryOperationType.CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED:
@@ -118,7 +119,6 @@ function contractCodeHistoryOperationTypeToJSON(object) {
118
119
  return "UNRECOGNIZED";
119
120
  }
120
121
  }
121
- exports.contractCodeHistoryOperationTypeToJSON = contractCodeHistoryOperationTypeToJSON;
122
122
  function createBaseAccessTypeParam() {
123
123
  return { value: 0 };
124
124
  }
@@ -7,7 +7,7 @@ import { connectKeplr, connectCosmostation, getCosmosOfflineSigner, connectLeap,
7
7
  import { COREUM_CONFIG } from "../types/coreum";
8
8
  import { QueryClientImpl as FeeModelClient } from "../coreum/feemodel/v1/query";
9
9
  import { Registry, } from "@cosmjs/proto-signing";
10
- import { Tendermint34Client, WebsocketClient } from "@cosmjs/tendermint-rpc";
10
+ import { Tendermint37Client, WebsocketClient } from "@cosmjs/tendermint-rpc";
11
11
  import { ExtensionWallets } from "../types";
12
12
  import { generateWalletFromMnemonic, generateMultisigFromPubkeys, } from "../utils";
13
13
  import { GasPrice, QueryClient, StargateClient, calculateFee, createProtobufRpcClient, decodeCosmosSdkDecFromProto, defaultRegistryTypes, setupAuthExtension, setupFeegrantExtension, setupIbcExtension, setupMintExtension, setupStakingExtension, setupTxExtension, } from "@cosmjs/stargate";
@@ -362,7 +362,7 @@ export class Client {
362
362
  throw new Error("Signing Client is not initialized");
363
363
  }
364
364
  async _initTendermintClient(rpcEndpoint) {
365
- this._tmClient = await Tendermint34Client.connect(rpcEndpoint);
365
+ this._tmClient = await Tendermint37Client.connect(rpcEndpoint);
366
366
  }
367
367
  _initQueryClient() {
368
368
  this._queryClient = QueryClient.withExtensions(this._tmClient, setupFTExtension, setupNFTExtension, setupNFTBetaExtension, setupStakingExtension, setupBankExtension, setupDistributionExtension, setupTxExtension, setupAuthExtension, setupMintExtension, setupFeegrantExtension, setupGovExtension, setupIbcExtension, setupWasmExtension);
@@ -34,116 +34,24 @@ export declare const EventIssued: {
34
34
  decode(input: _m0.Reader | Uint8Array, length?: number): EventIssued;
35
35
  fromJSON(object: any): EventIssued;
36
36
  toJSON(message: EventIssued): unknown;
37
- create<I extends {
38
- denom?: string;
39
- issuer?: string;
40
- symbol?: string;
41
- subunit?: string;
42
- precision?: number;
43
- initialAmount?: string;
44
- description?: string;
45
- features?: Feature[];
46
- burnRate?: string;
47
- sendCommissionRate?: string;
48
- uri?: string;
49
- uriHash?: string;
50
- } & {
51
- denom?: string;
52
- issuer?: string;
53
- symbol?: string;
54
- subunit?: string;
55
- precision?: number;
56
- initialAmount?: string;
57
- description?: string;
58
- features?: Feature[] & Feature[] & { [K in Exclude<keyof I["features"], keyof Feature[]>]: never; };
59
- burnRate?: string;
60
- sendCommissionRate?: string;
61
- uri?: string;
62
- uriHash?: string;
63
- } & { [K_1 in Exclude<keyof I, keyof EventIssued>]: never; }>(base?: I): EventIssued;
64
- fromPartial<I_1 extends {
65
- denom?: string;
66
- issuer?: string;
67
- symbol?: string;
68
- subunit?: string;
69
- precision?: number;
70
- initialAmount?: string;
71
- description?: string;
72
- features?: Feature[];
73
- burnRate?: string;
74
- sendCommissionRate?: string;
75
- uri?: string;
76
- uriHash?: string;
77
- } & {
78
- denom?: string;
79
- issuer?: string;
80
- symbol?: string;
81
- subunit?: string;
82
- precision?: number;
83
- initialAmount?: string;
84
- description?: string;
85
- features?: Feature[] & Feature[] & { [K_2 in Exclude<keyof I_1["features"], keyof Feature[]>]: never; };
86
- burnRate?: string;
87
- sendCommissionRate?: string;
88
- uri?: string;
89
- uriHash?: string;
90
- } & { [K_3 in Exclude<keyof I_1, keyof EventIssued>]: never; }>(object: I_1): EventIssued;
37
+ create<I extends Exact<DeepPartial<EventIssued>, I>>(base?: I): EventIssued;
38
+ fromPartial<I extends Exact<DeepPartial<EventIssued>, I>>(object: I): EventIssued;
91
39
  };
92
40
  export declare const EventFrozenAmountChanged: {
93
41
  encode(message: EventFrozenAmountChanged, writer?: _m0.Writer): _m0.Writer;
94
42
  decode(input: _m0.Reader | Uint8Array, length?: number): EventFrozenAmountChanged;
95
43
  fromJSON(object: any): EventFrozenAmountChanged;
96
44
  toJSON(message: EventFrozenAmountChanged): unknown;
97
- create<I extends {
98
- account?: string;
99
- denom?: string;
100
- previousAmount?: string;
101
- currentAmount?: string;
102
- } & {
103
- account?: string;
104
- denom?: string;
105
- previousAmount?: string;
106
- currentAmount?: string;
107
- } & { [K in Exclude<keyof I, keyof EventFrozenAmountChanged>]: never; }>(base?: I): EventFrozenAmountChanged;
108
- fromPartial<I_1 extends {
109
- account?: string;
110
- denom?: string;
111
- previousAmount?: string;
112
- currentAmount?: string;
113
- } & {
114
- account?: string;
115
- denom?: string;
116
- previousAmount?: string;
117
- currentAmount?: string;
118
- } & { [K_1 in Exclude<keyof I_1, keyof EventFrozenAmountChanged>]: never; }>(object: I_1): EventFrozenAmountChanged;
45
+ create<I extends Exact<DeepPartial<EventFrozenAmountChanged>, I>>(base?: I): EventFrozenAmountChanged;
46
+ fromPartial<I extends Exact<DeepPartial<EventFrozenAmountChanged>, I>>(object: I): EventFrozenAmountChanged;
119
47
  };
120
48
  export declare const EventWhitelistedAmountChanged: {
121
49
  encode(message: EventWhitelistedAmountChanged, writer?: _m0.Writer): _m0.Writer;
122
50
  decode(input: _m0.Reader | Uint8Array, length?: number): EventWhitelistedAmountChanged;
123
51
  fromJSON(object: any): EventWhitelistedAmountChanged;
124
52
  toJSON(message: EventWhitelistedAmountChanged): unknown;
125
- create<I extends {
126
- account?: string;
127
- denom?: string;
128
- previousAmount?: string;
129
- currentAmount?: string;
130
- } & {
131
- account?: string;
132
- denom?: string;
133
- previousAmount?: string;
134
- currentAmount?: string;
135
- } & { [K in Exclude<keyof I, keyof EventWhitelistedAmountChanged>]: never; }>(base?: I): EventWhitelistedAmountChanged;
136
- fromPartial<I_1 extends {
137
- account?: string;
138
- denom?: string;
139
- previousAmount?: string;
140
- currentAmount?: string;
141
- } & {
142
- account?: string;
143
- denom?: string;
144
- previousAmount?: string;
145
- currentAmount?: string;
146
- } & { [K_1 in Exclude<keyof I_1, keyof EventWhitelistedAmountChanged>]: never; }>(object: I_1): EventWhitelistedAmountChanged;
53
+ create<I extends Exact<DeepPartial<EventWhitelistedAmountChanged>, I>>(base?: I): EventWhitelistedAmountChanged;
54
+ fromPartial<I extends Exact<DeepPartial<EventWhitelistedAmountChanged>, I>>(object: I): EventWhitelistedAmountChanged;
147
55
  };
148
56
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
149
57
  export type DeepPartial<T> = T extends Builtin ? T : T extends Long ? string | number | Long : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {