coreum-js 2.5.8 → 2.5.10

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 (101) hide show
  1. package/dist/main/cosmos/bank/v1beta1/authz.d.ts +80 -0
  2. package/dist/main/cosmos/bank/v1beta1/authz.js +84 -0
  3. package/dist/main/cosmos/bank/v1beta1/bank.d.ts +440 -0
  4. package/dist/main/cosmos/bank/v1beta1/bank.js +557 -0
  5. package/dist/main/cosmos/bank/v1beta1/genesis.d.ts +473 -0
  6. package/dist/main/cosmos/bank/v1beta1/genesis.js +208 -0
  7. package/dist/main/cosmos/bank/v1beta1/pagination.d.ts +128 -0
  8. package/dist/main/cosmos/bank/v1beta1/pagination.js +228 -0
  9. package/dist/main/cosmos/bank/v1beta1/query.d.ts +1633 -0
  10. package/dist/main/cosmos/bank/v1beta1/query.js +1596 -0
  11. package/dist/main/cosmos/bank/v1beta1/tx.d.ts +514 -0
  12. package/dist/main/cosmos/bank/v1beta1/tx.js +499 -0
  13. package/dist/main/cosmos/distribution/v1beta1/distribution.d.ts +638 -0
  14. package/dist/main/cosmos/distribution/v1beta1/distribution.js +888 -0
  15. package/dist/main/cosmos/distribution/v1beta1/genesis.d.ts +1259 -0
  16. package/dist/main/cosmos/distribution/v1beta1/genesis.js +785 -0
  17. package/dist/main/cosmos/distribution/v1beta1/pagination.d.ts +128 -0
  18. package/dist/main/cosmos/distribution/v1beta1/pagination.js +228 -0
  19. package/dist/main/cosmos/distribution/v1beta1/query.d.ts +995 -0
  20. package/dist/main/cosmos/distribution/v1beta1/query.js +1336 -0
  21. package/dist/main/cosmos/distribution/v1beta1/tx.d.ts +593 -0
  22. package/dist/main/cosmos/distribution/v1beta1/tx.js +825 -0
  23. package/dist/main/cosmos/feegrant/v1beta1/feegrant.d.ts +367 -0
  24. package/dist/main/cosmos/feegrant/v1beta1/feegrant.js +413 -0
  25. package/dist/main/cosmos/feegrant/v1beta1/genesis.d.ts +111 -0
  26. package/dist/main/cosmos/feegrant/v1beta1/genesis.js +67 -0
  27. package/dist/main/cosmos/feegrant/v1beta1/pagination.d.ts +128 -0
  28. package/dist/main/cosmos/feegrant/v1beta1/pagination.js +228 -0
  29. package/dist/main/cosmos/feegrant/v1beta1/query.d.ts +512 -0
  30. package/dist/main/cosmos/feegrant/v1beta1/query.js +461 -0
  31. package/dist/main/cosmos/feegrant/v1beta1/tx.d.ts +143 -0
  32. package/dist/main/cosmos/feegrant/v1beta1/tx.js +253 -0
  33. package/dist/main/cosmos/gov/v1beta1/genesis.d.ts +639 -0
  34. package/dist/main/cosmos/gov/v1beta1/genesis.js +195 -0
  35. package/dist/main/cosmos/gov/v1beta1/gov.d.ts +620 -0
  36. package/dist/main/cosmos/gov/v1beta1/gov.js +1038 -0
  37. package/dist/main/cosmos/gov/v1beta1/pagination.d.ts +128 -0
  38. package/dist/main/cosmos/gov/v1beta1/pagination.js +228 -0
  39. package/dist/main/cosmos/gov/v1beta1/query.d.ts +1511 -0
  40. package/dist/main/cosmos/gov/v1beta1/query.js +1187 -0
  41. package/dist/main/cosmos/gov/v1beta1/tx.d.ts +350 -0
  42. package/dist/main/cosmos/gov/v1beta1/tx.js +567 -0
  43. package/dist/main/cosmos/index.d.ts +456 -0
  44. package/dist/main/cosmos/index.js +126 -0
  45. package/dist/main/google/protobuf/descriptor.d.ts +101937 -0
  46. package/dist/main/google/protobuf/descriptor.js +3375 -0
  47. package/dist/main/google/protobuf/duration.d.ts +110 -0
  48. package/dist/main/google/protobuf/duration.js +102 -0
  49. package/dist/main/google/protobuf/timestamp.d.ts +139 -0
  50. package/dist/main/google/protobuf/timestamp.js +102 -0
  51. package/dist/module/cosmos/bank/v1beta1/authz.d.ts +80 -0
  52. package/dist/module/cosmos/bank/v1beta1/authz.js +77 -0
  53. package/dist/module/cosmos/bank/v1beta1/bank.d.ts +440 -0
  54. package/dist/module/cosmos/bank/v1beta1/bank.js +544 -0
  55. package/dist/module/cosmos/bank/v1beta1/genesis.d.ts +473 -0
  56. package/dist/module/cosmos/bank/v1beta1/genesis.js +200 -0
  57. package/dist/module/cosmos/bank/v1beta1/pagination.d.ts +128 -0
  58. package/dist/module/cosmos/bank/v1beta1/pagination.js +220 -0
  59. package/dist/module/cosmos/bank/v1beta1/query.d.ts +1633 -0
  60. package/dist/module/cosmos/bank/v1beta1/query.js +1576 -0
  61. package/dist/module/cosmos/bank/v1beta1/tx.d.ts +514 -0
  62. package/dist/module/cosmos/bank/v1beta1/tx.js +490 -0
  63. package/dist/module/cosmos/distribution/v1beta1/distribution.d.ts +638 -0
  64. package/dist/module/cosmos/distribution/v1beta1/distribution.js +870 -0
  65. package/dist/module/cosmos/distribution/v1beta1/genesis.d.ts +1259 -0
  66. package/dist/module/cosmos/distribution/v1beta1/genesis.js +771 -0
  67. package/dist/module/cosmos/distribution/v1beta1/pagination.d.ts +128 -0
  68. package/dist/module/cosmos/distribution/v1beta1/pagination.js +220 -0
  69. package/dist/module/cosmos/distribution/v1beta1/query.d.ts +995 -0
  70. package/dist/module/cosmos/distribution/v1beta1/query.js +1316 -0
  71. package/dist/module/cosmos/distribution/v1beta1/tx.d.ts +593 -0
  72. package/dist/module/cosmos/distribution/v1beta1/tx.js +811 -0
  73. package/dist/module/cosmos/feegrant/v1beta1/feegrant.d.ts +367 -0
  74. package/dist/module/cosmos/feegrant/v1beta1/feegrant.js +403 -0
  75. package/dist/module/cosmos/feegrant/v1beta1/genesis.d.ts +111 -0
  76. package/dist/module/cosmos/feegrant/v1beta1/genesis.js +60 -0
  77. package/dist/module/cosmos/feegrant/v1beta1/pagination.d.ts +128 -0
  78. package/dist/module/cosmos/feegrant/v1beta1/pagination.js +220 -0
  79. package/dist/module/cosmos/feegrant/v1beta1/query.d.ts +512 -0
  80. package/dist/module/cosmos/feegrant/v1beta1/query.js +451 -0
  81. package/dist/module/cosmos/feegrant/v1beta1/tx.d.ts +143 -0
  82. package/dist/module/cosmos/feegrant/v1beta1/tx.js +246 -0
  83. package/dist/module/cosmos/gov/v1beta1/genesis.d.ts +639 -0
  84. package/dist/module/cosmos/gov/v1beta1/genesis.js +188 -0
  85. package/dist/module/cosmos/gov/v1beta1/gov.d.ts +620 -0
  86. package/dist/module/cosmos/gov/v1beta1/gov.js +1020 -0
  87. package/dist/module/cosmos/gov/v1beta1/pagination.d.ts +128 -0
  88. package/dist/module/cosmos/gov/v1beta1/pagination.js +220 -0
  89. package/dist/module/cosmos/gov/v1beta1/query.d.ts +1511 -0
  90. package/dist/module/cosmos/gov/v1beta1/query.js +1171 -0
  91. package/dist/module/cosmos/gov/v1beta1/tx.d.ts +350 -0
  92. package/dist/module/cosmos/gov/v1beta1/tx.js +557 -0
  93. package/dist/module/cosmos/index.d.ts +456 -0
  94. package/dist/module/cosmos/index.js +123 -0
  95. package/dist/module/google/protobuf/descriptor.d.ts +101937 -0
  96. package/dist/module/google/protobuf/descriptor.js +3330 -0
  97. package/dist/module/google/protobuf/duration.d.ts +110 -0
  98. package/dist/module/google/protobuf/duration.js +95 -0
  99. package/dist/module/google/protobuf/timestamp.d.ts +139 -0
  100. package/dist/module/google/protobuf/timestamp.js +95 -0
  101. package/package.json +1 -1
@@ -0,0 +1,639 @@
1
+ import _m0 from "protobufjs/minimal";
2
+ import { Deposit, DepositParams, Proposal, TallyParams, Vote, VotingParams } from "./gov";
3
+ export declare const protobufPackage = "cosmos.gov.v1beta1";
4
+ /** GenesisState defines the gov module's genesis state. */
5
+ export interface GenesisState {
6
+ /** starting_proposal_id is the ID of the starting proposal. */
7
+ startingProposalId: number;
8
+ /** deposits defines all the deposits present at genesis. */
9
+ deposits: Deposit[];
10
+ /** votes defines all the votes present at genesis. */
11
+ votes: Vote[];
12
+ /** proposals defines all the proposals present at genesis. */
13
+ proposals: Proposal[];
14
+ /** params defines all the parameters of related to deposit. */
15
+ depositParams: DepositParams | undefined;
16
+ /** params defines all the parameters of related to voting. */
17
+ votingParams: VotingParams | undefined;
18
+ /** params defines all the parameters of related to tally. */
19
+ tallyParams: TallyParams | undefined;
20
+ }
21
+ export declare const GenesisState: {
22
+ encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer;
23
+ decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState;
24
+ fromJSON(object: any): GenesisState;
25
+ toJSON(message: GenesisState): unknown;
26
+ create<I extends {
27
+ startingProposalId?: number;
28
+ deposits?: {
29
+ proposalId?: number;
30
+ depositor?: string;
31
+ amount?: {
32
+ denom?: string;
33
+ amount?: string;
34
+ }[];
35
+ }[];
36
+ votes?: {
37
+ proposalId?: number;
38
+ voter?: string;
39
+ option?: import("./gov").VoteOption;
40
+ options?: {
41
+ option?: import("./gov").VoteOption;
42
+ weight?: string;
43
+ }[];
44
+ }[];
45
+ proposals?: {
46
+ proposalId?: number;
47
+ content?: {
48
+ typeUrl?: string;
49
+ value?: Uint8Array;
50
+ };
51
+ status?: import("./gov").ProposalStatus;
52
+ finalTallyResult?: {
53
+ yes?: string;
54
+ abstain?: string;
55
+ no?: string;
56
+ noWithVeto?: string;
57
+ };
58
+ submitTime?: Date;
59
+ depositEndTime?: Date;
60
+ totalDeposit?: {
61
+ denom?: string;
62
+ amount?: string;
63
+ }[];
64
+ votingStartTime?: Date;
65
+ votingEndTime?: Date;
66
+ }[];
67
+ depositParams?: {
68
+ minDeposit?: {
69
+ denom?: string;
70
+ amount?: string;
71
+ }[];
72
+ maxDepositPeriod?: {
73
+ seconds?: number;
74
+ nanos?: number;
75
+ };
76
+ };
77
+ votingParams?: {
78
+ votingPeriod?: {
79
+ seconds?: number;
80
+ nanos?: number;
81
+ };
82
+ };
83
+ tallyParams?: {
84
+ quorum?: Uint8Array;
85
+ threshold?: Uint8Array;
86
+ vetoThreshold?: Uint8Array;
87
+ };
88
+ } & {
89
+ startingProposalId?: number;
90
+ deposits?: {
91
+ proposalId?: number;
92
+ depositor?: string;
93
+ amount?: {
94
+ denom?: string;
95
+ amount?: string;
96
+ }[];
97
+ }[] & ({
98
+ proposalId?: number;
99
+ depositor?: string;
100
+ amount?: {
101
+ denom?: string;
102
+ amount?: string;
103
+ }[];
104
+ } & {
105
+ proposalId?: number;
106
+ depositor?: string;
107
+ amount?: {
108
+ denom?: string;
109
+ amount?: string;
110
+ }[] & ({
111
+ denom?: string;
112
+ amount?: string;
113
+ } & {
114
+ denom?: string;
115
+ amount?: string;
116
+ } & { [K in Exclude<keyof I["deposits"][number]["amount"][number], keyof import("../../base/v1beta1/coin").Coin>]: never; })[] & { [K_1 in Exclude<keyof I["deposits"][number]["amount"], keyof {
117
+ denom?: string;
118
+ amount?: string;
119
+ }[]>]: never; };
120
+ } & { [K_2 in Exclude<keyof I["deposits"][number], keyof Deposit>]: never; })[] & { [K_3 in Exclude<keyof I["deposits"], keyof {
121
+ proposalId?: number;
122
+ depositor?: string;
123
+ amount?: {
124
+ denom?: string;
125
+ amount?: string;
126
+ }[];
127
+ }[]>]: never; };
128
+ votes?: {
129
+ proposalId?: number;
130
+ voter?: string;
131
+ option?: import("./gov").VoteOption;
132
+ options?: {
133
+ option?: import("./gov").VoteOption;
134
+ weight?: string;
135
+ }[];
136
+ }[] & ({
137
+ proposalId?: number;
138
+ voter?: string;
139
+ option?: import("./gov").VoteOption;
140
+ options?: {
141
+ option?: import("./gov").VoteOption;
142
+ weight?: string;
143
+ }[];
144
+ } & {
145
+ proposalId?: number;
146
+ voter?: string;
147
+ option?: import("./gov").VoteOption;
148
+ options?: {
149
+ option?: import("./gov").VoteOption;
150
+ weight?: string;
151
+ }[] & ({
152
+ option?: import("./gov").VoteOption;
153
+ weight?: string;
154
+ } & {
155
+ option?: import("./gov").VoteOption;
156
+ weight?: string;
157
+ } & { [K_4 in Exclude<keyof I["votes"][number]["options"][number], keyof import("./gov").WeightedVoteOption>]: never; })[] & { [K_5 in Exclude<keyof I["votes"][number]["options"], keyof {
158
+ option?: import("./gov").VoteOption;
159
+ weight?: string;
160
+ }[]>]: never; };
161
+ } & { [K_6 in Exclude<keyof I["votes"][number], keyof Vote>]: never; })[] & { [K_7 in Exclude<keyof I["votes"], keyof {
162
+ proposalId?: number;
163
+ voter?: string;
164
+ option?: import("./gov").VoteOption;
165
+ options?: {
166
+ option?: import("./gov").VoteOption;
167
+ weight?: string;
168
+ }[];
169
+ }[]>]: never; };
170
+ proposals?: {
171
+ proposalId?: number;
172
+ content?: {
173
+ typeUrl?: string;
174
+ value?: Uint8Array;
175
+ };
176
+ status?: import("./gov").ProposalStatus;
177
+ finalTallyResult?: {
178
+ yes?: string;
179
+ abstain?: string;
180
+ no?: string;
181
+ noWithVeto?: string;
182
+ };
183
+ submitTime?: Date;
184
+ depositEndTime?: Date;
185
+ totalDeposit?: {
186
+ denom?: string;
187
+ amount?: string;
188
+ }[];
189
+ votingStartTime?: Date;
190
+ votingEndTime?: Date;
191
+ }[] & ({
192
+ proposalId?: number;
193
+ content?: {
194
+ typeUrl?: string;
195
+ value?: Uint8Array;
196
+ };
197
+ status?: import("./gov").ProposalStatus;
198
+ finalTallyResult?: {
199
+ yes?: string;
200
+ abstain?: string;
201
+ no?: string;
202
+ noWithVeto?: string;
203
+ };
204
+ submitTime?: Date;
205
+ depositEndTime?: Date;
206
+ totalDeposit?: {
207
+ denom?: string;
208
+ amount?: string;
209
+ }[];
210
+ votingStartTime?: Date;
211
+ votingEndTime?: Date;
212
+ } & {
213
+ proposalId?: number;
214
+ content?: {
215
+ typeUrl?: string;
216
+ value?: Uint8Array;
217
+ } & {
218
+ typeUrl?: string;
219
+ value?: Uint8Array;
220
+ } & { [K_8 in Exclude<keyof I["proposals"][number]["content"], keyof import("../../../google/protobuf/any").Any>]: never; };
221
+ status?: import("./gov").ProposalStatus;
222
+ finalTallyResult?: {
223
+ yes?: string;
224
+ abstain?: string;
225
+ no?: string;
226
+ noWithVeto?: string;
227
+ } & {
228
+ yes?: string;
229
+ abstain?: string;
230
+ no?: string;
231
+ noWithVeto?: string;
232
+ } & { [K_9 in Exclude<keyof I["proposals"][number]["finalTallyResult"], keyof import("./gov").TallyResult>]: never; };
233
+ submitTime?: Date;
234
+ depositEndTime?: Date;
235
+ totalDeposit?: {
236
+ denom?: string;
237
+ amount?: string;
238
+ }[] & ({
239
+ denom?: string;
240
+ amount?: string;
241
+ } & {
242
+ denom?: string;
243
+ amount?: string;
244
+ } & { [K_10 in Exclude<keyof I["proposals"][number]["totalDeposit"][number], keyof import("../../base/v1beta1/coin").Coin>]: never; })[] & { [K_11 in Exclude<keyof I["proposals"][number]["totalDeposit"], keyof {
245
+ denom?: string;
246
+ amount?: string;
247
+ }[]>]: never; };
248
+ votingStartTime?: Date;
249
+ votingEndTime?: Date;
250
+ } & { [K_12 in Exclude<keyof I["proposals"][number], keyof Proposal>]: never; })[] & { [K_13 in Exclude<keyof I["proposals"], keyof {
251
+ proposalId?: number;
252
+ content?: {
253
+ typeUrl?: string;
254
+ value?: Uint8Array;
255
+ };
256
+ status?: import("./gov").ProposalStatus;
257
+ finalTallyResult?: {
258
+ yes?: string;
259
+ abstain?: string;
260
+ no?: string;
261
+ noWithVeto?: string;
262
+ };
263
+ submitTime?: Date;
264
+ depositEndTime?: Date;
265
+ totalDeposit?: {
266
+ denom?: string;
267
+ amount?: string;
268
+ }[];
269
+ votingStartTime?: Date;
270
+ votingEndTime?: Date;
271
+ }[]>]: never; };
272
+ depositParams?: {
273
+ minDeposit?: {
274
+ denom?: string;
275
+ amount?: string;
276
+ }[];
277
+ maxDepositPeriod?: {
278
+ seconds?: number;
279
+ nanos?: number;
280
+ };
281
+ } & {
282
+ minDeposit?: {
283
+ denom?: string;
284
+ amount?: string;
285
+ }[] & ({
286
+ denom?: string;
287
+ amount?: string;
288
+ } & {
289
+ denom?: string;
290
+ amount?: string;
291
+ } & { [K_14 in Exclude<keyof I["depositParams"]["minDeposit"][number], keyof import("../../base/v1beta1/coin").Coin>]: never; })[] & { [K_15 in Exclude<keyof I["depositParams"]["minDeposit"], keyof {
292
+ denom?: string;
293
+ amount?: string;
294
+ }[]>]: never; };
295
+ maxDepositPeriod?: {
296
+ seconds?: number;
297
+ nanos?: number;
298
+ } & {
299
+ seconds?: number;
300
+ nanos?: number;
301
+ } & { [K_16 in Exclude<keyof I["depositParams"]["maxDepositPeriod"], keyof import("../../../google/protobuf/duration").Duration>]: never; };
302
+ } & { [K_17 in Exclude<keyof I["depositParams"], keyof DepositParams>]: never; };
303
+ votingParams?: {
304
+ votingPeriod?: {
305
+ seconds?: number;
306
+ nanos?: number;
307
+ };
308
+ } & {
309
+ votingPeriod?: {
310
+ seconds?: number;
311
+ nanos?: number;
312
+ } & {
313
+ seconds?: number;
314
+ nanos?: number;
315
+ } & { [K_18 in Exclude<keyof I["votingParams"]["votingPeriod"], keyof import("../../../google/protobuf/duration").Duration>]: never; };
316
+ } & { [K_19 in Exclude<keyof I["votingParams"], "votingPeriod">]: never; };
317
+ tallyParams?: {
318
+ quorum?: Uint8Array;
319
+ threshold?: Uint8Array;
320
+ vetoThreshold?: Uint8Array;
321
+ } & {
322
+ quorum?: Uint8Array;
323
+ threshold?: Uint8Array;
324
+ vetoThreshold?: Uint8Array;
325
+ } & { [K_20 in Exclude<keyof I["tallyParams"], keyof TallyParams>]: never; };
326
+ } & { [K_21 in Exclude<keyof I, keyof GenesisState>]: never; }>(base?: I): GenesisState;
327
+ fromPartial<I_1 extends {
328
+ startingProposalId?: number;
329
+ deposits?: {
330
+ proposalId?: number;
331
+ depositor?: string;
332
+ amount?: {
333
+ denom?: string;
334
+ amount?: string;
335
+ }[];
336
+ }[];
337
+ votes?: {
338
+ proposalId?: number;
339
+ voter?: string;
340
+ option?: import("./gov").VoteOption;
341
+ options?: {
342
+ option?: import("./gov").VoteOption;
343
+ weight?: string;
344
+ }[];
345
+ }[];
346
+ proposals?: {
347
+ proposalId?: number;
348
+ content?: {
349
+ typeUrl?: string;
350
+ value?: Uint8Array;
351
+ };
352
+ status?: import("./gov").ProposalStatus;
353
+ finalTallyResult?: {
354
+ yes?: string;
355
+ abstain?: string;
356
+ no?: string;
357
+ noWithVeto?: string;
358
+ };
359
+ submitTime?: Date;
360
+ depositEndTime?: Date;
361
+ totalDeposit?: {
362
+ denom?: string;
363
+ amount?: string;
364
+ }[];
365
+ votingStartTime?: Date;
366
+ votingEndTime?: Date;
367
+ }[];
368
+ depositParams?: {
369
+ minDeposit?: {
370
+ denom?: string;
371
+ amount?: string;
372
+ }[];
373
+ maxDepositPeriod?: {
374
+ seconds?: number;
375
+ nanos?: number;
376
+ };
377
+ };
378
+ votingParams?: {
379
+ votingPeriod?: {
380
+ seconds?: number;
381
+ nanos?: number;
382
+ };
383
+ };
384
+ tallyParams?: {
385
+ quorum?: Uint8Array;
386
+ threshold?: Uint8Array;
387
+ vetoThreshold?: Uint8Array;
388
+ };
389
+ } & {
390
+ startingProposalId?: number;
391
+ deposits?: {
392
+ proposalId?: number;
393
+ depositor?: string;
394
+ amount?: {
395
+ denom?: string;
396
+ amount?: string;
397
+ }[];
398
+ }[] & ({
399
+ proposalId?: number;
400
+ depositor?: string;
401
+ amount?: {
402
+ denom?: string;
403
+ amount?: string;
404
+ }[];
405
+ } & {
406
+ proposalId?: number;
407
+ depositor?: string;
408
+ amount?: {
409
+ denom?: string;
410
+ amount?: string;
411
+ }[] & ({
412
+ denom?: string;
413
+ amount?: string;
414
+ } & {
415
+ denom?: string;
416
+ amount?: string;
417
+ } & { [K_22 in Exclude<keyof I_1["deposits"][number]["amount"][number], keyof import("../../base/v1beta1/coin").Coin>]: never; })[] & { [K_23 in Exclude<keyof I_1["deposits"][number]["amount"], keyof {
418
+ denom?: string;
419
+ amount?: string;
420
+ }[]>]: never; };
421
+ } & { [K_24 in Exclude<keyof I_1["deposits"][number], keyof Deposit>]: never; })[] & { [K_25 in Exclude<keyof I_1["deposits"], keyof {
422
+ proposalId?: number;
423
+ depositor?: string;
424
+ amount?: {
425
+ denom?: string;
426
+ amount?: string;
427
+ }[];
428
+ }[]>]: never; };
429
+ votes?: {
430
+ proposalId?: number;
431
+ voter?: string;
432
+ option?: import("./gov").VoteOption;
433
+ options?: {
434
+ option?: import("./gov").VoteOption;
435
+ weight?: string;
436
+ }[];
437
+ }[] & ({
438
+ proposalId?: number;
439
+ voter?: string;
440
+ option?: import("./gov").VoteOption;
441
+ options?: {
442
+ option?: import("./gov").VoteOption;
443
+ weight?: string;
444
+ }[];
445
+ } & {
446
+ proposalId?: number;
447
+ voter?: string;
448
+ option?: import("./gov").VoteOption;
449
+ options?: {
450
+ option?: import("./gov").VoteOption;
451
+ weight?: string;
452
+ }[] & ({
453
+ option?: import("./gov").VoteOption;
454
+ weight?: string;
455
+ } & {
456
+ option?: import("./gov").VoteOption;
457
+ weight?: string;
458
+ } & { [K_26 in Exclude<keyof I_1["votes"][number]["options"][number], keyof import("./gov").WeightedVoteOption>]: never; })[] & { [K_27 in Exclude<keyof I_1["votes"][number]["options"], keyof {
459
+ option?: import("./gov").VoteOption;
460
+ weight?: string;
461
+ }[]>]: never; };
462
+ } & { [K_28 in Exclude<keyof I_1["votes"][number], keyof Vote>]: never; })[] & { [K_29 in Exclude<keyof I_1["votes"], keyof {
463
+ proposalId?: number;
464
+ voter?: string;
465
+ option?: import("./gov").VoteOption;
466
+ options?: {
467
+ option?: import("./gov").VoteOption;
468
+ weight?: string;
469
+ }[];
470
+ }[]>]: never; };
471
+ proposals?: {
472
+ proposalId?: number;
473
+ content?: {
474
+ typeUrl?: string;
475
+ value?: Uint8Array;
476
+ };
477
+ status?: import("./gov").ProposalStatus;
478
+ finalTallyResult?: {
479
+ yes?: string;
480
+ abstain?: string;
481
+ no?: string;
482
+ noWithVeto?: string;
483
+ };
484
+ submitTime?: Date;
485
+ depositEndTime?: Date;
486
+ totalDeposit?: {
487
+ denom?: string;
488
+ amount?: string;
489
+ }[];
490
+ votingStartTime?: Date;
491
+ votingEndTime?: Date;
492
+ }[] & ({
493
+ proposalId?: number;
494
+ content?: {
495
+ typeUrl?: string;
496
+ value?: Uint8Array;
497
+ };
498
+ status?: import("./gov").ProposalStatus;
499
+ finalTallyResult?: {
500
+ yes?: string;
501
+ abstain?: string;
502
+ no?: string;
503
+ noWithVeto?: string;
504
+ };
505
+ submitTime?: Date;
506
+ depositEndTime?: Date;
507
+ totalDeposit?: {
508
+ denom?: string;
509
+ amount?: string;
510
+ }[];
511
+ votingStartTime?: Date;
512
+ votingEndTime?: Date;
513
+ } & {
514
+ proposalId?: number;
515
+ content?: {
516
+ typeUrl?: string;
517
+ value?: Uint8Array;
518
+ } & {
519
+ typeUrl?: string;
520
+ value?: Uint8Array;
521
+ } & { [K_30 in Exclude<keyof I_1["proposals"][number]["content"], keyof import("../../../google/protobuf/any").Any>]: never; };
522
+ status?: import("./gov").ProposalStatus;
523
+ finalTallyResult?: {
524
+ yes?: string;
525
+ abstain?: string;
526
+ no?: string;
527
+ noWithVeto?: string;
528
+ } & {
529
+ yes?: string;
530
+ abstain?: string;
531
+ no?: string;
532
+ noWithVeto?: string;
533
+ } & { [K_31 in Exclude<keyof I_1["proposals"][number]["finalTallyResult"], keyof import("./gov").TallyResult>]: never; };
534
+ submitTime?: Date;
535
+ depositEndTime?: Date;
536
+ totalDeposit?: {
537
+ denom?: string;
538
+ amount?: string;
539
+ }[] & ({
540
+ denom?: string;
541
+ amount?: string;
542
+ } & {
543
+ denom?: string;
544
+ amount?: string;
545
+ } & { [K_32 in Exclude<keyof I_1["proposals"][number]["totalDeposit"][number], keyof import("../../base/v1beta1/coin").Coin>]: never; })[] & { [K_33 in Exclude<keyof I_1["proposals"][number]["totalDeposit"], keyof {
546
+ denom?: string;
547
+ amount?: string;
548
+ }[]>]: never; };
549
+ votingStartTime?: Date;
550
+ votingEndTime?: Date;
551
+ } & { [K_34 in Exclude<keyof I_1["proposals"][number], keyof Proposal>]: never; })[] & { [K_35 in Exclude<keyof I_1["proposals"], keyof {
552
+ proposalId?: number;
553
+ content?: {
554
+ typeUrl?: string;
555
+ value?: Uint8Array;
556
+ };
557
+ status?: import("./gov").ProposalStatus;
558
+ finalTallyResult?: {
559
+ yes?: string;
560
+ abstain?: string;
561
+ no?: string;
562
+ noWithVeto?: string;
563
+ };
564
+ submitTime?: Date;
565
+ depositEndTime?: Date;
566
+ totalDeposit?: {
567
+ denom?: string;
568
+ amount?: string;
569
+ }[];
570
+ votingStartTime?: Date;
571
+ votingEndTime?: Date;
572
+ }[]>]: never; };
573
+ depositParams?: {
574
+ minDeposit?: {
575
+ denom?: string;
576
+ amount?: string;
577
+ }[];
578
+ maxDepositPeriod?: {
579
+ seconds?: number;
580
+ nanos?: number;
581
+ };
582
+ } & {
583
+ minDeposit?: {
584
+ denom?: string;
585
+ amount?: string;
586
+ }[] & ({
587
+ denom?: string;
588
+ amount?: string;
589
+ } & {
590
+ denom?: string;
591
+ amount?: string;
592
+ } & { [K_36 in Exclude<keyof I_1["depositParams"]["minDeposit"][number], keyof import("../../base/v1beta1/coin").Coin>]: never; })[] & { [K_37 in Exclude<keyof I_1["depositParams"]["minDeposit"], keyof {
593
+ denom?: string;
594
+ amount?: string;
595
+ }[]>]: never; };
596
+ maxDepositPeriod?: {
597
+ seconds?: number;
598
+ nanos?: number;
599
+ } & {
600
+ seconds?: number;
601
+ nanos?: number;
602
+ } & { [K_38 in Exclude<keyof I_1["depositParams"]["maxDepositPeriod"], keyof import("../../../google/protobuf/duration").Duration>]: never; };
603
+ } & { [K_39 in Exclude<keyof I_1["depositParams"], keyof DepositParams>]: never; };
604
+ votingParams?: {
605
+ votingPeriod?: {
606
+ seconds?: number;
607
+ nanos?: number;
608
+ };
609
+ } & {
610
+ votingPeriod?: {
611
+ seconds?: number;
612
+ nanos?: number;
613
+ } & {
614
+ seconds?: number;
615
+ nanos?: number;
616
+ } & { [K_40 in Exclude<keyof I_1["votingParams"]["votingPeriod"], keyof import("../../../google/protobuf/duration").Duration>]: never; };
617
+ } & { [K_41 in Exclude<keyof I_1["votingParams"], "votingPeriod">]: never; };
618
+ tallyParams?: {
619
+ quorum?: Uint8Array;
620
+ threshold?: Uint8Array;
621
+ vetoThreshold?: Uint8Array;
622
+ } & {
623
+ quorum?: Uint8Array;
624
+ threshold?: Uint8Array;
625
+ vetoThreshold?: Uint8Array;
626
+ } & { [K_42 in Exclude<keyof I_1["tallyParams"], keyof TallyParams>]: never; };
627
+ } & { [K_43 in Exclude<keyof I_1, keyof GenesisState>]: never; }>(object: I_1): GenesisState;
628
+ };
629
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
630
+ 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 {} ? {
631
+ [K in keyof T]?: DeepPartial<T[K]>;
632
+ } : Partial<T>;
633
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
634
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
635
+ [K in keyof P]: Exact<P[K], I[K]>;
636
+ } & {
637
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
638
+ };
639
+ export {};