coreum-js 2.5.5 → 2.5.7

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 (86) hide show
  1. package/README.md +1 -0
  2. package/dist/main/client/index.js +4 -4
  3. package/dist/main/coreum/asset/nft/v1/nft.d.ts +1 -1
  4. package/dist/main/coreum/asset/nft/v1/nft.js +2 -2
  5. package/dist/main/coreum/asset/nft/v1/query.d.ts +2 -2
  6. package/dist/main/coreum/asset/nft/v1/tx.d.ts +1 -1
  7. package/dist/main/coreum/asset/nft/v1/tx.js +2 -2
  8. package/dist/main/coreum/index.d.ts +2 -2
  9. package/dist/main/coreum/nft/v1beta1/genesis.d.ts +6 -6
  10. package/dist/main/coreum/nft/v1beta1/nft.d.ts +1 -1
  11. package/dist/main/coreum/nft/v1beta1/nft.js +2 -2
  12. package/dist/main/coreum/nft/v1beta1/query.d.ts +8 -8
  13. package/dist/main/cosmos/base/query/v1beta1/pagination.js +29 -11
  14. package/dist/main/{coreum/google → google}/api/annotations.js +1 -1
  15. package/dist/main/google/api/http.js +329 -0
  16. package/dist/main/google/protobuf/any.js +122 -0
  17. package/dist/main/types/core.d.ts +2 -0
  18. package/dist/main/types/core.js +1 -1
  19. package/dist/main/wasm/v1/authz.d.ts +570 -0
  20. package/dist/main/wasm/v1/authz.js +603 -0
  21. package/dist/main/wasm/v1/extensions/wasm.d.ts +17 -0
  22. package/dist/main/wasm/v1/extensions/wasm.js +48 -0
  23. package/dist/main/wasm/v1/genesis.d.ts +1059 -0
  24. package/dist/main/wasm/v1/genesis.js +427 -0
  25. package/dist/main/wasm/v1/ibc.d.ts +102 -0
  26. package/dist/main/wasm/v1/ibc.js +250 -0
  27. package/dist/main/wasm/v1/index.d.ts +308 -0
  28. package/dist/main/wasm/v1/index.js +87 -0
  29. package/dist/main/wasm/v1/pagination.d.ts +128 -0
  30. package/dist/main/wasm/v1/pagination.js +228 -0
  31. package/dist/main/wasm/v1/proposal.d.ts +1023 -0
  32. package/dist/main/wasm/v1/proposal.js +1638 -0
  33. package/dist/main/wasm/v1/query.d.ts +1443 -0
  34. package/dist/main/wasm/v1/query.js +1699 -0
  35. package/dist/main/wasm/v1/tx.d.ts +1167 -0
  36. package/dist/main/wasm/v1/tx.js +2088 -0
  37. package/dist/main/wasm/v1/types.d.ts +417 -0
  38. package/dist/main/wasm/v1/types.js +856 -0
  39. package/dist/module/client/index.js +4 -4
  40. package/dist/module/coreum/asset/nft/v1/nft.d.ts +1 -1
  41. package/dist/module/coreum/asset/nft/v1/nft.js +2 -2
  42. package/dist/module/coreum/asset/nft/v1/query.d.ts +2 -2
  43. package/dist/module/coreum/asset/nft/v1/tx.d.ts +1 -1
  44. package/dist/module/coreum/asset/nft/v1/tx.js +2 -2
  45. package/dist/module/coreum/index.d.ts +2 -2
  46. package/dist/module/coreum/nft/v1beta1/genesis.d.ts +6 -6
  47. package/dist/module/coreum/nft/v1beta1/nft.d.ts +1 -1
  48. package/dist/module/coreum/nft/v1beta1/nft.js +2 -2
  49. package/dist/module/coreum/nft/v1beta1/query.d.ts +8 -8
  50. package/dist/module/cosmos/base/query/v1beta1/pagination.js +29 -11
  51. package/dist/module/{coreum/google → google}/api/annotations.js +1 -1
  52. package/dist/module/google/api/http.js +320 -0
  53. package/dist/module/google/protobuf/any.js +115 -0
  54. package/dist/module/types/core.d.ts +2 -0
  55. package/dist/module/types/core.js +1 -1
  56. package/dist/module/wasm/v1/authz.d.ts +570 -0
  57. package/dist/module/wasm/v1/authz.js +589 -0
  58. package/dist/module/wasm/v1/extensions/wasm.d.ts +17 -0
  59. package/dist/module/wasm/v1/extensions/wasm.js +44 -0
  60. package/dist/module/wasm/v1/genesis.d.ts +1059 -0
  61. package/dist/module/wasm/v1/genesis.js +417 -0
  62. package/dist/module/wasm/v1/ibc.d.ts +102 -0
  63. package/dist/module/wasm/v1/ibc.js +241 -0
  64. package/dist/module/wasm/v1/index.d.ts +308 -0
  65. package/dist/module/wasm/v1/index.js +84 -0
  66. package/dist/module/wasm/v1/pagination.d.ts +128 -0
  67. package/dist/module/wasm/v1/pagination.js +220 -0
  68. package/dist/module/wasm/v1/proposal.d.ts +1023 -0
  69. package/dist/module/wasm/v1/proposal.js +1619 -0
  70. package/dist/module/wasm/v1/query.d.ts +1443 -0
  71. package/dist/module/wasm/v1/query.js +1675 -0
  72. package/dist/module/wasm/v1/tx.d.ts +1167 -0
  73. package/dist/module/wasm/v1/tx.js +2063 -0
  74. package/dist/module/wasm/v1/types.d.ts +417 -0
  75. package/dist/module/wasm/v1/types.js +838 -0
  76. package/package.json +2 -1
  77. package/dist/main/coreum/google/api/http.js +0 -329
  78. package/dist/main/coreum/google/protobuf/any.js +0 -122
  79. package/dist/module/coreum/google/api/http.js +0 -320
  80. package/dist/module/coreum/google/protobuf/any.js +0 -115
  81. /package/dist/main/{coreum/google → google}/api/annotations.d.ts +0 -0
  82. /package/dist/main/{coreum/google → google}/api/http.d.ts +0 -0
  83. /package/dist/main/{coreum/google → google}/protobuf/any.d.ts +0 -0
  84. /package/dist/module/{coreum/google → google}/api/annotations.d.ts +0 -0
  85. /package/dist/module/{coreum/google → google}/api/http.d.ts +0 -0
  86. /package/dist/module/{coreum/google → google}/protobuf/any.d.ts +0 -0
@@ -0,0 +1,1059 @@
1
+ import _m0 from "protobufjs/minimal";
2
+ import { CodeInfo, ContractCodeHistoryEntry, ContractInfo, Model, Params } from "./types";
3
+ export declare const protobufPackage = "cosmwasm.wasm.v1";
4
+ /** GenesisState - genesis state of x/wasm */
5
+ export interface GenesisState {
6
+ params: Params | undefined;
7
+ codes: Code[];
8
+ contracts: Contract[];
9
+ sequences: Sequence[];
10
+ }
11
+ /** Code struct encompasses CodeInfo and CodeBytes */
12
+ export interface Code {
13
+ codeId: number;
14
+ codeInfo: CodeInfo | undefined;
15
+ codeBytes: Uint8Array;
16
+ /** Pinned to wasmvm cache */
17
+ pinned: boolean;
18
+ }
19
+ /** Contract struct encompasses ContractAddress, ContractInfo, and ContractState */
20
+ export interface Contract {
21
+ contractAddress: string;
22
+ contractInfo: ContractInfo | undefined;
23
+ contractState: Model[];
24
+ contractCodeHistory: ContractCodeHistoryEntry[];
25
+ }
26
+ /** Sequence key and value of an id generation counter */
27
+ export interface Sequence {
28
+ idKey: Uint8Array;
29
+ value: number;
30
+ }
31
+ export declare const GenesisState: {
32
+ encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer;
33
+ decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState;
34
+ fromJSON(object: any): GenesisState;
35
+ toJSON(message: GenesisState): unknown;
36
+ create<I extends {
37
+ params?: {
38
+ codeUploadAccess?: {
39
+ permission?: import("./types").AccessType;
40
+ address?: string;
41
+ addresses?: string[];
42
+ };
43
+ instantiateDefaultPermission?: import("./types").AccessType;
44
+ };
45
+ codes?: {
46
+ codeId?: number;
47
+ codeInfo?: {
48
+ codeHash?: Uint8Array;
49
+ creator?: string;
50
+ instantiateConfig?: {
51
+ permission?: import("./types").AccessType;
52
+ address?: string;
53
+ addresses?: string[];
54
+ };
55
+ };
56
+ codeBytes?: Uint8Array;
57
+ pinned?: boolean;
58
+ }[];
59
+ contracts?: {
60
+ contractAddress?: string;
61
+ contractInfo?: {
62
+ codeId?: number;
63
+ creator?: string;
64
+ admin?: string;
65
+ label?: string;
66
+ created?: {
67
+ blockHeight?: number;
68
+ txIndex?: number;
69
+ };
70
+ ibcPortId?: string;
71
+ extension?: {
72
+ typeUrl?: string;
73
+ value?: Uint8Array;
74
+ };
75
+ };
76
+ contractState?: {
77
+ key?: Uint8Array;
78
+ value?: Uint8Array;
79
+ }[];
80
+ contractCodeHistory?: {
81
+ operation?: import("./types").ContractCodeHistoryOperationType;
82
+ codeId?: number;
83
+ updated?: {
84
+ blockHeight?: number;
85
+ txIndex?: number;
86
+ };
87
+ msg?: Uint8Array;
88
+ }[];
89
+ }[];
90
+ sequences?: {
91
+ idKey?: Uint8Array;
92
+ value?: number;
93
+ }[];
94
+ } & {
95
+ params?: {
96
+ codeUploadAccess?: {
97
+ permission?: import("./types").AccessType;
98
+ address?: string;
99
+ addresses?: string[];
100
+ };
101
+ instantiateDefaultPermission?: import("./types").AccessType;
102
+ } & {
103
+ codeUploadAccess?: {
104
+ permission?: import("./types").AccessType;
105
+ address?: string;
106
+ addresses?: string[];
107
+ } & {
108
+ permission?: import("./types").AccessType;
109
+ address?: string;
110
+ addresses?: string[] & string[] & { [K in Exclude<keyof I["params"]["codeUploadAccess"]["addresses"], keyof string[]>]: never; };
111
+ } & { [K_1 in Exclude<keyof I["params"]["codeUploadAccess"], keyof import("./types").AccessConfig>]: never; };
112
+ instantiateDefaultPermission?: import("./types").AccessType;
113
+ } & { [K_2 in Exclude<keyof I["params"], keyof Params>]: never; };
114
+ codes?: {
115
+ codeId?: number;
116
+ codeInfo?: {
117
+ codeHash?: Uint8Array;
118
+ creator?: string;
119
+ instantiateConfig?: {
120
+ permission?: import("./types").AccessType;
121
+ address?: string;
122
+ addresses?: string[];
123
+ };
124
+ };
125
+ codeBytes?: Uint8Array;
126
+ pinned?: boolean;
127
+ }[] & ({
128
+ codeId?: number;
129
+ codeInfo?: {
130
+ codeHash?: Uint8Array;
131
+ creator?: string;
132
+ instantiateConfig?: {
133
+ permission?: import("./types").AccessType;
134
+ address?: string;
135
+ addresses?: string[];
136
+ };
137
+ };
138
+ codeBytes?: Uint8Array;
139
+ pinned?: boolean;
140
+ } & {
141
+ codeId?: number;
142
+ codeInfo?: {
143
+ codeHash?: Uint8Array;
144
+ creator?: string;
145
+ instantiateConfig?: {
146
+ permission?: import("./types").AccessType;
147
+ address?: string;
148
+ addresses?: string[];
149
+ };
150
+ } & {
151
+ codeHash?: Uint8Array;
152
+ creator?: string;
153
+ instantiateConfig?: {
154
+ permission?: import("./types").AccessType;
155
+ address?: string;
156
+ addresses?: string[];
157
+ } & {
158
+ permission?: import("./types").AccessType;
159
+ address?: string;
160
+ addresses?: string[] & string[] & { [K_3 in Exclude<keyof I["codes"][number]["codeInfo"]["instantiateConfig"]["addresses"], keyof string[]>]: never; };
161
+ } & { [K_4 in Exclude<keyof I["codes"][number]["codeInfo"]["instantiateConfig"], keyof import("./types").AccessConfig>]: never; };
162
+ } & { [K_5 in Exclude<keyof I["codes"][number]["codeInfo"], keyof CodeInfo>]: never; };
163
+ codeBytes?: Uint8Array;
164
+ pinned?: boolean;
165
+ } & { [K_6 in Exclude<keyof I["codes"][number], keyof Code>]: never; })[] & { [K_7 in Exclude<keyof I["codes"], keyof {
166
+ codeId?: number;
167
+ codeInfo?: {
168
+ codeHash?: Uint8Array;
169
+ creator?: string;
170
+ instantiateConfig?: {
171
+ permission?: import("./types").AccessType;
172
+ address?: string;
173
+ addresses?: string[];
174
+ };
175
+ };
176
+ codeBytes?: Uint8Array;
177
+ pinned?: boolean;
178
+ }[]>]: never; };
179
+ contracts?: {
180
+ contractAddress?: string;
181
+ contractInfo?: {
182
+ codeId?: number;
183
+ creator?: string;
184
+ admin?: string;
185
+ label?: string;
186
+ created?: {
187
+ blockHeight?: number;
188
+ txIndex?: number;
189
+ };
190
+ ibcPortId?: string;
191
+ extension?: {
192
+ typeUrl?: string;
193
+ value?: Uint8Array;
194
+ };
195
+ };
196
+ contractState?: {
197
+ key?: Uint8Array;
198
+ value?: Uint8Array;
199
+ }[];
200
+ contractCodeHistory?: {
201
+ operation?: import("./types").ContractCodeHistoryOperationType;
202
+ codeId?: number;
203
+ updated?: {
204
+ blockHeight?: number;
205
+ txIndex?: number;
206
+ };
207
+ msg?: Uint8Array;
208
+ }[];
209
+ }[] & ({
210
+ contractAddress?: string;
211
+ contractInfo?: {
212
+ codeId?: number;
213
+ creator?: string;
214
+ admin?: string;
215
+ label?: string;
216
+ created?: {
217
+ blockHeight?: number;
218
+ txIndex?: number;
219
+ };
220
+ ibcPortId?: string;
221
+ extension?: {
222
+ typeUrl?: string;
223
+ value?: Uint8Array;
224
+ };
225
+ };
226
+ contractState?: {
227
+ key?: Uint8Array;
228
+ value?: Uint8Array;
229
+ }[];
230
+ contractCodeHistory?: {
231
+ operation?: import("./types").ContractCodeHistoryOperationType;
232
+ codeId?: number;
233
+ updated?: {
234
+ blockHeight?: number;
235
+ txIndex?: number;
236
+ };
237
+ msg?: Uint8Array;
238
+ }[];
239
+ } & {
240
+ contractAddress?: string;
241
+ contractInfo?: {
242
+ codeId?: number;
243
+ creator?: string;
244
+ admin?: string;
245
+ label?: string;
246
+ created?: {
247
+ blockHeight?: number;
248
+ txIndex?: number;
249
+ };
250
+ ibcPortId?: string;
251
+ extension?: {
252
+ typeUrl?: string;
253
+ value?: Uint8Array;
254
+ };
255
+ } & {
256
+ codeId?: number;
257
+ creator?: string;
258
+ admin?: string;
259
+ label?: string;
260
+ created?: {
261
+ blockHeight?: number;
262
+ txIndex?: number;
263
+ } & {
264
+ blockHeight?: number;
265
+ txIndex?: number;
266
+ } & { [K_8 in Exclude<keyof I["contracts"][number]["contractInfo"]["created"], keyof import("./types").AbsoluteTxPosition>]: never; };
267
+ ibcPortId?: string;
268
+ extension?: {
269
+ typeUrl?: string;
270
+ value?: Uint8Array;
271
+ } & {
272
+ typeUrl?: string;
273
+ value?: Uint8Array;
274
+ } & { [K_9 in Exclude<keyof I["contracts"][number]["contractInfo"]["extension"], keyof import("../../google/protobuf/any").Any>]: never; };
275
+ } & { [K_10 in Exclude<keyof I["contracts"][number]["contractInfo"], keyof ContractInfo>]: never; };
276
+ contractState?: {
277
+ key?: Uint8Array;
278
+ value?: Uint8Array;
279
+ }[] & ({
280
+ key?: Uint8Array;
281
+ value?: Uint8Array;
282
+ } & {
283
+ key?: Uint8Array;
284
+ value?: Uint8Array;
285
+ } & { [K_11 in Exclude<keyof I["contracts"][number]["contractState"][number], keyof Model>]: never; })[] & { [K_12 in Exclude<keyof I["contracts"][number]["contractState"], keyof {
286
+ key?: Uint8Array;
287
+ value?: Uint8Array;
288
+ }[]>]: never; };
289
+ contractCodeHistory?: {
290
+ operation?: import("./types").ContractCodeHistoryOperationType;
291
+ codeId?: number;
292
+ updated?: {
293
+ blockHeight?: number;
294
+ txIndex?: number;
295
+ };
296
+ msg?: Uint8Array;
297
+ }[] & ({
298
+ operation?: import("./types").ContractCodeHistoryOperationType;
299
+ codeId?: number;
300
+ updated?: {
301
+ blockHeight?: number;
302
+ txIndex?: number;
303
+ };
304
+ msg?: Uint8Array;
305
+ } & {
306
+ operation?: import("./types").ContractCodeHistoryOperationType;
307
+ codeId?: number;
308
+ updated?: {
309
+ blockHeight?: number;
310
+ txIndex?: number;
311
+ } & {
312
+ blockHeight?: number;
313
+ txIndex?: number;
314
+ } & { [K_13 in Exclude<keyof I["contracts"][number]["contractCodeHistory"][number]["updated"], keyof import("./types").AbsoluteTxPosition>]: never; };
315
+ msg?: Uint8Array;
316
+ } & { [K_14 in Exclude<keyof I["contracts"][number]["contractCodeHistory"][number], keyof ContractCodeHistoryEntry>]: never; })[] & { [K_15 in Exclude<keyof I["contracts"][number]["contractCodeHistory"], keyof {
317
+ operation?: import("./types").ContractCodeHistoryOperationType;
318
+ codeId?: number;
319
+ updated?: {
320
+ blockHeight?: number;
321
+ txIndex?: number;
322
+ };
323
+ msg?: Uint8Array;
324
+ }[]>]: never; };
325
+ } & { [K_16 in Exclude<keyof I["contracts"][number], keyof Contract>]: never; })[] & { [K_17 in Exclude<keyof I["contracts"], keyof {
326
+ contractAddress?: string;
327
+ contractInfo?: {
328
+ codeId?: number;
329
+ creator?: string;
330
+ admin?: string;
331
+ label?: string;
332
+ created?: {
333
+ blockHeight?: number;
334
+ txIndex?: number;
335
+ };
336
+ ibcPortId?: string;
337
+ extension?: {
338
+ typeUrl?: string;
339
+ value?: Uint8Array;
340
+ };
341
+ };
342
+ contractState?: {
343
+ key?: Uint8Array;
344
+ value?: Uint8Array;
345
+ }[];
346
+ contractCodeHistory?: {
347
+ operation?: import("./types").ContractCodeHistoryOperationType;
348
+ codeId?: number;
349
+ updated?: {
350
+ blockHeight?: number;
351
+ txIndex?: number;
352
+ };
353
+ msg?: Uint8Array;
354
+ }[];
355
+ }[]>]: never; };
356
+ sequences?: {
357
+ idKey?: Uint8Array;
358
+ value?: number;
359
+ }[] & ({
360
+ idKey?: Uint8Array;
361
+ value?: number;
362
+ } & {
363
+ idKey?: Uint8Array;
364
+ value?: number;
365
+ } & { [K_18 in Exclude<keyof I["sequences"][number], keyof Sequence>]: never; })[] & { [K_19 in Exclude<keyof I["sequences"], keyof {
366
+ idKey?: Uint8Array;
367
+ value?: number;
368
+ }[]>]: never; };
369
+ } & { [K_20 in Exclude<keyof I, keyof GenesisState>]: never; }>(base?: I): GenesisState;
370
+ fromPartial<I_1 extends {
371
+ params?: {
372
+ codeUploadAccess?: {
373
+ permission?: import("./types").AccessType;
374
+ address?: string;
375
+ addresses?: string[];
376
+ };
377
+ instantiateDefaultPermission?: import("./types").AccessType;
378
+ };
379
+ codes?: {
380
+ codeId?: number;
381
+ codeInfo?: {
382
+ codeHash?: Uint8Array;
383
+ creator?: string;
384
+ instantiateConfig?: {
385
+ permission?: import("./types").AccessType;
386
+ address?: string;
387
+ addresses?: string[];
388
+ };
389
+ };
390
+ codeBytes?: Uint8Array;
391
+ pinned?: boolean;
392
+ }[];
393
+ contracts?: {
394
+ contractAddress?: string;
395
+ contractInfo?: {
396
+ codeId?: number;
397
+ creator?: string;
398
+ admin?: string;
399
+ label?: string;
400
+ created?: {
401
+ blockHeight?: number;
402
+ txIndex?: number;
403
+ };
404
+ ibcPortId?: string;
405
+ extension?: {
406
+ typeUrl?: string;
407
+ value?: Uint8Array;
408
+ };
409
+ };
410
+ contractState?: {
411
+ key?: Uint8Array;
412
+ value?: Uint8Array;
413
+ }[];
414
+ contractCodeHistory?: {
415
+ operation?: import("./types").ContractCodeHistoryOperationType;
416
+ codeId?: number;
417
+ updated?: {
418
+ blockHeight?: number;
419
+ txIndex?: number;
420
+ };
421
+ msg?: Uint8Array;
422
+ }[];
423
+ }[];
424
+ sequences?: {
425
+ idKey?: Uint8Array;
426
+ value?: number;
427
+ }[];
428
+ } & {
429
+ params?: {
430
+ codeUploadAccess?: {
431
+ permission?: import("./types").AccessType;
432
+ address?: string;
433
+ addresses?: string[];
434
+ };
435
+ instantiateDefaultPermission?: import("./types").AccessType;
436
+ } & {
437
+ codeUploadAccess?: {
438
+ permission?: import("./types").AccessType;
439
+ address?: string;
440
+ addresses?: string[];
441
+ } & {
442
+ permission?: import("./types").AccessType;
443
+ address?: string;
444
+ addresses?: string[] & string[] & { [K_21 in Exclude<keyof I_1["params"]["codeUploadAccess"]["addresses"], keyof string[]>]: never; };
445
+ } & { [K_22 in Exclude<keyof I_1["params"]["codeUploadAccess"], keyof import("./types").AccessConfig>]: never; };
446
+ instantiateDefaultPermission?: import("./types").AccessType;
447
+ } & { [K_23 in Exclude<keyof I_1["params"], keyof Params>]: never; };
448
+ codes?: {
449
+ codeId?: number;
450
+ codeInfo?: {
451
+ codeHash?: Uint8Array;
452
+ creator?: string;
453
+ instantiateConfig?: {
454
+ permission?: import("./types").AccessType;
455
+ address?: string;
456
+ addresses?: string[];
457
+ };
458
+ };
459
+ codeBytes?: Uint8Array;
460
+ pinned?: boolean;
461
+ }[] & ({
462
+ codeId?: number;
463
+ codeInfo?: {
464
+ codeHash?: Uint8Array;
465
+ creator?: string;
466
+ instantiateConfig?: {
467
+ permission?: import("./types").AccessType;
468
+ address?: string;
469
+ addresses?: string[];
470
+ };
471
+ };
472
+ codeBytes?: Uint8Array;
473
+ pinned?: boolean;
474
+ } & {
475
+ codeId?: number;
476
+ codeInfo?: {
477
+ codeHash?: Uint8Array;
478
+ creator?: string;
479
+ instantiateConfig?: {
480
+ permission?: import("./types").AccessType;
481
+ address?: string;
482
+ addresses?: string[];
483
+ };
484
+ } & {
485
+ codeHash?: Uint8Array;
486
+ creator?: string;
487
+ instantiateConfig?: {
488
+ permission?: import("./types").AccessType;
489
+ address?: string;
490
+ addresses?: string[];
491
+ } & {
492
+ permission?: import("./types").AccessType;
493
+ address?: string;
494
+ addresses?: string[] & string[] & { [K_24 in Exclude<keyof I_1["codes"][number]["codeInfo"]["instantiateConfig"]["addresses"], keyof string[]>]: never; };
495
+ } & { [K_25 in Exclude<keyof I_1["codes"][number]["codeInfo"]["instantiateConfig"], keyof import("./types").AccessConfig>]: never; };
496
+ } & { [K_26 in Exclude<keyof I_1["codes"][number]["codeInfo"], keyof CodeInfo>]: never; };
497
+ codeBytes?: Uint8Array;
498
+ pinned?: boolean;
499
+ } & { [K_27 in Exclude<keyof I_1["codes"][number], keyof Code>]: never; })[] & { [K_28 in Exclude<keyof I_1["codes"], keyof {
500
+ codeId?: number;
501
+ codeInfo?: {
502
+ codeHash?: Uint8Array;
503
+ creator?: string;
504
+ instantiateConfig?: {
505
+ permission?: import("./types").AccessType;
506
+ address?: string;
507
+ addresses?: string[];
508
+ };
509
+ };
510
+ codeBytes?: Uint8Array;
511
+ pinned?: boolean;
512
+ }[]>]: never; };
513
+ contracts?: {
514
+ contractAddress?: string;
515
+ contractInfo?: {
516
+ codeId?: number;
517
+ creator?: string;
518
+ admin?: string;
519
+ label?: string;
520
+ created?: {
521
+ blockHeight?: number;
522
+ txIndex?: number;
523
+ };
524
+ ibcPortId?: string;
525
+ extension?: {
526
+ typeUrl?: string;
527
+ value?: Uint8Array;
528
+ };
529
+ };
530
+ contractState?: {
531
+ key?: Uint8Array;
532
+ value?: Uint8Array;
533
+ }[];
534
+ contractCodeHistory?: {
535
+ operation?: import("./types").ContractCodeHistoryOperationType;
536
+ codeId?: number;
537
+ updated?: {
538
+ blockHeight?: number;
539
+ txIndex?: number;
540
+ };
541
+ msg?: Uint8Array;
542
+ }[];
543
+ }[] & ({
544
+ contractAddress?: string;
545
+ contractInfo?: {
546
+ codeId?: number;
547
+ creator?: string;
548
+ admin?: string;
549
+ label?: string;
550
+ created?: {
551
+ blockHeight?: number;
552
+ txIndex?: number;
553
+ };
554
+ ibcPortId?: string;
555
+ extension?: {
556
+ typeUrl?: string;
557
+ value?: Uint8Array;
558
+ };
559
+ };
560
+ contractState?: {
561
+ key?: Uint8Array;
562
+ value?: Uint8Array;
563
+ }[];
564
+ contractCodeHistory?: {
565
+ operation?: import("./types").ContractCodeHistoryOperationType;
566
+ codeId?: number;
567
+ updated?: {
568
+ blockHeight?: number;
569
+ txIndex?: number;
570
+ };
571
+ msg?: Uint8Array;
572
+ }[];
573
+ } & {
574
+ contractAddress?: string;
575
+ contractInfo?: {
576
+ codeId?: number;
577
+ creator?: string;
578
+ admin?: string;
579
+ label?: string;
580
+ created?: {
581
+ blockHeight?: number;
582
+ txIndex?: number;
583
+ };
584
+ ibcPortId?: string;
585
+ extension?: {
586
+ typeUrl?: string;
587
+ value?: Uint8Array;
588
+ };
589
+ } & {
590
+ codeId?: number;
591
+ creator?: string;
592
+ admin?: string;
593
+ label?: string;
594
+ created?: {
595
+ blockHeight?: number;
596
+ txIndex?: number;
597
+ } & {
598
+ blockHeight?: number;
599
+ txIndex?: number;
600
+ } & { [K_29 in Exclude<keyof I_1["contracts"][number]["contractInfo"]["created"], keyof import("./types").AbsoluteTxPosition>]: never; };
601
+ ibcPortId?: string;
602
+ extension?: {
603
+ typeUrl?: string;
604
+ value?: Uint8Array;
605
+ } & {
606
+ typeUrl?: string;
607
+ value?: Uint8Array;
608
+ } & { [K_30 in Exclude<keyof I_1["contracts"][number]["contractInfo"]["extension"], keyof import("../../google/protobuf/any").Any>]: never; };
609
+ } & { [K_31 in Exclude<keyof I_1["contracts"][number]["contractInfo"], keyof ContractInfo>]: never; };
610
+ contractState?: {
611
+ key?: Uint8Array;
612
+ value?: Uint8Array;
613
+ }[] & ({
614
+ key?: Uint8Array;
615
+ value?: Uint8Array;
616
+ } & {
617
+ key?: Uint8Array;
618
+ value?: Uint8Array;
619
+ } & { [K_32 in Exclude<keyof I_1["contracts"][number]["contractState"][number], keyof Model>]: never; })[] & { [K_33 in Exclude<keyof I_1["contracts"][number]["contractState"], keyof {
620
+ key?: Uint8Array;
621
+ value?: Uint8Array;
622
+ }[]>]: never; };
623
+ contractCodeHistory?: {
624
+ operation?: import("./types").ContractCodeHistoryOperationType;
625
+ codeId?: number;
626
+ updated?: {
627
+ blockHeight?: number;
628
+ txIndex?: number;
629
+ };
630
+ msg?: Uint8Array;
631
+ }[] & ({
632
+ operation?: import("./types").ContractCodeHistoryOperationType;
633
+ codeId?: number;
634
+ updated?: {
635
+ blockHeight?: number;
636
+ txIndex?: number;
637
+ };
638
+ msg?: Uint8Array;
639
+ } & {
640
+ operation?: import("./types").ContractCodeHistoryOperationType;
641
+ codeId?: number;
642
+ updated?: {
643
+ blockHeight?: number;
644
+ txIndex?: number;
645
+ } & {
646
+ blockHeight?: number;
647
+ txIndex?: number;
648
+ } & { [K_34 in Exclude<keyof I_1["contracts"][number]["contractCodeHistory"][number]["updated"], keyof import("./types").AbsoluteTxPosition>]: never; };
649
+ msg?: Uint8Array;
650
+ } & { [K_35 in Exclude<keyof I_1["contracts"][number]["contractCodeHistory"][number], keyof ContractCodeHistoryEntry>]: never; })[] & { [K_36 in Exclude<keyof I_1["contracts"][number]["contractCodeHistory"], keyof {
651
+ operation?: import("./types").ContractCodeHistoryOperationType;
652
+ codeId?: number;
653
+ updated?: {
654
+ blockHeight?: number;
655
+ txIndex?: number;
656
+ };
657
+ msg?: Uint8Array;
658
+ }[]>]: never; };
659
+ } & { [K_37 in Exclude<keyof I_1["contracts"][number], keyof Contract>]: never; })[] & { [K_38 in Exclude<keyof I_1["contracts"], keyof {
660
+ contractAddress?: string;
661
+ contractInfo?: {
662
+ codeId?: number;
663
+ creator?: string;
664
+ admin?: string;
665
+ label?: string;
666
+ created?: {
667
+ blockHeight?: number;
668
+ txIndex?: number;
669
+ };
670
+ ibcPortId?: string;
671
+ extension?: {
672
+ typeUrl?: string;
673
+ value?: Uint8Array;
674
+ };
675
+ };
676
+ contractState?: {
677
+ key?: Uint8Array;
678
+ value?: Uint8Array;
679
+ }[];
680
+ contractCodeHistory?: {
681
+ operation?: import("./types").ContractCodeHistoryOperationType;
682
+ codeId?: number;
683
+ updated?: {
684
+ blockHeight?: number;
685
+ txIndex?: number;
686
+ };
687
+ msg?: Uint8Array;
688
+ }[];
689
+ }[]>]: never; };
690
+ sequences?: {
691
+ idKey?: Uint8Array;
692
+ value?: number;
693
+ }[] & ({
694
+ idKey?: Uint8Array;
695
+ value?: number;
696
+ } & {
697
+ idKey?: Uint8Array;
698
+ value?: number;
699
+ } & { [K_39 in Exclude<keyof I_1["sequences"][number], keyof Sequence>]: never; })[] & { [K_40 in Exclude<keyof I_1["sequences"], keyof {
700
+ idKey?: Uint8Array;
701
+ value?: number;
702
+ }[]>]: never; };
703
+ } & { [K_41 in Exclude<keyof I_1, keyof GenesisState>]: never; }>(object: I_1): GenesisState;
704
+ };
705
+ export declare const Code: {
706
+ encode(message: Code, writer?: _m0.Writer): _m0.Writer;
707
+ decode(input: _m0.Reader | Uint8Array, length?: number): Code;
708
+ fromJSON(object: any): Code;
709
+ toJSON(message: Code): unknown;
710
+ create<I extends {
711
+ codeId?: number;
712
+ codeInfo?: {
713
+ codeHash?: Uint8Array;
714
+ creator?: string;
715
+ instantiateConfig?: {
716
+ permission?: import("./types").AccessType;
717
+ address?: string;
718
+ addresses?: string[];
719
+ };
720
+ };
721
+ codeBytes?: Uint8Array;
722
+ pinned?: boolean;
723
+ } & {
724
+ codeId?: number;
725
+ codeInfo?: {
726
+ codeHash?: Uint8Array;
727
+ creator?: string;
728
+ instantiateConfig?: {
729
+ permission?: import("./types").AccessType;
730
+ address?: string;
731
+ addresses?: string[];
732
+ };
733
+ } & {
734
+ codeHash?: Uint8Array;
735
+ creator?: string;
736
+ instantiateConfig?: {
737
+ permission?: import("./types").AccessType;
738
+ address?: string;
739
+ addresses?: string[];
740
+ } & {
741
+ permission?: import("./types").AccessType;
742
+ address?: string;
743
+ addresses?: string[] & string[] & { [K in Exclude<keyof I["codeInfo"]["instantiateConfig"]["addresses"], keyof string[]>]: never; };
744
+ } & { [K_1 in Exclude<keyof I["codeInfo"]["instantiateConfig"], keyof import("./types").AccessConfig>]: never; };
745
+ } & { [K_2 in Exclude<keyof I["codeInfo"], keyof CodeInfo>]: never; };
746
+ codeBytes?: Uint8Array;
747
+ pinned?: boolean;
748
+ } & { [K_3 in Exclude<keyof I, keyof Code>]: never; }>(base?: I): Code;
749
+ fromPartial<I_1 extends {
750
+ codeId?: number;
751
+ codeInfo?: {
752
+ codeHash?: Uint8Array;
753
+ creator?: string;
754
+ instantiateConfig?: {
755
+ permission?: import("./types").AccessType;
756
+ address?: string;
757
+ addresses?: string[];
758
+ };
759
+ };
760
+ codeBytes?: Uint8Array;
761
+ pinned?: boolean;
762
+ } & {
763
+ codeId?: number;
764
+ codeInfo?: {
765
+ codeHash?: Uint8Array;
766
+ creator?: string;
767
+ instantiateConfig?: {
768
+ permission?: import("./types").AccessType;
769
+ address?: string;
770
+ addresses?: string[];
771
+ };
772
+ } & {
773
+ codeHash?: Uint8Array;
774
+ creator?: string;
775
+ instantiateConfig?: {
776
+ permission?: import("./types").AccessType;
777
+ address?: string;
778
+ addresses?: string[];
779
+ } & {
780
+ permission?: import("./types").AccessType;
781
+ address?: string;
782
+ addresses?: string[] & string[] & { [K_4 in Exclude<keyof I_1["codeInfo"]["instantiateConfig"]["addresses"], keyof string[]>]: never; };
783
+ } & { [K_5 in Exclude<keyof I_1["codeInfo"]["instantiateConfig"], keyof import("./types").AccessConfig>]: never; };
784
+ } & { [K_6 in Exclude<keyof I_1["codeInfo"], keyof CodeInfo>]: never; };
785
+ codeBytes?: Uint8Array;
786
+ pinned?: boolean;
787
+ } & { [K_7 in Exclude<keyof I_1, keyof Code>]: never; }>(object: I_1): Code;
788
+ };
789
+ export declare const Contract: {
790
+ encode(message: Contract, writer?: _m0.Writer): _m0.Writer;
791
+ decode(input: _m0.Reader | Uint8Array, length?: number): Contract;
792
+ fromJSON(object: any): Contract;
793
+ toJSON(message: Contract): unknown;
794
+ create<I extends {
795
+ contractAddress?: string;
796
+ contractInfo?: {
797
+ codeId?: number;
798
+ creator?: string;
799
+ admin?: string;
800
+ label?: string;
801
+ created?: {
802
+ blockHeight?: number;
803
+ txIndex?: number;
804
+ };
805
+ ibcPortId?: string;
806
+ extension?: {
807
+ typeUrl?: string;
808
+ value?: Uint8Array;
809
+ };
810
+ };
811
+ contractState?: {
812
+ key?: Uint8Array;
813
+ value?: Uint8Array;
814
+ }[];
815
+ contractCodeHistory?: {
816
+ operation?: import("./types").ContractCodeHistoryOperationType;
817
+ codeId?: number;
818
+ updated?: {
819
+ blockHeight?: number;
820
+ txIndex?: number;
821
+ };
822
+ msg?: Uint8Array;
823
+ }[];
824
+ } & {
825
+ contractAddress?: string;
826
+ contractInfo?: {
827
+ codeId?: number;
828
+ creator?: string;
829
+ admin?: string;
830
+ label?: string;
831
+ created?: {
832
+ blockHeight?: number;
833
+ txIndex?: number;
834
+ };
835
+ ibcPortId?: string;
836
+ extension?: {
837
+ typeUrl?: string;
838
+ value?: Uint8Array;
839
+ };
840
+ } & {
841
+ codeId?: number;
842
+ creator?: string;
843
+ admin?: string;
844
+ label?: string;
845
+ created?: {
846
+ blockHeight?: number;
847
+ txIndex?: number;
848
+ } & {
849
+ blockHeight?: number;
850
+ txIndex?: number;
851
+ } & { [K in Exclude<keyof I["contractInfo"]["created"], keyof import("./types").AbsoluteTxPosition>]: never; };
852
+ ibcPortId?: string;
853
+ extension?: {
854
+ typeUrl?: string;
855
+ value?: Uint8Array;
856
+ } & {
857
+ typeUrl?: string;
858
+ value?: Uint8Array;
859
+ } & { [K_1 in Exclude<keyof I["contractInfo"]["extension"], keyof import("../../google/protobuf/any").Any>]: never; };
860
+ } & { [K_2 in Exclude<keyof I["contractInfo"], keyof ContractInfo>]: never; };
861
+ contractState?: {
862
+ key?: Uint8Array;
863
+ value?: Uint8Array;
864
+ }[] & ({
865
+ key?: Uint8Array;
866
+ value?: Uint8Array;
867
+ } & {
868
+ key?: Uint8Array;
869
+ value?: Uint8Array;
870
+ } & { [K_3 in Exclude<keyof I["contractState"][number], keyof Model>]: never; })[] & { [K_4 in Exclude<keyof I["contractState"], keyof {
871
+ key?: Uint8Array;
872
+ value?: Uint8Array;
873
+ }[]>]: never; };
874
+ contractCodeHistory?: {
875
+ operation?: import("./types").ContractCodeHistoryOperationType;
876
+ codeId?: number;
877
+ updated?: {
878
+ blockHeight?: number;
879
+ txIndex?: number;
880
+ };
881
+ msg?: Uint8Array;
882
+ }[] & ({
883
+ operation?: import("./types").ContractCodeHistoryOperationType;
884
+ codeId?: number;
885
+ updated?: {
886
+ blockHeight?: number;
887
+ txIndex?: number;
888
+ };
889
+ msg?: Uint8Array;
890
+ } & {
891
+ operation?: import("./types").ContractCodeHistoryOperationType;
892
+ codeId?: number;
893
+ updated?: {
894
+ blockHeight?: number;
895
+ txIndex?: number;
896
+ } & {
897
+ blockHeight?: number;
898
+ txIndex?: number;
899
+ } & { [K_5 in Exclude<keyof I["contractCodeHistory"][number]["updated"], keyof import("./types").AbsoluteTxPosition>]: never; };
900
+ msg?: Uint8Array;
901
+ } & { [K_6 in Exclude<keyof I["contractCodeHistory"][number], keyof ContractCodeHistoryEntry>]: never; })[] & { [K_7 in Exclude<keyof I["contractCodeHistory"], keyof {
902
+ operation?: import("./types").ContractCodeHistoryOperationType;
903
+ codeId?: number;
904
+ updated?: {
905
+ blockHeight?: number;
906
+ txIndex?: number;
907
+ };
908
+ msg?: Uint8Array;
909
+ }[]>]: never; };
910
+ } & { [K_8 in Exclude<keyof I, keyof Contract>]: never; }>(base?: I): Contract;
911
+ fromPartial<I_1 extends {
912
+ contractAddress?: string;
913
+ contractInfo?: {
914
+ codeId?: number;
915
+ creator?: string;
916
+ admin?: string;
917
+ label?: string;
918
+ created?: {
919
+ blockHeight?: number;
920
+ txIndex?: number;
921
+ };
922
+ ibcPortId?: string;
923
+ extension?: {
924
+ typeUrl?: string;
925
+ value?: Uint8Array;
926
+ };
927
+ };
928
+ contractState?: {
929
+ key?: Uint8Array;
930
+ value?: Uint8Array;
931
+ }[];
932
+ contractCodeHistory?: {
933
+ operation?: import("./types").ContractCodeHistoryOperationType;
934
+ codeId?: number;
935
+ updated?: {
936
+ blockHeight?: number;
937
+ txIndex?: number;
938
+ };
939
+ msg?: Uint8Array;
940
+ }[];
941
+ } & {
942
+ contractAddress?: string;
943
+ contractInfo?: {
944
+ codeId?: number;
945
+ creator?: string;
946
+ admin?: string;
947
+ label?: string;
948
+ created?: {
949
+ blockHeight?: number;
950
+ txIndex?: number;
951
+ };
952
+ ibcPortId?: string;
953
+ extension?: {
954
+ typeUrl?: string;
955
+ value?: Uint8Array;
956
+ };
957
+ } & {
958
+ codeId?: number;
959
+ creator?: string;
960
+ admin?: string;
961
+ label?: string;
962
+ created?: {
963
+ blockHeight?: number;
964
+ txIndex?: number;
965
+ } & {
966
+ blockHeight?: number;
967
+ txIndex?: number;
968
+ } & { [K_9 in Exclude<keyof I_1["contractInfo"]["created"], keyof import("./types").AbsoluteTxPosition>]: never; };
969
+ ibcPortId?: string;
970
+ extension?: {
971
+ typeUrl?: string;
972
+ value?: Uint8Array;
973
+ } & {
974
+ typeUrl?: string;
975
+ value?: Uint8Array;
976
+ } & { [K_10 in Exclude<keyof I_1["contractInfo"]["extension"], keyof import("../../google/protobuf/any").Any>]: never; };
977
+ } & { [K_11 in Exclude<keyof I_1["contractInfo"], keyof ContractInfo>]: never; };
978
+ contractState?: {
979
+ key?: Uint8Array;
980
+ value?: Uint8Array;
981
+ }[] & ({
982
+ key?: Uint8Array;
983
+ value?: Uint8Array;
984
+ } & {
985
+ key?: Uint8Array;
986
+ value?: Uint8Array;
987
+ } & { [K_12 in Exclude<keyof I_1["contractState"][number], keyof Model>]: never; })[] & { [K_13 in Exclude<keyof I_1["contractState"], keyof {
988
+ key?: Uint8Array;
989
+ value?: Uint8Array;
990
+ }[]>]: never; };
991
+ contractCodeHistory?: {
992
+ operation?: import("./types").ContractCodeHistoryOperationType;
993
+ codeId?: number;
994
+ updated?: {
995
+ blockHeight?: number;
996
+ txIndex?: number;
997
+ };
998
+ msg?: Uint8Array;
999
+ }[] & ({
1000
+ operation?: import("./types").ContractCodeHistoryOperationType;
1001
+ codeId?: number;
1002
+ updated?: {
1003
+ blockHeight?: number;
1004
+ txIndex?: number;
1005
+ };
1006
+ msg?: Uint8Array;
1007
+ } & {
1008
+ operation?: import("./types").ContractCodeHistoryOperationType;
1009
+ codeId?: number;
1010
+ updated?: {
1011
+ blockHeight?: number;
1012
+ txIndex?: number;
1013
+ } & {
1014
+ blockHeight?: number;
1015
+ txIndex?: number;
1016
+ } & { [K_14 in Exclude<keyof I_1["contractCodeHistory"][number]["updated"], keyof import("./types").AbsoluteTxPosition>]: never; };
1017
+ msg?: Uint8Array;
1018
+ } & { [K_15 in Exclude<keyof I_1["contractCodeHistory"][number], keyof ContractCodeHistoryEntry>]: never; })[] & { [K_16 in Exclude<keyof I_1["contractCodeHistory"], keyof {
1019
+ operation?: import("./types").ContractCodeHistoryOperationType;
1020
+ codeId?: number;
1021
+ updated?: {
1022
+ blockHeight?: number;
1023
+ txIndex?: number;
1024
+ };
1025
+ msg?: Uint8Array;
1026
+ }[]>]: never; };
1027
+ } & { [K_17 in Exclude<keyof I_1, keyof Contract>]: never; }>(object: I_1): Contract;
1028
+ };
1029
+ export declare const Sequence: {
1030
+ encode(message: Sequence, writer?: _m0.Writer): _m0.Writer;
1031
+ decode(input: _m0.Reader | Uint8Array, length?: number): Sequence;
1032
+ fromJSON(object: any): Sequence;
1033
+ toJSON(message: Sequence): unknown;
1034
+ create<I extends {
1035
+ idKey?: Uint8Array;
1036
+ value?: number;
1037
+ } & {
1038
+ idKey?: Uint8Array;
1039
+ value?: number;
1040
+ } & { [K in Exclude<keyof I, keyof Sequence>]: never; }>(base?: I): Sequence;
1041
+ fromPartial<I_1 extends {
1042
+ idKey?: Uint8Array;
1043
+ value?: number;
1044
+ } & {
1045
+ idKey?: Uint8Array;
1046
+ value?: number;
1047
+ } & { [K_1 in Exclude<keyof I_1, keyof Sequence>]: never; }>(object: I_1): Sequence;
1048
+ };
1049
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
1050
+ 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 {} ? {
1051
+ [K in keyof T]?: DeepPartial<T[K]>;
1052
+ } : Partial<T>;
1053
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
1054
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
1055
+ [K in keyof P]: Exact<P[K], I[K]>;
1056
+ } & {
1057
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
1058
+ };
1059
+ export {};