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
@@ -140,1822 +140,104 @@ export declare const PartSetHeader: {
140
140
  decode(input: _m0.Reader | Uint8Array, length?: number): PartSetHeader;
141
141
  fromJSON(object: any): PartSetHeader;
142
142
  toJSON(message: PartSetHeader): unknown;
143
- create<I extends {
144
- total?: number;
145
- hash?: Uint8Array;
146
- } & {
147
- total?: number;
148
- hash?: Uint8Array;
149
- } & { [K in Exclude<keyof I, keyof PartSetHeader>]: never; }>(base?: I): PartSetHeader;
150
- fromPartial<I_1 extends {
151
- total?: number;
152
- hash?: Uint8Array;
153
- } & {
154
- total?: number;
155
- hash?: Uint8Array;
156
- } & { [K_1 in Exclude<keyof I_1, keyof PartSetHeader>]: never; }>(object: I_1): PartSetHeader;
143
+ create<I extends Exact<DeepPartial<PartSetHeader>, I>>(base?: I): PartSetHeader;
144
+ fromPartial<I extends Exact<DeepPartial<PartSetHeader>, I>>(object: I): PartSetHeader;
157
145
  };
158
146
  export declare const Part: {
159
147
  encode(message: Part, writer?: _m0.Writer): _m0.Writer;
160
148
  decode(input: _m0.Reader | Uint8Array, length?: number): Part;
161
149
  fromJSON(object: any): Part;
162
150
  toJSON(message: Part): unknown;
163
- create<I extends {
164
- index?: number;
165
- bytes?: Uint8Array;
166
- proof?: {
167
- total?: number;
168
- index?: number;
169
- leafHash?: Uint8Array;
170
- aunts?: Uint8Array[];
171
- };
172
- } & {
173
- index?: number;
174
- bytes?: Uint8Array;
175
- proof?: {
176
- total?: number;
177
- index?: number;
178
- leafHash?: Uint8Array;
179
- aunts?: Uint8Array[];
180
- } & {
181
- total?: number;
182
- index?: number;
183
- leafHash?: Uint8Array;
184
- aunts?: Uint8Array[] & Uint8Array[] & { [K in Exclude<keyof I["proof"]["aunts"], keyof Uint8Array[]>]: never; };
185
- } & { [K_1 in Exclude<keyof I["proof"], keyof Proof>]: never; };
186
- } & { [K_2 in Exclude<keyof I, keyof Part>]: never; }>(base?: I): Part;
187
- fromPartial<I_1 extends {
188
- index?: number;
189
- bytes?: Uint8Array;
190
- proof?: {
191
- total?: number;
192
- index?: number;
193
- leafHash?: Uint8Array;
194
- aunts?: Uint8Array[];
195
- };
196
- } & {
197
- index?: number;
198
- bytes?: Uint8Array;
199
- proof?: {
200
- total?: number;
201
- index?: number;
202
- leafHash?: Uint8Array;
203
- aunts?: Uint8Array[];
204
- } & {
205
- total?: number;
206
- index?: number;
207
- leafHash?: Uint8Array;
208
- aunts?: Uint8Array[] & Uint8Array[] & { [K_3 in Exclude<keyof I_1["proof"]["aunts"], keyof Uint8Array[]>]: never; };
209
- } & { [K_4 in Exclude<keyof I_1["proof"], keyof Proof>]: never; };
210
- } & { [K_5 in Exclude<keyof I_1, keyof Part>]: never; }>(object: I_1): Part;
151
+ create<I extends Exact<DeepPartial<Part>, I>>(base?: I): Part;
152
+ fromPartial<I extends Exact<DeepPartial<Part>, I>>(object: I): Part;
211
153
  };
212
154
  export declare const BlockID: {
213
155
  encode(message: BlockID, writer?: _m0.Writer): _m0.Writer;
214
156
  decode(input: _m0.Reader | Uint8Array, length?: number): BlockID;
215
157
  fromJSON(object: any): BlockID;
216
158
  toJSON(message: BlockID): unknown;
217
- create<I extends {
218
- hash?: Uint8Array;
219
- partSetHeader?: {
220
- total?: number;
221
- hash?: Uint8Array;
222
- };
223
- } & {
224
- hash?: Uint8Array;
225
- partSetHeader?: {
226
- total?: number;
227
- hash?: Uint8Array;
228
- } & {
229
- total?: number;
230
- hash?: Uint8Array;
231
- } & { [K in Exclude<keyof I["partSetHeader"], keyof PartSetHeader>]: never; };
232
- } & { [K_1 in Exclude<keyof I, keyof BlockID>]: never; }>(base?: I): BlockID;
233
- fromPartial<I_1 extends {
234
- hash?: Uint8Array;
235
- partSetHeader?: {
236
- total?: number;
237
- hash?: Uint8Array;
238
- };
239
- } & {
240
- hash?: Uint8Array;
241
- partSetHeader?: {
242
- total?: number;
243
- hash?: Uint8Array;
244
- } & {
245
- total?: number;
246
- hash?: Uint8Array;
247
- } & { [K_2 in Exclude<keyof I_1["partSetHeader"], keyof PartSetHeader>]: never; };
248
- } & { [K_3 in Exclude<keyof I_1, keyof BlockID>]: never; }>(object: I_1): BlockID;
159
+ create<I extends Exact<DeepPartial<BlockID>, I>>(base?: I): BlockID;
160
+ fromPartial<I extends Exact<DeepPartial<BlockID>, I>>(object: I): BlockID;
249
161
  };
250
162
  export declare const Header: {
251
163
  encode(message: Header, writer?: _m0.Writer): _m0.Writer;
252
164
  decode(input: _m0.Reader | Uint8Array, length?: number): Header;
253
165
  fromJSON(object: any): Header;
254
166
  toJSON(message: Header): unknown;
255
- create<I extends {
256
- version?: {
257
- block?: number;
258
- app?: number;
259
- };
260
- chainId?: string;
261
- height?: number;
262
- time?: Date | undefined;
263
- lastBlockId?: {
264
- hash?: Uint8Array;
265
- partSetHeader?: {
266
- total?: number;
267
- hash?: Uint8Array;
268
- };
269
- };
270
- lastCommitHash?: Uint8Array;
271
- dataHash?: Uint8Array;
272
- validatorsHash?: Uint8Array;
273
- nextValidatorsHash?: Uint8Array;
274
- consensusHash?: Uint8Array;
275
- appHash?: Uint8Array;
276
- lastResultsHash?: Uint8Array;
277
- evidenceHash?: Uint8Array;
278
- proposerAddress?: Uint8Array;
279
- } & {
280
- version?: {
281
- block?: number;
282
- app?: number;
283
- } & {
284
- block?: number;
285
- app?: number;
286
- } & { [K in Exclude<keyof I["version"], keyof Consensus>]: never; };
287
- chainId?: string;
288
- height?: number;
289
- time?: Date | undefined;
290
- lastBlockId?: {
291
- hash?: Uint8Array;
292
- partSetHeader?: {
293
- total?: number;
294
- hash?: Uint8Array;
295
- };
296
- } & {
297
- hash?: Uint8Array;
298
- partSetHeader?: {
299
- total?: number;
300
- hash?: Uint8Array;
301
- } & {
302
- total?: number;
303
- hash?: Uint8Array;
304
- } & { [K_1 in Exclude<keyof I["lastBlockId"]["partSetHeader"], keyof PartSetHeader>]: never; };
305
- } & { [K_2 in Exclude<keyof I["lastBlockId"], keyof BlockID>]: never; };
306
- lastCommitHash?: Uint8Array;
307
- dataHash?: Uint8Array;
308
- validatorsHash?: Uint8Array;
309
- nextValidatorsHash?: Uint8Array;
310
- consensusHash?: Uint8Array;
311
- appHash?: Uint8Array;
312
- lastResultsHash?: Uint8Array;
313
- evidenceHash?: Uint8Array;
314
- proposerAddress?: Uint8Array;
315
- } & { [K_3 in Exclude<keyof I, keyof Header>]: never; }>(base?: I): Header;
316
- fromPartial<I_1 extends {
317
- version?: {
318
- block?: number;
319
- app?: number;
320
- };
321
- chainId?: string;
322
- height?: number;
323
- time?: Date | undefined;
324
- lastBlockId?: {
325
- hash?: Uint8Array;
326
- partSetHeader?: {
327
- total?: number;
328
- hash?: Uint8Array;
329
- };
330
- };
331
- lastCommitHash?: Uint8Array;
332
- dataHash?: Uint8Array;
333
- validatorsHash?: Uint8Array;
334
- nextValidatorsHash?: Uint8Array;
335
- consensusHash?: Uint8Array;
336
- appHash?: Uint8Array;
337
- lastResultsHash?: Uint8Array;
338
- evidenceHash?: Uint8Array;
339
- proposerAddress?: Uint8Array;
340
- } & {
341
- version?: {
342
- block?: number;
343
- app?: number;
344
- } & {
345
- block?: number;
346
- app?: number;
347
- } & { [K_4 in Exclude<keyof I_1["version"], keyof Consensus>]: never; };
348
- chainId?: string;
349
- height?: number;
350
- time?: Date | undefined;
351
- lastBlockId?: {
352
- hash?: Uint8Array;
353
- partSetHeader?: {
354
- total?: number;
355
- hash?: Uint8Array;
356
- };
357
- } & {
358
- hash?: Uint8Array;
359
- partSetHeader?: {
360
- total?: number;
361
- hash?: Uint8Array;
362
- } & {
363
- total?: number;
364
- hash?: Uint8Array;
365
- } & { [K_5 in Exclude<keyof I_1["lastBlockId"]["partSetHeader"], keyof PartSetHeader>]: never; };
366
- } & { [K_6 in Exclude<keyof I_1["lastBlockId"], keyof BlockID>]: never; };
367
- lastCommitHash?: Uint8Array;
368
- dataHash?: Uint8Array;
369
- validatorsHash?: Uint8Array;
370
- nextValidatorsHash?: Uint8Array;
371
- consensusHash?: Uint8Array;
372
- appHash?: Uint8Array;
373
- lastResultsHash?: Uint8Array;
374
- evidenceHash?: Uint8Array;
375
- proposerAddress?: Uint8Array;
376
- } & { [K_7 in Exclude<keyof I_1, keyof Header>]: never; }>(object: I_1): Header;
167
+ create<I extends Exact<DeepPartial<Header>, I>>(base?: I): Header;
168
+ fromPartial<I extends Exact<DeepPartial<Header>, I>>(object: I): Header;
377
169
  };
378
170
  export declare const Data: {
379
171
  encode(message: Data, writer?: _m0.Writer): _m0.Writer;
380
172
  decode(input: _m0.Reader | Uint8Array, length?: number): Data;
381
173
  fromJSON(object: any): Data;
382
174
  toJSON(message: Data): unknown;
383
- create<I extends {
384
- txs?: Uint8Array[];
385
- } & {
386
- txs?: Uint8Array[] & Uint8Array[] & { [K in Exclude<keyof I["txs"], keyof Uint8Array[]>]: never; };
387
- } & { [K_1 in Exclude<keyof I, "txs">]: never; }>(base?: I): Data;
388
- fromPartial<I_1 extends {
389
- txs?: Uint8Array[];
390
- } & {
391
- txs?: Uint8Array[] & Uint8Array[] & { [K_2 in Exclude<keyof I_1["txs"], keyof Uint8Array[]>]: never; };
392
- } & { [K_3 in Exclude<keyof I_1, "txs">]: never; }>(object: I_1): Data;
175
+ create<I extends Exact<DeepPartial<Data>, I>>(base?: I): Data;
176
+ fromPartial<I extends Exact<DeepPartial<Data>, I>>(object: I): Data;
393
177
  };
394
178
  export declare const Vote: {
395
179
  encode(message: Vote, writer?: _m0.Writer): _m0.Writer;
396
180
  decode(input: _m0.Reader | Uint8Array, length?: number): Vote;
397
181
  fromJSON(object: any): Vote;
398
182
  toJSON(message: Vote): unknown;
399
- create<I extends {
400
- type?: SignedMsgType;
401
- height?: number;
402
- round?: number;
403
- blockId?: {
404
- hash?: Uint8Array;
405
- partSetHeader?: {
406
- total?: number;
407
- hash?: Uint8Array;
408
- };
409
- };
410
- timestamp?: Date | undefined;
411
- validatorAddress?: Uint8Array;
412
- validatorIndex?: number;
413
- signature?: Uint8Array;
414
- } & {
415
- type?: SignedMsgType;
416
- height?: number;
417
- round?: number;
418
- blockId?: {
419
- hash?: Uint8Array;
420
- partSetHeader?: {
421
- total?: number;
422
- hash?: Uint8Array;
423
- };
424
- } & {
425
- hash?: Uint8Array;
426
- partSetHeader?: {
427
- total?: number;
428
- hash?: Uint8Array;
429
- } & {
430
- total?: number;
431
- hash?: Uint8Array;
432
- } & { [K in Exclude<keyof I["blockId"]["partSetHeader"], keyof PartSetHeader>]: never; };
433
- } & { [K_1 in Exclude<keyof I["blockId"], keyof BlockID>]: never; };
434
- timestamp?: Date | undefined;
435
- validatorAddress?: Uint8Array;
436
- validatorIndex?: number;
437
- signature?: Uint8Array;
438
- } & { [K_2 in Exclude<keyof I, keyof Vote>]: never; }>(base?: I): Vote;
439
- fromPartial<I_1 extends {
440
- type?: SignedMsgType;
441
- height?: number;
442
- round?: number;
443
- blockId?: {
444
- hash?: Uint8Array;
445
- partSetHeader?: {
446
- total?: number;
447
- hash?: Uint8Array;
448
- };
449
- };
450
- timestamp?: Date | undefined;
451
- validatorAddress?: Uint8Array;
452
- validatorIndex?: number;
453
- signature?: Uint8Array;
454
- } & {
455
- type?: SignedMsgType;
456
- height?: number;
457
- round?: number;
458
- blockId?: {
459
- hash?: Uint8Array;
460
- partSetHeader?: {
461
- total?: number;
462
- hash?: Uint8Array;
463
- };
464
- } & {
465
- hash?: Uint8Array;
466
- partSetHeader?: {
467
- total?: number;
468
- hash?: Uint8Array;
469
- } & {
470
- total?: number;
471
- hash?: Uint8Array;
472
- } & { [K_3 in Exclude<keyof I_1["blockId"]["partSetHeader"], keyof PartSetHeader>]: never; };
473
- } & { [K_4 in Exclude<keyof I_1["blockId"], keyof BlockID>]: never; };
474
- timestamp?: Date | undefined;
475
- validatorAddress?: Uint8Array;
476
- validatorIndex?: number;
477
- signature?: Uint8Array;
478
- } & { [K_5 in Exclude<keyof I_1, keyof Vote>]: never; }>(object: I_1): Vote;
183
+ create<I extends Exact<DeepPartial<Vote>, I>>(base?: I): Vote;
184
+ fromPartial<I extends Exact<DeepPartial<Vote>, I>>(object: I): Vote;
479
185
  };
480
186
  export declare const Commit: {
481
187
  encode(message: Commit, writer?: _m0.Writer): _m0.Writer;
482
188
  decode(input: _m0.Reader | Uint8Array, length?: number): Commit;
483
189
  fromJSON(object: any): Commit;
484
190
  toJSON(message: Commit): unknown;
485
- create<I extends {
486
- height?: number;
487
- round?: number;
488
- blockId?: {
489
- hash?: Uint8Array;
490
- partSetHeader?: {
491
- total?: number;
492
- hash?: Uint8Array;
493
- };
494
- };
495
- signatures?: {
496
- blockIdFlag?: BlockIDFlag;
497
- validatorAddress?: Uint8Array;
498
- timestamp?: Date | undefined;
499
- signature?: Uint8Array;
500
- }[];
501
- } & {
502
- height?: number;
503
- round?: number;
504
- blockId?: {
505
- hash?: Uint8Array;
506
- partSetHeader?: {
507
- total?: number;
508
- hash?: Uint8Array;
509
- };
510
- } & {
511
- hash?: Uint8Array;
512
- partSetHeader?: {
513
- total?: number;
514
- hash?: Uint8Array;
515
- } & {
516
- total?: number;
517
- hash?: Uint8Array;
518
- } & { [K in Exclude<keyof I["blockId"]["partSetHeader"], keyof PartSetHeader>]: never; };
519
- } & { [K_1 in Exclude<keyof I["blockId"], keyof BlockID>]: never; };
520
- signatures?: {
521
- blockIdFlag?: BlockIDFlag;
522
- validatorAddress?: Uint8Array;
523
- timestamp?: Date | undefined;
524
- signature?: Uint8Array;
525
- }[] & ({
526
- blockIdFlag?: BlockIDFlag;
527
- validatorAddress?: Uint8Array;
528
- timestamp?: Date | undefined;
529
- signature?: Uint8Array;
530
- } & {
531
- blockIdFlag?: BlockIDFlag;
532
- validatorAddress?: Uint8Array;
533
- timestamp?: Date | undefined;
534
- signature?: Uint8Array;
535
- } & { [K_2 in Exclude<keyof I["signatures"][number], keyof CommitSig>]: never; })[] & { [K_3 in Exclude<keyof I["signatures"], keyof {
536
- blockIdFlag?: BlockIDFlag;
537
- validatorAddress?: Uint8Array;
538
- timestamp?: Date | undefined;
539
- signature?: Uint8Array;
540
- }[]>]: never; };
541
- } & { [K_4 in Exclude<keyof I, keyof Commit>]: never; }>(base?: I): Commit;
542
- fromPartial<I_1 extends {
543
- height?: number;
544
- round?: number;
545
- blockId?: {
546
- hash?: Uint8Array;
547
- partSetHeader?: {
548
- total?: number;
549
- hash?: Uint8Array;
550
- };
551
- };
552
- signatures?: {
553
- blockIdFlag?: BlockIDFlag;
554
- validatorAddress?: Uint8Array;
555
- timestamp?: Date | undefined;
556
- signature?: Uint8Array;
557
- }[];
558
- } & {
559
- height?: number;
560
- round?: number;
561
- blockId?: {
562
- hash?: Uint8Array;
563
- partSetHeader?: {
564
- total?: number;
565
- hash?: Uint8Array;
566
- };
567
- } & {
568
- hash?: Uint8Array;
569
- partSetHeader?: {
570
- total?: number;
571
- hash?: Uint8Array;
572
- } & {
573
- total?: number;
574
- hash?: Uint8Array;
575
- } & { [K_5 in Exclude<keyof I_1["blockId"]["partSetHeader"], keyof PartSetHeader>]: never; };
576
- } & { [K_6 in Exclude<keyof I_1["blockId"], keyof BlockID>]: never; };
577
- signatures?: {
578
- blockIdFlag?: BlockIDFlag;
579
- validatorAddress?: Uint8Array;
580
- timestamp?: Date | undefined;
581
- signature?: Uint8Array;
582
- }[] & ({
583
- blockIdFlag?: BlockIDFlag;
584
- validatorAddress?: Uint8Array;
585
- timestamp?: Date | undefined;
586
- signature?: Uint8Array;
587
- } & {
588
- blockIdFlag?: BlockIDFlag;
589
- validatorAddress?: Uint8Array;
590
- timestamp?: Date | undefined;
591
- signature?: Uint8Array;
592
- } & { [K_7 in Exclude<keyof I_1["signatures"][number], keyof CommitSig>]: never; })[] & { [K_8 in Exclude<keyof I_1["signatures"], keyof {
593
- blockIdFlag?: BlockIDFlag;
594
- validatorAddress?: Uint8Array;
595
- timestamp?: Date | undefined;
596
- signature?: Uint8Array;
597
- }[]>]: never; };
598
- } & { [K_9 in Exclude<keyof I_1, keyof Commit>]: never; }>(object: I_1): Commit;
191
+ create<I extends Exact<DeepPartial<Commit>, I>>(base?: I): Commit;
192
+ fromPartial<I extends Exact<DeepPartial<Commit>, I>>(object: I): Commit;
599
193
  };
600
194
  export declare const CommitSig: {
601
195
  encode(message: CommitSig, writer?: _m0.Writer): _m0.Writer;
602
196
  decode(input: _m0.Reader | Uint8Array, length?: number): CommitSig;
603
197
  fromJSON(object: any): CommitSig;
604
198
  toJSON(message: CommitSig): unknown;
605
- create<I extends {
606
- blockIdFlag?: BlockIDFlag;
607
- validatorAddress?: Uint8Array;
608
- timestamp?: Date | undefined;
609
- signature?: Uint8Array;
610
- } & {
611
- blockIdFlag?: BlockIDFlag;
612
- validatorAddress?: Uint8Array;
613
- timestamp?: Date | undefined;
614
- signature?: Uint8Array;
615
- } & { [K in Exclude<keyof I, keyof CommitSig>]: never; }>(base?: I): CommitSig;
616
- fromPartial<I_1 extends {
617
- blockIdFlag?: BlockIDFlag;
618
- validatorAddress?: Uint8Array;
619
- timestamp?: Date | undefined;
620
- signature?: Uint8Array;
621
- } & {
622
- blockIdFlag?: BlockIDFlag;
623
- validatorAddress?: Uint8Array;
624
- timestamp?: Date | undefined;
625
- signature?: Uint8Array;
626
- } & { [K_1 in Exclude<keyof I_1, keyof CommitSig>]: never; }>(object: I_1): CommitSig;
199
+ create<I extends Exact<DeepPartial<CommitSig>, I>>(base?: I): CommitSig;
200
+ fromPartial<I extends Exact<DeepPartial<CommitSig>, I>>(object: I): CommitSig;
627
201
  };
628
202
  export declare const Proposal: {
629
203
  encode(message: Proposal, writer?: _m0.Writer): _m0.Writer;
630
204
  decode(input: _m0.Reader | Uint8Array, length?: number): Proposal;
631
205
  fromJSON(object: any): Proposal;
632
206
  toJSON(message: Proposal): unknown;
633
- create<I extends {
634
- type?: SignedMsgType;
635
- height?: number;
636
- round?: number;
637
- polRound?: number;
638
- blockId?: {
639
- hash?: Uint8Array;
640
- partSetHeader?: {
641
- total?: number;
642
- hash?: Uint8Array;
643
- };
644
- };
645
- timestamp?: Date | undefined;
646
- signature?: Uint8Array;
647
- } & {
648
- type?: SignedMsgType;
649
- height?: number;
650
- round?: number;
651
- polRound?: number;
652
- blockId?: {
653
- hash?: Uint8Array;
654
- partSetHeader?: {
655
- total?: number;
656
- hash?: Uint8Array;
657
- };
658
- } & {
659
- hash?: Uint8Array;
660
- partSetHeader?: {
661
- total?: number;
662
- hash?: Uint8Array;
663
- } & {
664
- total?: number;
665
- hash?: Uint8Array;
666
- } & { [K in Exclude<keyof I["blockId"]["partSetHeader"], keyof PartSetHeader>]: never; };
667
- } & { [K_1 in Exclude<keyof I["blockId"], keyof BlockID>]: never; };
668
- timestamp?: Date | undefined;
669
- signature?: Uint8Array;
670
- } & { [K_2 in Exclude<keyof I, keyof Proposal>]: never; }>(base?: I): Proposal;
671
- fromPartial<I_1 extends {
672
- type?: SignedMsgType;
673
- height?: number;
674
- round?: number;
675
- polRound?: number;
676
- blockId?: {
677
- hash?: Uint8Array;
678
- partSetHeader?: {
679
- total?: number;
680
- hash?: Uint8Array;
681
- };
682
- };
683
- timestamp?: Date | undefined;
684
- signature?: Uint8Array;
685
- } & {
686
- type?: SignedMsgType;
687
- height?: number;
688
- round?: number;
689
- polRound?: number;
690
- blockId?: {
691
- hash?: Uint8Array;
692
- partSetHeader?: {
693
- total?: number;
694
- hash?: Uint8Array;
695
- };
696
- } & {
697
- hash?: Uint8Array;
698
- partSetHeader?: {
699
- total?: number;
700
- hash?: Uint8Array;
701
- } & {
702
- total?: number;
703
- hash?: Uint8Array;
704
- } & { [K_3 in Exclude<keyof I_1["blockId"]["partSetHeader"], keyof PartSetHeader>]: never; };
705
- } & { [K_4 in Exclude<keyof I_1["blockId"], keyof BlockID>]: never; };
706
- timestamp?: Date | undefined;
707
- signature?: Uint8Array;
708
- } & { [K_5 in Exclude<keyof I_1, keyof Proposal>]: never; }>(object: I_1): Proposal;
207
+ create<I extends Exact<DeepPartial<Proposal>, I>>(base?: I): Proposal;
208
+ fromPartial<I extends Exact<DeepPartial<Proposal>, I>>(object: I): Proposal;
709
209
  };
710
210
  export declare const SignedHeader: {
711
211
  encode(message: SignedHeader, writer?: _m0.Writer): _m0.Writer;
712
212
  decode(input: _m0.Reader | Uint8Array, length?: number): SignedHeader;
713
213
  fromJSON(object: any): SignedHeader;
714
214
  toJSON(message: SignedHeader): unknown;
715
- create<I extends {
716
- header?: {
717
- version?: {
718
- block?: number;
719
- app?: number;
720
- };
721
- chainId?: string;
722
- height?: number;
723
- time?: Date | undefined;
724
- lastBlockId?: {
725
- hash?: Uint8Array;
726
- partSetHeader?: {
727
- total?: number;
728
- hash?: Uint8Array;
729
- };
730
- };
731
- lastCommitHash?: Uint8Array;
732
- dataHash?: Uint8Array;
733
- validatorsHash?: Uint8Array;
734
- nextValidatorsHash?: Uint8Array;
735
- consensusHash?: Uint8Array;
736
- appHash?: Uint8Array;
737
- lastResultsHash?: Uint8Array;
738
- evidenceHash?: Uint8Array;
739
- proposerAddress?: Uint8Array;
740
- };
741
- commit?: {
742
- height?: number;
743
- round?: number;
744
- blockId?: {
745
- hash?: Uint8Array;
746
- partSetHeader?: {
747
- total?: number;
748
- hash?: Uint8Array;
749
- };
750
- };
751
- signatures?: {
752
- blockIdFlag?: BlockIDFlag;
753
- validatorAddress?: Uint8Array;
754
- timestamp?: Date | undefined;
755
- signature?: Uint8Array;
756
- }[];
757
- };
758
- } & {
759
- header?: {
760
- version?: {
761
- block?: number;
762
- app?: number;
763
- };
764
- chainId?: string;
765
- height?: number;
766
- time?: Date | undefined;
767
- lastBlockId?: {
768
- hash?: Uint8Array;
769
- partSetHeader?: {
770
- total?: number;
771
- hash?: Uint8Array;
772
- };
773
- };
774
- lastCommitHash?: Uint8Array;
775
- dataHash?: Uint8Array;
776
- validatorsHash?: Uint8Array;
777
- nextValidatorsHash?: Uint8Array;
778
- consensusHash?: Uint8Array;
779
- appHash?: Uint8Array;
780
- lastResultsHash?: Uint8Array;
781
- evidenceHash?: Uint8Array;
782
- proposerAddress?: Uint8Array;
783
- } & {
784
- version?: {
785
- block?: number;
786
- app?: number;
787
- } & {
788
- block?: number;
789
- app?: number;
790
- } & { [K in Exclude<keyof I["header"]["version"], keyof Consensus>]: never; };
791
- chainId?: string;
792
- height?: number;
793
- time?: Date | undefined;
794
- lastBlockId?: {
795
- hash?: Uint8Array;
796
- partSetHeader?: {
797
- total?: number;
798
- hash?: Uint8Array;
799
- };
800
- } & {
801
- hash?: Uint8Array;
802
- partSetHeader?: {
803
- total?: number;
804
- hash?: Uint8Array;
805
- } & {
806
- total?: number;
807
- hash?: Uint8Array;
808
- } & { [K_1 in Exclude<keyof I["header"]["lastBlockId"]["partSetHeader"], keyof PartSetHeader>]: never; };
809
- } & { [K_2 in Exclude<keyof I["header"]["lastBlockId"], keyof BlockID>]: never; };
810
- lastCommitHash?: Uint8Array;
811
- dataHash?: Uint8Array;
812
- validatorsHash?: Uint8Array;
813
- nextValidatorsHash?: Uint8Array;
814
- consensusHash?: Uint8Array;
815
- appHash?: Uint8Array;
816
- lastResultsHash?: Uint8Array;
817
- evidenceHash?: Uint8Array;
818
- proposerAddress?: Uint8Array;
819
- } & { [K_3 in Exclude<keyof I["header"], keyof Header>]: never; };
820
- commit?: {
821
- height?: number;
822
- round?: number;
823
- blockId?: {
824
- hash?: Uint8Array;
825
- partSetHeader?: {
826
- total?: number;
827
- hash?: Uint8Array;
828
- };
829
- };
830
- signatures?: {
831
- blockIdFlag?: BlockIDFlag;
832
- validatorAddress?: Uint8Array;
833
- timestamp?: Date | undefined;
834
- signature?: Uint8Array;
835
- }[];
836
- } & {
837
- height?: number;
838
- round?: number;
839
- blockId?: {
840
- hash?: Uint8Array;
841
- partSetHeader?: {
842
- total?: number;
843
- hash?: Uint8Array;
844
- };
845
- } & {
846
- hash?: Uint8Array;
847
- partSetHeader?: {
848
- total?: number;
849
- hash?: Uint8Array;
850
- } & {
851
- total?: number;
852
- hash?: Uint8Array;
853
- } & { [K_4 in Exclude<keyof I["commit"]["blockId"]["partSetHeader"], keyof PartSetHeader>]: never; };
854
- } & { [K_5 in Exclude<keyof I["commit"]["blockId"], keyof BlockID>]: never; };
855
- signatures?: {
856
- blockIdFlag?: BlockIDFlag;
857
- validatorAddress?: Uint8Array;
858
- timestamp?: Date | undefined;
859
- signature?: Uint8Array;
860
- }[] & ({
861
- blockIdFlag?: BlockIDFlag;
862
- validatorAddress?: Uint8Array;
863
- timestamp?: Date | undefined;
864
- signature?: Uint8Array;
865
- } & {
866
- blockIdFlag?: BlockIDFlag;
867
- validatorAddress?: Uint8Array;
868
- timestamp?: Date | undefined;
869
- signature?: Uint8Array;
870
- } & { [K_6 in Exclude<keyof I["commit"]["signatures"][number], keyof CommitSig>]: never; })[] & { [K_7 in Exclude<keyof I["commit"]["signatures"], keyof {
871
- blockIdFlag?: BlockIDFlag;
872
- validatorAddress?: Uint8Array;
873
- timestamp?: Date | undefined;
874
- signature?: Uint8Array;
875
- }[]>]: never; };
876
- } & { [K_8 in Exclude<keyof I["commit"], keyof Commit>]: never; };
877
- } & { [K_9 in Exclude<keyof I, keyof SignedHeader>]: never; }>(base?: I): SignedHeader;
878
- fromPartial<I_1 extends {
879
- header?: {
880
- version?: {
881
- block?: number;
882
- app?: number;
883
- };
884
- chainId?: string;
885
- height?: number;
886
- time?: Date | undefined;
887
- lastBlockId?: {
888
- hash?: Uint8Array;
889
- partSetHeader?: {
890
- total?: number;
891
- hash?: Uint8Array;
892
- };
893
- };
894
- lastCommitHash?: Uint8Array;
895
- dataHash?: Uint8Array;
896
- validatorsHash?: Uint8Array;
897
- nextValidatorsHash?: Uint8Array;
898
- consensusHash?: Uint8Array;
899
- appHash?: Uint8Array;
900
- lastResultsHash?: Uint8Array;
901
- evidenceHash?: Uint8Array;
902
- proposerAddress?: Uint8Array;
903
- };
904
- commit?: {
905
- height?: number;
906
- round?: number;
907
- blockId?: {
908
- hash?: Uint8Array;
909
- partSetHeader?: {
910
- total?: number;
911
- hash?: Uint8Array;
912
- };
913
- };
914
- signatures?: {
915
- blockIdFlag?: BlockIDFlag;
916
- validatorAddress?: Uint8Array;
917
- timestamp?: Date | undefined;
918
- signature?: Uint8Array;
919
- }[];
920
- };
921
- } & {
922
- header?: {
923
- version?: {
924
- block?: number;
925
- app?: number;
926
- };
927
- chainId?: string;
928
- height?: number;
929
- time?: Date | undefined;
930
- lastBlockId?: {
931
- hash?: Uint8Array;
932
- partSetHeader?: {
933
- total?: number;
934
- hash?: Uint8Array;
935
- };
936
- };
937
- lastCommitHash?: Uint8Array;
938
- dataHash?: Uint8Array;
939
- validatorsHash?: Uint8Array;
940
- nextValidatorsHash?: Uint8Array;
941
- consensusHash?: Uint8Array;
942
- appHash?: Uint8Array;
943
- lastResultsHash?: Uint8Array;
944
- evidenceHash?: Uint8Array;
945
- proposerAddress?: Uint8Array;
946
- } & {
947
- version?: {
948
- block?: number;
949
- app?: number;
950
- } & {
951
- block?: number;
952
- app?: number;
953
- } & { [K_10 in Exclude<keyof I_1["header"]["version"], keyof Consensus>]: never; };
954
- chainId?: string;
955
- height?: number;
956
- time?: Date | undefined;
957
- lastBlockId?: {
958
- hash?: Uint8Array;
959
- partSetHeader?: {
960
- total?: number;
961
- hash?: Uint8Array;
962
- };
963
- } & {
964
- hash?: Uint8Array;
965
- partSetHeader?: {
966
- total?: number;
967
- hash?: Uint8Array;
968
- } & {
969
- total?: number;
970
- hash?: Uint8Array;
971
- } & { [K_11 in Exclude<keyof I_1["header"]["lastBlockId"]["partSetHeader"], keyof PartSetHeader>]: never; };
972
- } & { [K_12 in Exclude<keyof I_1["header"]["lastBlockId"], keyof BlockID>]: never; };
973
- lastCommitHash?: Uint8Array;
974
- dataHash?: Uint8Array;
975
- validatorsHash?: Uint8Array;
976
- nextValidatorsHash?: Uint8Array;
977
- consensusHash?: Uint8Array;
978
- appHash?: Uint8Array;
979
- lastResultsHash?: Uint8Array;
980
- evidenceHash?: Uint8Array;
981
- proposerAddress?: Uint8Array;
982
- } & { [K_13 in Exclude<keyof I_1["header"], keyof Header>]: never; };
983
- commit?: {
984
- height?: number;
985
- round?: number;
986
- blockId?: {
987
- hash?: Uint8Array;
988
- partSetHeader?: {
989
- total?: number;
990
- hash?: Uint8Array;
991
- };
992
- };
993
- signatures?: {
994
- blockIdFlag?: BlockIDFlag;
995
- validatorAddress?: Uint8Array;
996
- timestamp?: Date | undefined;
997
- signature?: Uint8Array;
998
- }[];
999
- } & {
1000
- height?: number;
1001
- round?: number;
1002
- blockId?: {
1003
- hash?: Uint8Array;
1004
- partSetHeader?: {
1005
- total?: number;
1006
- hash?: Uint8Array;
1007
- };
1008
- } & {
1009
- hash?: Uint8Array;
1010
- partSetHeader?: {
1011
- total?: number;
1012
- hash?: Uint8Array;
1013
- } & {
1014
- total?: number;
1015
- hash?: Uint8Array;
1016
- } & { [K_14 in Exclude<keyof I_1["commit"]["blockId"]["partSetHeader"], keyof PartSetHeader>]: never; };
1017
- } & { [K_15 in Exclude<keyof I_1["commit"]["blockId"], keyof BlockID>]: never; };
1018
- signatures?: {
1019
- blockIdFlag?: BlockIDFlag;
1020
- validatorAddress?: Uint8Array;
1021
- timestamp?: Date | undefined;
1022
- signature?: Uint8Array;
1023
- }[] & ({
1024
- blockIdFlag?: BlockIDFlag;
1025
- validatorAddress?: Uint8Array;
1026
- timestamp?: Date | undefined;
1027
- signature?: Uint8Array;
1028
- } & {
1029
- blockIdFlag?: BlockIDFlag;
1030
- validatorAddress?: Uint8Array;
1031
- timestamp?: Date | undefined;
1032
- signature?: Uint8Array;
1033
- } & { [K_16 in Exclude<keyof I_1["commit"]["signatures"][number], keyof CommitSig>]: never; })[] & { [K_17 in Exclude<keyof I_1["commit"]["signatures"], keyof {
1034
- blockIdFlag?: BlockIDFlag;
1035
- validatorAddress?: Uint8Array;
1036
- timestamp?: Date | undefined;
1037
- signature?: Uint8Array;
1038
- }[]>]: never; };
1039
- } & { [K_18 in Exclude<keyof I_1["commit"], keyof Commit>]: never; };
1040
- } & { [K_19 in Exclude<keyof I_1, keyof SignedHeader>]: never; }>(object: I_1): SignedHeader;
215
+ create<I extends Exact<DeepPartial<SignedHeader>, I>>(base?: I): SignedHeader;
216
+ fromPartial<I extends Exact<DeepPartial<SignedHeader>, I>>(object: I): SignedHeader;
1041
217
  };
1042
218
  export declare const LightBlock: {
1043
219
  encode(message: LightBlock, writer?: _m0.Writer): _m0.Writer;
1044
220
  decode(input: _m0.Reader | Uint8Array, length?: number): LightBlock;
1045
221
  fromJSON(object: any): LightBlock;
1046
222
  toJSON(message: LightBlock): unknown;
1047
- create<I extends {
1048
- signedHeader?: {
1049
- header?: {
1050
- version?: {
1051
- block?: number;
1052
- app?: number;
1053
- };
1054
- chainId?: string;
1055
- height?: number;
1056
- time?: Date | undefined;
1057
- lastBlockId?: {
1058
- hash?: Uint8Array;
1059
- partSetHeader?: {
1060
- total?: number;
1061
- hash?: Uint8Array;
1062
- };
1063
- };
1064
- lastCommitHash?: Uint8Array;
1065
- dataHash?: Uint8Array;
1066
- validatorsHash?: Uint8Array;
1067
- nextValidatorsHash?: Uint8Array;
1068
- consensusHash?: Uint8Array;
1069
- appHash?: Uint8Array;
1070
- lastResultsHash?: Uint8Array;
1071
- evidenceHash?: Uint8Array;
1072
- proposerAddress?: Uint8Array;
1073
- };
1074
- commit?: {
1075
- height?: number;
1076
- round?: number;
1077
- blockId?: {
1078
- hash?: Uint8Array;
1079
- partSetHeader?: {
1080
- total?: number;
1081
- hash?: Uint8Array;
1082
- };
1083
- };
1084
- signatures?: {
1085
- blockIdFlag?: BlockIDFlag;
1086
- validatorAddress?: Uint8Array;
1087
- timestamp?: Date | undefined;
1088
- signature?: Uint8Array;
1089
- }[];
1090
- };
1091
- };
1092
- validatorSet?: {
1093
- validators?: {
1094
- address?: Uint8Array;
1095
- pubKey?: {
1096
- ed25519?: Uint8Array;
1097
- secp256k1?: Uint8Array;
1098
- };
1099
- votingPower?: number;
1100
- proposerPriority?: number;
1101
- }[];
1102
- proposer?: {
1103
- address?: Uint8Array;
1104
- pubKey?: {
1105
- ed25519?: Uint8Array;
1106
- secp256k1?: Uint8Array;
1107
- };
1108
- votingPower?: number;
1109
- proposerPriority?: number;
1110
- };
1111
- totalVotingPower?: number;
1112
- };
1113
- } & {
1114
- signedHeader?: {
1115
- header?: {
1116
- version?: {
1117
- block?: number;
1118
- app?: number;
1119
- };
1120
- chainId?: string;
1121
- height?: number;
1122
- time?: Date | undefined;
1123
- lastBlockId?: {
1124
- hash?: Uint8Array;
1125
- partSetHeader?: {
1126
- total?: number;
1127
- hash?: Uint8Array;
1128
- };
1129
- };
1130
- lastCommitHash?: Uint8Array;
1131
- dataHash?: Uint8Array;
1132
- validatorsHash?: Uint8Array;
1133
- nextValidatorsHash?: Uint8Array;
1134
- consensusHash?: Uint8Array;
1135
- appHash?: Uint8Array;
1136
- lastResultsHash?: Uint8Array;
1137
- evidenceHash?: Uint8Array;
1138
- proposerAddress?: Uint8Array;
1139
- };
1140
- commit?: {
1141
- height?: number;
1142
- round?: number;
1143
- blockId?: {
1144
- hash?: Uint8Array;
1145
- partSetHeader?: {
1146
- total?: number;
1147
- hash?: Uint8Array;
1148
- };
1149
- };
1150
- signatures?: {
1151
- blockIdFlag?: BlockIDFlag;
1152
- validatorAddress?: Uint8Array;
1153
- timestamp?: Date | undefined;
1154
- signature?: Uint8Array;
1155
- }[];
1156
- };
1157
- } & {
1158
- header?: {
1159
- version?: {
1160
- block?: number;
1161
- app?: number;
1162
- };
1163
- chainId?: string;
1164
- height?: number;
1165
- time?: Date | undefined;
1166
- lastBlockId?: {
1167
- hash?: Uint8Array;
1168
- partSetHeader?: {
1169
- total?: number;
1170
- hash?: Uint8Array;
1171
- };
1172
- };
1173
- lastCommitHash?: Uint8Array;
1174
- dataHash?: Uint8Array;
1175
- validatorsHash?: Uint8Array;
1176
- nextValidatorsHash?: Uint8Array;
1177
- consensusHash?: Uint8Array;
1178
- appHash?: Uint8Array;
1179
- lastResultsHash?: Uint8Array;
1180
- evidenceHash?: Uint8Array;
1181
- proposerAddress?: Uint8Array;
1182
- } & {
1183
- version?: {
1184
- block?: number;
1185
- app?: number;
1186
- } & {
1187
- block?: number;
1188
- app?: number;
1189
- } & { [K in Exclude<keyof I["signedHeader"]["header"]["version"], keyof Consensus>]: never; };
1190
- chainId?: string;
1191
- height?: number;
1192
- time?: Date | undefined;
1193
- lastBlockId?: {
1194
- hash?: Uint8Array;
1195
- partSetHeader?: {
1196
- total?: number;
1197
- hash?: Uint8Array;
1198
- };
1199
- } & {
1200
- hash?: Uint8Array;
1201
- partSetHeader?: {
1202
- total?: number;
1203
- hash?: Uint8Array;
1204
- } & {
1205
- total?: number;
1206
- hash?: Uint8Array;
1207
- } & { [K_1 in Exclude<keyof I["signedHeader"]["header"]["lastBlockId"]["partSetHeader"], keyof PartSetHeader>]: never; };
1208
- } & { [K_2 in Exclude<keyof I["signedHeader"]["header"]["lastBlockId"], keyof BlockID>]: never; };
1209
- lastCommitHash?: Uint8Array;
1210
- dataHash?: Uint8Array;
1211
- validatorsHash?: Uint8Array;
1212
- nextValidatorsHash?: Uint8Array;
1213
- consensusHash?: Uint8Array;
1214
- appHash?: Uint8Array;
1215
- lastResultsHash?: Uint8Array;
1216
- evidenceHash?: Uint8Array;
1217
- proposerAddress?: Uint8Array;
1218
- } & { [K_3 in Exclude<keyof I["signedHeader"]["header"], keyof Header>]: never; };
1219
- commit?: {
1220
- height?: number;
1221
- round?: number;
1222
- blockId?: {
1223
- hash?: Uint8Array;
1224
- partSetHeader?: {
1225
- total?: number;
1226
- hash?: Uint8Array;
1227
- };
1228
- };
1229
- signatures?: {
1230
- blockIdFlag?: BlockIDFlag;
1231
- validatorAddress?: Uint8Array;
1232
- timestamp?: Date | undefined;
1233
- signature?: Uint8Array;
1234
- }[];
1235
- } & {
1236
- height?: number;
1237
- round?: number;
1238
- blockId?: {
1239
- hash?: Uint8Array;
1240
- partSetHeader?: {
1241
- total?: number;
1242
- hash?: Uint8Array;
1243
- };
1244
- } & {
1245
- hash?: Uint8Array;
1246
- partSetHeader?: {
1247
- total?: number;
1248
- hash?: Uint8Array;
1249
- } & {
1250
- total?: number;
1251
- hash?: Uint8Array;
1252
- } & { [K_4 in Exclude<keyof I["signedHeader"]["commit"]["blockId"]["partSetHeader"], keyof PartSetHeader>]: never; };
1253
- } & { [K_5 in Exclude<keyof I["signedHeader"]["commit"]["blockId"], keyof BlockID>]: never; };
1254
- signatures?: {
1255
- blockIdFlag?: BlockIDFlag;
1256
- validatorAddress?: Uint8Array;
1257
- timestamp?: Date | undefined;
1258
- signature?: Uint8Array;
1259
- }[] & ({
1260
- blockIdFlag?: BlockIDFlag;
1261
- validatorAddress?: Uint8Array;
1262
- timestamp?: Date | undefined;
1263
- signature?: Uint8Array;
1264
- } & {
1265
- blockIdFlag?: BlockIDFlag;
1266
- validatorAddress?: Uint8Array;
1267
- timestamp?: Date | undefined;
1268
- signature?: Uint8Array;
1269
- } & { [K_6 in Exclude<keyof I["signedHeader"]["commit"]["signatures"][number], keyof CommitSig>]: never; })[] & { [K_7 in Exclude<keyof I["signedHeader"]["commit"]["signatures"], keyof {
1270
- blockIdFlag?: BlockIDFlag;
1271
- validatorAddress?: Uint8Array;
1272
- timestamp?: Date | undefined;
1273
- signature?: Uint8Array;
1274
- }[]>]: never; };
1275
- } & { [K_8 in Exclude<keyof I["signedHeader"]["commit"], keyof Commit>]: never; };
1276
- } & { [K_9 in Exclude<keyof I["signedHeader"], keyof SignedHeader>]: never; };
1277
- validatorSet?: {
1278
- validators?: {
1279
- address?: Uint8Array;
1280
- pubKey?: {
1281
- ed25519?: Uint8Array;
1282
- secp256k1?: Uint8Array;
1283
- };
1284
- votingPower?: number;
1285
- proposerPriority?: number;
1286
- }[];
1287
- proposer?: {
1288
- address?: Uint8Array;
1289
- pubKey?: {
1290
- ed25519?: Uint8Array;
1291
- secp256k1?: Uint8Array;
1292
- };
1293
- votingPower?: number;
1294
- proposerPriority?: number;
1295
- };
1296
- totalVotingPower?: number;
1297
- } & {
1298
- validators?: {
1299
- address?: Uint8Array;
1300
- pubKey?: {
1301
- ed25519?: Uint8Array;
1302
- secp256k1?: Uint8Array;
1303
- };
1304
- votingPower?: number;
1305
- proposerPriority?: number;
1306
- }[] & ({
1307
- address?: Uint8Array;
1308
- pubKey?: {
1309
- ed25519?: Uint8Array;
1310
- secp256k1?: Uint8Array;
1311
- };
1312
- votingPower?: number;
1313
- proposerPriority?: number;
1314
- } & {
1315
- address?: Uint8Array;
1316
- pubKey?: {
1317
- ed25519?: Uint8Array;
1318
- secp256k1?: Uint8Array;
1319
- } & {
1320
- ed25519?: Uint8Array;
1321
- secp256k1?: Uint8Array;
1322
- } & { [K_10 in Exclude<keyof I["validatorSet"]["validators"][number]["pubKey"], keyof import("../crypto/keys").PublicKey>]: never; };
1323
- votingPower?: number;
1324
- proposerPriority?: number;
1325
- } & { [K_11 in Exclude<keyof I["validatorSet"]["validators"][number], keyof import("./validator").Validator>]: never; })[] & { [K_12 in Exclude<keyof I["validatorSet"]["validators"], keyof {
1326
- address?: Uint8Array;
1327
- pubKey?: {
1328
- ed25519?: Uint8Array;
1329
- secp256k1?: Uint8Array;
1330
- };
1331
- votingPower?: number;
1332
- proposerPriority?: number;
1333
- }[]>]: never; };
1334
- proposer?: {
1335
- address?: Uint8Array;
1336
- pubKey?: {
1337
- ed25519?: Uint8Array;
1338
- secp256k1?: Uint8Array;
1339
- };
1340
- votingPower?: number;
1341
- proposerPriority?: number;
1342
- } & {
1343
- address?: Uint8Array;
1344
- pubKey?: {
1345
- ed25519?: Uint8Array;
1346
- secp256k1?: Uint8Array;
1347
- } & {
1348
- ed25519?: Uint8Array;
1349
- secp256k1?: Uint8Array;
1350
- } & { [K_13 in Exclude<keyof I["validatorSet"]["proposer"]["pubKey"], keyof import("../crypto/keys").PublicKey>]: never; };
1351
- votingPower?: number;
1352
- proposerPriority?: number;
1353
- } & { [K_14 in Exclude<keyof I["validatorSet"]["proposer"], keyof import("./validator").Validator>]: never; };
1354
- totalVotingPower?: number;
1355
- } & { [K_15 in Exclude<keyof I["validatorSet"], keyof ValidatorSet>]: never; };
1356
- } & { [K_16 in Exclude<keyof I, keyof LightBlock>]: never; }>(base?: I): LightBlock;
1357
- fromPartial<I_1 extends {
1358
- signedHeader?: {
1359
- header?: {
1360
- version?: {
1361
- block?: number;
1362
- app?: number;
1363
- };
1364
- chainId?: string;
1365
- height?: number;
1366
- time?: Date | undefined;
1367
- lastBlockId?: {
1368
- hash?: Uint8Array;
1369
- partSetHeader?: {
1370
- total?: number;
1371
- hash?: Uint8Array;
1372
- };
1373
- };
1374
- lastCommitHash?: Uint8Array;
1375
- dataHash?: Uint8Array;
1376
- validatorsHash?: Uint8Array;
1377
- nextValidatorsHash?: Uint8Array;
1378
- consensusHash?: Uint8Array;
1379
- appHash?: Uint8Array;
1380
- lastResultsHash?: Uint8Array;
1381
- evidenceHash?: Uint8Array;
1382
- proposerAddress?: Uint8Array;
1383
- };
1384
- commit?: {
1385
- height?: number;
1386
- round?: number;
1387
- blockId?: {
1388
- hash?: Uint8Array;
1389
- partSetHeader?: {
1390
- total?: number;
1391
- hash?: Uint8Array;
1392
- };
1393
- };
1394
- signatures?: {
1395
- blockIdFlag?: BlockIDFlag;
1396
- validatorAddress?: Uint8Array;
1397
- timestamp?: Date | undefined;
1398
- signature?: Uint8Array;
1399
- }[];
1400
- };
1401
- };
1402
- validatorSet?: {
1403
- validators?: {
1404
- address?: Uint8Array;
1405
- pubKey?: {
1406
- ed25519?: Uint8Array;
1407
- secp256k1?: Uint8Array;
1408
- };
1409
- votingPower?: number;
1410
- proposerPriority?: number;
1411
- }[];
1412
- proposer?: {
1413
- address?: Uint8Array;
1414
- pubKey?: {
1415
- ed25519?: Uint8Array;
1416
- secp256k1?: Uint8Array;
1417
- };
1418
- votingPower?: number;
1419
- proposerPriority?: number;
1420
- };
1421
- totalVotingPower?: number;
1422
- };
1423
- } & {
1424
- signedHeader?: {
1425
- header?: {
1426
- version?: {
1427
- block?: number;
1428
- app?: number;
1429
- };
1430
- chainId?: string;
1431
- height?: number;
1432
- time?: Date | undefined;
1433
- lastBlockId?: {
1434
- hash?: Uint8Array;
1435
- partSetHeader?: {
1436
- total?: number;
1437
- hash?: Uint8Array;
1438
- };
1439
- };
1440
- lastCommitHash?: Uint8Array;
1441
- dataHash?: Uint8Array;
1442
- validatorsHash?: Uint8Array;
1443
- nextValidatorsHash?: Uint8Array;
1444
- consensusHash?: Uint8Array;
1445
- appHash?: Uint8Array;
1446
- lastResultsHash?: Uint8Array;
1447
- evidenceHash?: Uint8Array;
1448
- proposerAddress?: Uint8Array;
1449
- };
1450
- commit?: {
1451
- height?: number;
1452
- round?: number;
1453
- blockId?: {
1454
- hash?: Uint8Array;
1455
- partSetHeader?: {
1456
- total?: number;
1457
- hash?: Uint8Array;
1458
- };
1459
- };
1460
- signatures?: {
1461
- blockIdFlag?: BlockIDFlag;
1462
- validatorAddress?: Uint8Array;
1463
- timestamp?: Date | undefined;
1464
- signature?: Uint8Array;
1465
- }[];
1466
- };
1467
- } & {
1468
- header?: {
1469
- version?: {
1470
- block?: number;
1471
- app?: number;
1472
- };
1473
- chainId?: string;
1474
- height?: number;
1475
- time?: Date | undefined;
1476
- lastBlockId?: {
1477
- hash?: Uint8Array;
1478
- partSetHeader?: {
1479
- total?: number;
1480
- hash?: Uint8Array;
1481
- };
1482
- };
1483
- lastCommitHash?: Uint8Array;
1484
- dataHash?: Uint8Array;
1485
- validatorsHash?: Uint8Array;
1486
- nextValidatorsHash?: Uint8Array;
1487
- consensusHash?: Uint8Array;
1488
- appHash?: Uint8Array;
1489
- lastResultsHash?: Uint8Array;
1490
- evidenceHash?: Uint8Array;
1491
- proposerAddress?: Uint8Array;
1492
- } & {
1493
- version?: {
1494
- block?: number;
1495
- app?: number;
1496
- } & {
1497
- block?: number;
1498
- app?: number;
1499
- } & { [K_17 in Exclude<keyof I_1["signedHeader"]["header"]["version"], keyof Consensus>]: never; };
1500
- chainId?: string;
1501
- height?: number;
1502
- time?: Date | undefined;
1503
- lastBlockId?: {
1504
- hash?: Uint8Array;
1505
- partSetHeader?: {
1506
- total?: number;
1507
- hash?: Uint8Array;
1508
- };
1509
- } & {
1510
- hash?: Uint8Array;
1511
- partSetHeader?: {
1512
- total?: number;
1513
- hash?: Uint8Array;
1514
- } & {
1515
- total?: number;
1516
- hash?: Uint8Array;
1517
- } & { [K_18 in Exclude<keyof I_1["signedHeader"]["header"]["lastBlockId"]["partSetHeader"], keyof PartSetHeader>]: never; };
1518
- } & { [K_19 in Exclude<keyof I_1["signedHeader"]["header"]["lastBlockId"], keyof BlockID>]: never; };
1519
- lastCommitHash?: Uint8Array;
1520
- dataHash?: Uint8Array;
1521
- validatorsHash?: Uint8Array;
1522
- nextValidatorsHash?: Uint8Array;
1523
- consensusHash?: Uint8Array;
1524
- appHash?: Uint8Array;
1525
- lastResultsHash?: Uint8Array;
1526
- evidenceHash?: Uint8Array;
1527
- proposerAddress?: Uint8Array;
1528
- } & { [K_20 in Exclude<keyof I_1["signedHeader"]["header"], keyof Header>]: never; };
1529
- commit?: {
1530
- height?: number;
1531
- round?: number;
1532
- blockId?: {
1533
- hash?: Uint8Array;
1534
- partSetHeader?: {
1535
- total?: number;
1536
- hash?: Uint8Array;
1537
- };
1538
- };
1539
- signatures?: {
1540
- blockIdFlag?: BlockIDFlag;
1541
- validatorAddress?: Uint8Array;
1542
- timestamp?: Date | undefined;
1543
- signature?: Uint8Array;
1544
- }[];
1545
- } & {
1546
- height?: number;
1547
- round?: number;
1548
- blockId?: {
1549
- hash?: Uint8Array;
1550
- partSetHeader?: {
1551
- total?: number;
1552
- hash?: Uint8Array;
1553
- };
1554
- } & {
1555
- hash?: Uint8Array;
1556
- partSetHeader?: {
1557
- total?: number;
1558
- hash?: Uint8Array;
1559
- } & {
1560
- total?: number;
1561
- hash?: Uint8Array;
1562
- } & { [K_21 in Exclude<keyof I_1["signedHeader"]["commit"]["blockId"]["partSetHeader"], keyof PartSetHeader>]: never; };
1563
- } & { [K_22 in Exclude<keyof I_1["signedHeader"]["commit"]["blockId"], keyof BlockID>]: never; };
1564
- signatures?: {
1565
- blockIdFlag?: BlockIDFlag;
1566
- validatorAddress?: Uint8Array;
1567
- timestamp?: Date | undefined;
1568
- signature?: Uint8Array;
1569
- }[] & ({
1570
- blockIdFlag?: BlockIDFlag;
1571
- validatorAddress?: Uint8Array;
1572
- timestamp?: Date | undefined;
1573
- signature?: Uint8Array;
1574
- } & {
1575
- blockIdFlag?: BlockIDFlag;
1576
- validatorAddress?: Uint8Array;
1577
- timestamp?: Date | undefined;
1578
- signature?: Uint8Array;
1579
- } & { [K_23 in Exclude<keyof I_1["signedHeader"]["commit"]["signatures"][number], keyof CommitSig>]: never; })[] & { [K_24 in Exclude<keyof I_1["signedHeader"]["commit"]["signatures"], keyof {
1580
- blockIdFlag?: BlockIDFlag;
1581
- validatorAddress?: Uint8Array;
1582
- timestamp?: Date | undefined;
1583
- signature?: Uint8Array;
1584
- }[]>]: never; };
1585
- } & { [K_25 in Exclude<keyof I_1["signedHeader"]["commit"], keyof Commit>]: never; };
1586
- } & { [K_26 in Exclude<keyof I_1["signedHeader"], keyof SignedHeader>]: never; };
1587
- validatorSet?: {
1588
- validators?: {
1589
- address?: Uint8Array;
1590
- pubKey?: {
1591
- ed25519?: Uint8Array;
1592
- secp256k1?: Uint8Array;
1593
- };
1594
- votingPower?: number;
1595
- proposerPriority?: number;
1596
- }[];
1597
- proposer?: {
1598
- address?: Uint8Array;
1599
- pubKey?: {
1600
- ed25519?: Uint8Array;
1601
- secp256k1?: Uint8Array;
1602
- };
1603
- votingPower?: number;
1604
- proposerPriority?: number;
1605
- };
1606
- totalVotingPower?: number;
1607
- } & {
1608
- validators?: {
1609
- address?: Uint8Array;
1610
- pubKey?: {
1611
- ed25519?: Uint8Array;
1612
- secp256k1?: Uint8Array;
1613
- };
1614
- votingPower?: number;
1615
- proposerPriority?: number;
1616
- }[] & ({
1617
- address?: Uint8Array;
1618
- pubKey?: {
1619
- ed25519?: Uint8Array;
1620
- secp256k1?: Uint8Array;
1621
- };
1622
- votingPower?: number;
1623
- proposerPriority?: number;
1624
- } & {
1625
- address?: Uint8Array;
1626
- pubKey?: {
1627
- ed25519?: Uint8Array;
1628
- secp256k1?: Uint8Array;
1629
- } & {
1630
- ed25519?: Uint8Array;
1631
- secp256k1?: Uint8Array;
1632
- } & { [K_27 in Exclude<keyof I_1["validatorSet"]["validators"][number]["pubKey"], keyof import("../crypto/keys").PublicKey>]: never; };
1633
- votingPower?: number;
1634
- proposerPriority?: number;
1635
- } & { [K_28 in Exclude<keyof I_1["validatorSet"]["validators"][number], keyof import("./validator").Validator>]: never; })[] & { [K_29 in Exclude<keyof I_1["validatorSet"]["validators"], keyof {
1636
- address?: Uint8Array;
1637
- pubKey?: {
1638
- ed25519?: Uint8Array;
1639
- secp256k1?: Uint8Array;
1640
- };
1641
- votingPower?: number;
1642
- proposerPriority?: number;
1643
- }[]>]: never; };
1644
- proposer?: {
1645
- address?: Uint8Array;
1646
- pubKey?: {
1647
- ed25519?: Uint8Array;
1648
- secp256k1?: Uint8Array;
1649
- };
1650
- votingPower?: number;
1651
- proposerPriority?: number;
1652
- } & {
1653
- address?: Uint8Array;
1654
- pubKey?: {
1655
- ed25519?: Uint8Array;
1656
- secp256k1?: Uint8Array;
1657
- } & {
1658
- ed25519?: Uint8Array;
1659
- secp256k1?: Uint8Array;
1660
- } & { [K_30 in Exclude<keyof I_1["validatorSet"]["proposer"]["pubKey"], keyof import("../crypto/keys").PublicKey>]: never; };
1661
- votingPower?: number;
1662
- proposerPriority?: number;
1663
- } & { [K_31 in Exclude<keyof I_1["validatorSet"]["proposer"], keyof import("./validator").Validator>]: never; };
1664
- totalVotingPower?: number;
1665
- } & { [K_32 in Exclude<keyof I_1["validatorSet"], keyof ValidatorSet>]: never; };
1666
- } & { [K_33 in Exclude<keyof I_1, keyof LightBlock>]: never; }>(object: I_1): LightBlock;
223
+ create<I extends Exact<DeepPartial<LightBlock>, I>>(base?: I): LightBlock;
224
+ fromPartial<I extends Exact<DeepPartial<LightBlock>, I>>(object: I): LightBlock;
1667
225
  };
1668
226
  export declare const BlockMeta: {
1669
227
  encode(message: BlockMeta, writer?: _m0.Writer): _m0.Writer;
1670
228
  decode(input: _m0.Reader | Uint8Array, length?: number): BlockMeta;
1671
229
  fromJSON(object: any): BlockMeta;
1672
230
  toJSON(message: BlockMeta): unknown;
1673
- create<I extends {
1674
- blockId?: {
1675
- hash?: Uint8Array;
1676
- partSetHeader?: {
1677
- total?: number;
1678
- hash?: Uint8Array;
1679
- };
1680
- };
1681
- blockSize?: number;
1682
- header?: {
1683
- version?: {
1684
- block?: number;
1685
- app?: number;
1686
- };
1687
- chainId?: string;
1688
- height?: number;
1689
- time?: Date | undefined;
1690
- lastBlockId?: {
1691
- hash?: Uint8Array;
1692
- partSetHeader?: {
1693
- total?: number;
1694
- hash?: Uint8Array;
1695
- };
1696
- };
1697
- lastCommitHash?: Uint8Array;
1698
- dataHash?: Uint8Array;
1699
- validatorsHash?: Uint8Array;
1700
- nextValidatorsHash?: Uint8Array;
1701
- consensusHash?: Uint8Array;
1702
- appHash?: Uint8Array;
1703
- lastResultsHash?: Uint8Array;
1704
- evidenceHash?: Uint8Array;
1705
- proposerAddress?: Uint8Array;
1706
- };
1707
- numTxs?: number;
1708
- } & {
1709
- blockId?: {
1710
- hash?: Uint8Array;
1711
- partSetHeader?: {
1712
- total?: number;
1713
- hash?: Uint8Array;
1714
- };
1715
- } & {
1716
- hash?: Uint8Array;
1717
- partSetHeader?: {
1718
- total?: number;
1719
- hash?: Uint8Array;
1720
- } & {
1721
- total?: number;
1722
- hash?: Uint8Array;
1723
- } & { [K in Exclude<keyof I["blockId"]["partSetHeader"], keyof PartSetHeader>]: never; };
1724
- } & { [K_1 in Exclude<keyof I["blockId"], keyof BlockID>]: never; };
1725
- blockSize?: number;
1726
- header?: {
1727
- version?: {
1728
- block?: number;
1729
- app?: number;
1730
- };
1731
- chainId?: string;
1732
- height?: number;
1733
- time?: Date | undefined;
1734
- lastBlockId?: {
1735
- hash?: Uint8Array;
1736
- partSetHeader?: {
1737
- total?: number;
1738
- hash?: Uint8Array;
1739
- };
1740
- };
1741
- lastCommitHash?: Uint8Array;
1742
- dataHash?: Uint8Array;
1743
- validatorsHash?: Uint8Array;
1744
- nextValidatorsHash?: Uint8Array;
1745
- consensusHash?: Uint8Array;
1746
- appHash?: Uint8Array;
1747
- lastResultsHash?: Uint8Array;
1748
- evidenceHash?: Uint8Array;
1749
- proposerAddress?: Uint8Array;
1750
- } & {
1751
- version?: {
1752
- block?: number;
1753
- app?: number;
1754
- } & {
1755
- block?: number;
1756
- app?: number;
1757
- } & { [K_2 in Exclude<keyof I["header"]["version"], keyof Consensus>]: never; };
1758
- chainId?: string;
1759
- height?: number;
1760
- time?: Date | undefined;
1761
- lastBlockId?: {
1762
- hash?: Uint8Array;
1763
- partSetHeader?: {
1764
- total?: number;
1765
- hash?: Uint8Array;
1766
- };
1767
- } & {
1768
- hash?: Uint8Array;
1769
- partSetHeader?: {
1770
- total?: number;
1771
- hash?: Uint8Array;
1772
- } & {
1773
- total?: number;
1774
- hash?: Uint8Array;
1775
- } & { [K_3 in Exclude<keyof I["header"]["lastBlockId"]["partSetHeader"], keyof PartSetHeader>]: never; };
1776
- } & { [K_4 in Exclude<keyof I["header"]["lastBlockId"], keyof BlockID>]: never; };
1777
- lastCommitHash?: Uint8Array;
1778
- dataHash?: Uint8Array;
1779
- validatorsHash?: Uint8Array;
1780
- nextValidatorsHash?: Uint8Array;
1781
- consensusHash?: Uint8Array;
1782
- appHash?: Uint8Array;
1783
- lastResultsHash?: Uint8Array;
1784
- evidenceHash?: Uint8Array;
1785
- proposerAddress?: Uint8Array;
1786
- } & { [K_5 in Exclude<keyof I["header"], keyof Header>]: never; };
1787
- numTxs?: number;
1788
- } & { [K_6 in Exclude<keyof I, keyof BlockMeta>]: never; }>(base?: I): BlockMeta;
1789
- fromPartial<I_1 extends {
1790
- blockId?: {
1791
- hash?: Uint8Array;
1792
- partSetHeader?: {
1793
- total?: number;
1794
- hash?: Uint8Array;
1795
- };
1796
- };
1797
- blockSize?: number;
1798
- header?: {
1799
- version?: {
1800
- block?: number;
1801
- app?: number;
1802
- };
1803
- chainId?: string;
1804
- height?: number;
1805
- time?: Date | undefined;
1806
- lastBlockId?: {
1807
- hash?: Uint8Array;
1808
- partSetHeader?: {
1809
- total?: number;
1810
- hash?: Uint8Array;
1811
- };
1812
- };
1813
- lastCommitHash?: Uint8Array;
1814
- dataHash?: Uint8Array;
1815
- validatorsHash?: Uint8Array;
1816
- nextValidatorsHash?: Uint8Array;
1817
- consensusHash?: Uint8Array;
1818
- appHash?: Uint8Array;
1819
- lastResultsHash?: Uint8Array;
1820
- evidenceHash?: Uint8Array;
1821
- proposerAddress?: Uint8Array;
1822
- };
1823
- numTxs?: number;
1824
- } & {
1825
- blockId?: {
1826
- hash?: Uint8Array;
1827
- partSetHeader?: {
1828
- total?: number;
1829
- hash?: Uint8Array;
1830
- };
1831
- } & {
1832
- hash?: Uint8Array;
1833
- partSetHeader?: {
1834
- total?: number;
1835
- hash?: Uint8Array;
1836
- } & {
1837
- total?: number;
1838
- hash?: Uint8Array;
1839
- } & { [K_7 in Exclude<keyof I_1["blockId"]["partSetHeader"], keyof PartSetHeader>]: never; };
1840
- } & { [K_8 in Exclude<keyof I_1["blockId"], keyof BlockID>]: never; };
1841
- blockSize?: number;
1842
- header?: {
1843
- version?: {
1844
- block?: number;
1845
- app?: number;
1846
- };
1847
- chainId?: string;
1848
- height?: number;
1849
- time?: Date | undefined;
1850
- lastBlockId?: {
1851
- hash?: Uint8Array;
1852
- partSetHeader?: {
1853
- total?: number;
1854
- hash?: Uint8Array;
1855
- };
1856
- };
1857
- lastCommitHash?: Uint8Array;
1858
- dataHash?: Uint8Array;
1859
- validatorsHash?: Uint8Array;
1860
- nextValidatorsHash?: Uint8Array;
1861
- consensusHash?: Uint8Array;
1862
- appHash?: Uint8Array;
1863
- lastResultsHash?: Uint8Array;
1864
- evidenceHash?: Uint8Array;
1865
- proposerAddress?: Uint8Array;
1866
- } & {
1867
- version?: {
1868
- block?: number;
1869
- app?: number;
1870
- } & {
1871
- block?: number;
1872
- app?: number;
1873
- } & { [K_9 in Exclude<keyof I_1["header"]["version"], keyof Consensus>]: never; };
1874
- chainId?: string;
1875
- height?: number;
1876
- time?: Date | undefined;
1877
- lastBlockId?: {
1878
- hash?: Uint8Array;
1879
- partSetHeader?: {
1880
- total?: number;
1881
- hash?: Uint8Array;
1882
- };
1883
- } & {
1884
- hash?: Uint8Array;
1885
- partSetHeader?: {
1886
- total?: number;
1887
- hash?: Uint8Array;
1888
- } & {
1889
- total?: number;
1890
- hash?: Uint8Array;
1891
- } & { [K_10 in Exclude<keyof I_1["header"]["lastBlockId"]["partSetHeader"], keyof PartSetHeader>]: never; };
1892
- } & { [K_11 in Exclude<keyof I_1["header"]["lastBlockId"], keyof BlockID>]: never; };
1893
- lastCommitHash?: Uint8Array;
1894
- dataHash?: Uint8Array;
1895
- validatorsHash?: Uint8Array;
1896
- nextValidatorsHash?: Uint8Array;
1897
- consensusHash?: Uint8Array;
1898
- appHash?: Uint8Array;
1899
- lastResultsHash?: Uint8Array;
1900
- evidenceHash?: Uint8Array;
1901
- proposerAddress?: Uint8Array;
1902
- } & { [K_12 in Exclude<keyof I_1["header"], keyof Header>]: never; };
1903
- numTxs?: number;
1904
- } & { [K_13 in Exclude<keyof I_1, keyof BlockMeta>]: never; }>(object: I_1): BlockMeta;
231
+ create<I extends Exact<DeepPartial<BlockMeta>, I>>(base?: I): BlockMeta;
232
+ fromPartial<I extends Exact<DeepPartial<BlockMeta>, I>>(object: I): BlockMeta;
1905
233
  };
1906
234
  export declare const TxProof: {
1907
235
  encode(message: TxProof, writer?: _m0.Writer): _m0.Writer;
1908
236
  decode(input: _m0.Reader | Uint8Array, length?: number): TxProof;
1909
237
  fromJSON(object: any): TxProof;
1910
238
  toJSON(message: TxProof): unknown;
1911
- create<I extends {
1912
- rootHash?: Uint8Array;
1913
- data?: Uint8Array;
1914
- proof?: {
1915
- total?: number;
1916
- index?: number;
1917
- leafHash?: Uint8Array;
1918
- aunts?: Uint8Array[];
1919
- };
1920
- } & {
1921
- rootHash?: Uint8Array;
1922
- data?: Uint8Array;
1923
- proof?: {
1924
- total?: number;
1925
- index?: number;
1926
- leafHash?: Uint8Array;
1927
- aunts?: Uint8Array[];
1928
- } & {
1929
- total?: number;
1930
- index?: number;
1931
- leafHash?: Uint8Array;
1932
- aunts?: Uint8Array[] & Uint8Array[] & { [K in Exclude<keyof I["proof"]["aunts"], keyof Uint8Array[]>]: never; };
1933
- } & { [K_1 in Exclude<keyof I["proof"], keyof Proof>]: never; };
1934
- } & { [K_2 in Exclude<keyof I, keyof TxProof>]: never; }>(base?: I): TxProof;
1935
- fromPartial<I_1 extends {
1936
- rootHash?: Uint8Array;
1937
- data?: Uint8Array;
1938
- proof?: {
1939
- total?: number;
1940
- index?: number;
1941
- leafHash?: Uint8Array;
1942
- aunts?: Uint8Array[];
1943
- };
1944
- } & {
1945
- rootHash?: Uint8Array;
1946
- data?: Uint8Array;
1947
- proof?: {
1948
- total?: number;
1949
- index?: number;
1950
- leafHash?: Uint8Array;
1951
- aunts?: Uint8Array[];
1952
- } & {
1953
- total?: number;
1954
- index?: number;
1955
- leafHash?: Uint8Array;
1956
- aunts?: Uint8Array[] & Uint8Array[] & { [K_3 in Exclude<keyof I_1["proof"]["aunts"], keyof Uint8Array[]>]: never; };
1957
- } & { [K_4 in Exclude<keyof I_1["proof"], keyof Proof>]: never; };
1958
- } & { [K_5 in Exclude<keyof I_1, keyof TxProof>]: never; }>(object: I_1): TxProof;
239
+ create<I extends Exact<DeepPartial<TxProof>, I>>(base?: I): TxProof;
240
+ fromPartial<I extends Exact<DeepPartial<TxProof>, I>>(object: I): TxProof;
1959
241
  };
1960
242
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
1961
243
  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 {} ? {