@agoric/cosmic-proto 0.4.1-upgrade-16-dev-0df76a7.0 → 0.4.1-upgrade-17-dev-e67cd91.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. package/README.md +3 -21
  2. package/dist/codegen/agoric/bundle.d.ts +14 -0
  3. package/dist/codegen/agoric/bundle.js +4 -0
  4. package/dist/codegen/agoric/bundle.js.map +1 -1
  5. package/dist/codegen/agoric/swingset/genesis.d.ts +2 -0
  6. package/dist/codegen/agoric/swingset/genesis.js +13 -0
  7. package/dist/codegen/agoric/swingset/genesis.js.map +1 -1
  8. package/dist/codegen/agoric/vbank/vbank.js +1 -2
  9. package/dist/codegen/agoric/vbank/vbank.js.map +1 -1
  10. package/dist/codegen/agoric/vtransfer/genesis.d.ts +26 -0
  11. package/dist/codegen/agoric/vtransfer/genesis.js +69 -0
  12. package/dist/codegen/agoric/vtransfer/genesis.js.map +1 -0
  13. package/dist/codegen/amino/bundle.js +2 -2
  14. package/dist/codegen/binary.js +6 -6
  15. package/dist/codegen/binary.js.map +1 -1
  16. package/dist/codegen/cosmos/authz/v1beta1/authz.d.ts +5 -4
  17. package/dist/codegen/cosmos/authz/v1beta1/authz.js +16 -10
  18. package/dist/codegen/cosmos/authz/v1beta1/authz.js.map +1 -1
  19. package/dist/codegen/cosmos/bundle.d.ts +3990 -3990
  20. package/dist/codegen/cosmos/bundle.js +89 -89
  21. package/dist/codegen/cosmos/distribution/v1beta1/distribution.js +1 -2
  22. package/dist/codegen/cosmos/distribution/v1beta1/distribution.js.map +1 -1
  23. package/dist/codegen/cosmos/feegrant/v1beta1/feegrant.d.ts +5 -4
  24. package/dist/codegen/cosmos/feegrant/v1beta1/feegrant.js +17 -11
  25. package/dist/codegen/cosmos/feegrant/v1beta1/feegrant.js.map +1 -1
  26. package/dist/codegen/cosmos/gov/v1/gov.d.ts +9 -8
  27. package/dist/codegen/cosmos/gov/v1/gov.js +30 -18
  28. package/dist/codegen/cosmos/gov/v1/gov.js.map +1 -1
  29. package/dist/codegen/cosmos/gov/v1beta1/gov.d.ts +9 -8
  30. package/dist/codegen/cosmos/gov/v1beta1/gov.js +34 -23
  31. package/dist/codegen/cosmos/gov/v1beta1/gov.js.map +1 -1
  32. package/dist/codegen/cosmos/group/v1/types.d.ts +13 -12
  33. package/dist/codegen/cosmos/group/v1/types.js +50 -32
  34. package/dist/codegen/cosmos/group/v1/types.js.map +1 -1
  35. package/dist/codegen/cosmos/mint/v1beta1/mint.js +1 -2
  36. package/dist/codegen/cosmos/mint/v1beta1/mint.js.map +1 -1
  37. package/dist/codegen/cosmos/staking/v1beta1/staking.d.ts +9 -8
  38. package/dist/codegen/cosmos/staking/v1beta1/staking.js +34 -23
  39. package/dist/codegen/cosmos/staking/v1beta1/staking.js.map +1 -1
  40. package/dist/codegen/cosmos/staking/v1beta1/tx.d.ts +5 -4
  41. package/dist/codegen/cosmos/staking/v1beta1/tx.js +18 -13
  42. package/dist/codegen/cosmos/staking/v1beta1/tx.js.map +1 -1
  43. package/dist/codegen/cosmos/upgrade/v1beta1/upgrade.d.ts +3 -2
  44. package/dist/codegen/cosmos/upgrade/v1beta1/upgrade.js +11 -7
  45. package/dist/codegen/cosmos/upgrade/v1beta1/upgrade.js.map +1 -1
  46. package/dist/codegen/cosmos_proto/bundle.d.ts +21 -21
  47. package/dist/codegen/cosmos_proto/bundle.js +2 -2
  48. package/dist/codegen/gogoproto/bundle.js +2 -2
  49. package/dist/codegen/google/bundle.d.ts +277 -277
  50. package/dist/codegen/google/bundle.js +6 -6
  51. package/dist/codegen/helpers.d.ts +10 -0
  52. package/dist/codegen/helpers.js +64 -1
  53. package/dist/codegen/helpers.js.map +1 -1
  54. package/dist/codegen/ibc/bundle.d.ts +1554 -1554
  55. package/dist/codegen/ibc/bundle.js +46 -46
  56. package/dist/codegen/ibc/bundle.js.map +1 -1
  57. package/dist/codegen/ibc/lightclients/tendermint/v1/tendermint.d.ts +3 -2
  58. package/dist/codegen/ibc/lightclients/tendermint/v1/tendermint.js +10 -7
  59. package/dist/codegen/ibc/lightclients/tendermint/v1/tendermint.js.map +1 -1
  60. package/dist/codegen/icq/bundle.d.ts +85 -85
  61. package/dist/codegen/icq/bundle.js +6 -6
  62. package/dist/codegen/ics23/bundle.d.ts +113 -113
  63. package/dist/codegen/ics23/bundle.js +2 -2
  64. package/dist/codegen/tendermint/abci/types.d.ts +5 -4
  65. package/dist/codegen/tendermint/abci/types.js +20 -12
  66. package/dist/codegen/tendermint/abci/types.js.map +1 -1
  67. package/dist/codegen/tendermint/bundle.d.ts +716 -716
  68. package/dist/codegen/tendermint/bundle.js +17 -17
  69. package/dist/codegen/tendermint/p2p/types.d.ts +7 -6
  70. package/dist/codegen/tendermint/p2p/types.js +23 -14
  71. package/dist/codegen/tendermint/p2p/types.js.map +1 -1
  72. package/dist/codegen/tendermint/types/evidence.d.ts +5 -4
  73. package/dist/codegen/tendermint/types/evidence.js +18 -12
  74. package/dist/codegen/tendermint/types/evidence.js.map +1 -1
  75. package/dist/codegen/tendermint/types/types.d.ts +9 -8
  76. package/dist/codegen/tendermint/types/types.js +35 -22
  77. package/dist/codegen/tendermint/types/types.js.map +1 -1
  78. package/dist/codegen/varint.js +2 -2
  79. package/dist/codegen/varint.js.map +1 -1
  80. package/dist/helpers.d.ts +6 -4
  81. package/dist/helpers.js +1 -1
  82. package/dist/helpers.js.map +1 -1
  83. package/dist/index.d.ts +1 -1
  84. package/dist/index.js +4 -1
  85. package/dist/index.js.map +1 -1
  86. package/package.json +17 -16
  87. package/dist/vatsafe.d.ts +0 -2
  88. package/dist/vatsafe.js +0 -3
  89. package/dist/vatsafe.js.map +0 -1
@@ -1,17 +1,17 @@
1
1
  //@ts-nocheck
2
- import * as _118 from './v1/genesis.js';
3
- import * as _119 from './v1/icq.js';
4
- import * as _120 from './v1/packet.js';
5
- import * as _121 from './v1/query.js';
6
- import * as _122 from './v1/tx.js';
2
+ import * as _119 from './v1/genesis.js';
3
+ import * as _120 from './v1/icq.js';
4
+ import * as _121 from './v1/packet.js';
5
+ import * as _122 from './v1/query.js';
6
+ import * as _123 from './v1/tx.js';
7
7
  export var icq;
8
8
  (function (icq) {
9
9
  icq.v1 = {
10
- ..._118,
11
10
  ..._119,
12
11
  ..._120,
13
12
  ..._121,
14
13
  ..._122,
14
+ ..._123,
15
15
  };
16
16
  })(icq || (icq = {}));
17
17
  //# sourceMappingURL=bundle.js.map
@@ -1,154 +1,154 @@
1
- import * as _123 from '../proofs.js';
1
+ import * as _124 from '../proofs.js';
2
2
  export declare const ics23: {
3
- hashOpFromJSON(object: any): _123.HashOp;
4
- hashOpToJSON(object: _123.HashOp): string;
5
- lengthOpFromJSON(object: any): _123.LengthOp;
6
- lengthOpToJSON(object: _123.LengthOp): string;
7
- HashOp: typeof _123.HashOp;
8
- HashOpSDKType: typeof _123.HashOp;
9
- LengthOp: typeof _123.LengthOp;
10
- LengthOpSDKType: typeof _123.LengthOp;
3
+ hashOpFromJSON(object: any): _124.HashOp;
4
+ hashOpToJSON(object: _124.HashOp): string;
5
+ lengthOpFromJSON(object: any): _124.LengthOp;
6
+ lengthOpToJSON(object: _124.LengthOp): string;
7
+ HashOp: typeof _124.HashOp;
8
+ HashOpSDKType: typeof _124.HashOp;
9
+ LengthOp: typeof _124.LengthOp;
10
+ LengthOpSDKType: typeof _124.LengthOp;
11
11
  ExistenceProof: {
12
12
  typeUrl: string;
13
- encode(message: _123.ExistenceProof, writer?: import("../binary.js").BinaryWriter): import("../binary.js").BinaryWriter;
14
- decode(input: import("../binary.js").BinaryReader | Uint8Array, length?: number): _123.ExistenceProof;
15
- fromJSON(object: any): _123.ExistenceProof;
16
- toJSON(message: _123.ExistenceProof): import("../json-safe.js").JsonSafe<_123.ExistenceProof>;
17
- fromPartial(object: Partial<_123.ExistenceProof>): _123.ExistenceProof;
18
- fromProtoMsg(message: _123.ExistenceProofProtoMsg): _123.ExistenceProof;
19
- toProto(message: _123.ExistenceProof): Uint8Array;
20
- toProtoMsg(message: _123.ExistenceProof): _123.ExistenceProofProtoMsg;
13
+ encode(message: _124.ExistenceProof, writer?: import("../binary.js").BinaryWriter): import("../binary.js").BinaryWriter;
14
+ decode(input: import("../binary.js").BinaryReader | Uint8Array, length?: number): _124.ExistenceProof;
15
+ fromJSON(object: any): _124.ExistenceProof;
16
+ toJSON(message: _124.ExistenceProof): import("../json-safe.js").JsonSafe<_124.ExistenceProof>;
17
+ fromPartial(object: Partial<_124.ExistenceProof>): _124.ExistenceProof;
18
+ fromProtoMsg(message: _124.ExistenceProofProtoMsg): _124.ExistenceProof;
19
+ toProto(message: _124.ExistenceProof): Uint8Array;
20
+ toProtoMsg(message: _124.ExistenceProof): _124.ExistenceProofProtoMsg;
21
21
  };
22
22
  NonExistenceProof: {
23
23
  typeUrl: string;
24
- encode(message: _123.NonExistenceProof, writer?: import("../binary.js").BinaryWriter): import("../binary.js").BinaryWriter;
25
- decode(input: import("../binary.js").BinaryReader | Uint8Array, length?: number): _123.NonExistenceProof;
26
- fromJSON(object: any): _123.NonExistenceProof;
27
- toJSON(message: _123.NonExistenceProof): import("../json-safe.js").JsonSafe<_123.NonExistenceProof>;
28
- fromPartial(object: Partial<_123.NonExistenceProof>): _123.NonExistenceProof;
29
- fromProtoMsg(message: _123.NonExistenceProofProtoMsg): _123.NonExistenceProof;
30
- toProto(message: _123.NonExistenceProof): Uint8Array;
31
- toProtoMsg(message: _123.NonExistenceProof): _123.NonExistenceProofProtoMsg;
24
+ encode(message: _124.NonExistenceProof, writer?: import("../binary.js").BinaryWriter): import("../binary.js").BinaryWriter;
25
+ decode(input: import("../binary.js").BinaryReader | Uint8Array, length?: number): _124.NonExistenceProof;
26
+ fromJSON(object: any): _124.NonExistenceProof;
27
+ toJSON(message: _124.NonExistenceProof): import("../json-safe.js").JsonSafe<_124.NonExistenceProof>;
28
+ fromPartial(object: Partial<_124.NonExistenceProof>): _124.NonExistenceProof;
29
+ fromProtoMsg(message: _124.NonExistenceProofProtoMsg): _124.NonExistenceProof;
30
+ toProto(message: _124.NonExistenceProof): Uint8Array;
31
+ toProtoMsg(message: _124.NonExistenceProof): _124.NonExistenceProofProtoMsg;
32
32
  };
33
33
  CommitmentProof: {
34
34
  typeUrl: string;
35
- encode(message: _123.CommitmentProof, writer?: import("../binary.js").BinaryWriter): import("../binary.js").BinaryWriter;
36
- decode(input: import("../binary.js").BinaryReader | Uint8Array, length?: number): _123.CommitmentProof;
37
- fromJSON(object: any): _123.CommitmentProof;
38
- toJSON(message: _123.CommitmentProof): import("../json-safe.js").JsonSafe<_123.CommitmentProof>;
39
- fromPartial(object: Partial<_123.CommitmentProof>): _123.CommitmentProof;
40
- fromProtoMsg(message: _123.CommitmentProofProtoMsg): _123.CommitmentProof;
41
- toProto(message: _123.CommitmentProof): Uint8Array;
42
- toProtoMsg(message: _123.CommitmentProof): _123.CommitmentProofProtoMsg;
35
+ encode(message: _124.CommitmentProof, writer?: import("../binary.js").BinaryWriter): import("../binary.js").BinaryWriter;
36
+ decode(input: import("../binary.js").BinaryReader | Uint8Array, length?: number): _124.CommitmentProof;
37
+ fromJSON(object: any): _124.CommitmentProof;
38
+ toJSON(message: _124.CommitmentProof): import("../json-safe.js").JsonSafe<_124.CommitmentProof>;
39
+ fromPartial(object: Partial<_124.CommitmentProof>): _124.CommitmentProof;
40
+ fromProtoMsg(message: _124.CommitmentProofProtoMsg): _124.CommitmentProof;
41
+ toProto(message: _124.CommitmentProof): Uint8Array;
42
+ toProtoMsg(message: _124.CommitmentProof): _124.CommitmentProofProtoMsg;
43
43
  };
44
44
  LeafOp: {
45
45
  typeUrl: string;
46
- encode(message: _123.LeafOp, writer?: import("../binary.js").BinaryWriter): import("../binary.js").BinaryWriter;
47
- decode(input: import("../binary.js").BinaryReader | Uint8Array, length?: number): _123.LeafOp;
48
- fromJSON(object: any): _123.LeafOp;
49
- toJSON(message: _123.LeafOp): import("../json-safe.js").JsonSafe<_123.LeafOp>;
50
- fromPartial(object: Partial<_123.LeafOp>): _123.LeafOp;
51
- fromProtoMsg(message: _123.LeafOpProtoMsg): _123.LeafOp;
52
- toProto(message: _123.LeafOp): Uint8Array;
53
- toProtoMsg(message: _123.LeafOp): _123.LeafOpProtoMsg;
46
+ encode(message: _124.LeafOp, writer?: import("../binary.js").BinaryWriter): import("../binary.js").BinaryWriter;
47
+ decode(input: import("../binary.js").BinaryReader | Uint8Array, length?: number): _124.LeafOp;
48
+ fromJSON(object: any): _124.LeafOp;
49
+ toJSON(message: _124.LeafOp): import("../json-safe.js").JsonSafe<_124.LeafOp>;
50
+ fromPartial(object: Partial<_124.LeafOp>): _124.LeafOp;
51
+ fromProtoMsg(message: _124.LeafOpProtoMsg): _124.LeafOp;
52
+ toProto(message: _124.LeafOp): Uint8Array;
53
+ toProtoMsg(message: _124.LeafOp): _124.LeafOpProtoMsg;
54
54
  };
55
55
  InnerOp: {
56
56
  typeUrl: string;
57
- encode(message: _123.InnerOp, writer?: import("../binary.js").BinaryWriter): import("../binary.js").BinaryWriter;
58
- decode(input: import("../binary.js").BinaryReader | Uint8Array, length?: number): _123.InnerOp;
59
- fromJSON(object: any): _123.InnerOp;
60
- toJSON(message: _123.InnerOp): import("../json-safe.js").JsonSafe<_123.InnerOp>;
61
- fromPartial(object: Partial<_123.InnerOp>): _123.InnerOp;
62
- fromProtoMsg(message: _123.InnerOpProtoMsg): _123.InnerOp;
63
- toProto(message: _123.InnerOp): Uint8Array;
64
- toProtoMsg(message: _123.InnerOp): _123.InnerOpProtoMsg;
57
+ encode(message: _124.InnerOp, writer?: import("../binary.js").BinaryWriter): import("../binary.js").BinaryWriter;
58
+ decode(input: import("../binary.js").BinaryReader | Uint8Array, length?: number): _124.InnerOp;
59
+ fromJSON(object: any): _124.InnerOp;
60
+ toJSON(message: _124.InnerOp): import("../json-safe.js").JsonSafe<_124.InnerOp>;
61
+ fromPartial(object: Partial<_124.InnerOp>): _124.InnerOp;
62
+ fromProtoMsg(message: _124.InnerOpProtoMsg): _124.InnerOp;
63
+ toProto(message: _124.InnerOp): Uint8Array;
64
+ toProtoMsg(message: _124.InnerOp): _124.InnerOpProtoMsg;
65
65
  };
66
66
  ProofSpec: {
67
67
  typeUrl: string;
68
- encode(message: _123.ProofSpec, writer?: import("../binary.js").BinaryWriter): import("../binary.js").BinaryWriter;
69
- decode(input: import("../binary.js").BinaryReader | Uint8Array, length?: number): _123.ProofSpec;
70
- fromJSON(object: any): _123.ProofSpec;
71
- toJSON(message: _123.ProofSpec): import("../json-safe.js").JsonSafe<_123.ProofSpec>;
72
- fromPartial(object: Partial<_123.ProofSpec>): _123.ProofSpec;
73
- fromProtoMsg(message: _123.ProofSpecProtoMsg): _123.ProofSpec;
74
- toProto(message: _123.ProofSpec): Uint8Array;
75
- toProtoMsg(message: _123.ProofSpec): _123.ProofSpecProtoMsg;
68
+ encode(message: _124.ProofSpec, writer?: import("../binary.js").BinaryWriter): import("../binary.js").BinaryWriter;
69
+ decode(input: import("../binary.js").BinaryReader | Uint8Array, length?: number): _124.ProofSpec;
70
+ fromJSON(object: any): _124.ProofSpec;
71
+ toJSON(message: _124.ProofSpec): import("../json-safe.js").JsonSafe<_124.ProofSpec>;
72
+ fromPartial(object: Partial<_124.ProofSpec>): _124.ProofSpec;
73
+ fromProtoMsg(message: _124.ProofSpecProtoMsg): _124.ProofSpec;
74
+ toProto(message: _124.ProofSpec): Uint8Array;
75
+ toProtoMsg(message: _124.ProofSpec): _124.ProofSpecProtoMsg;
76
76
  };
77
77
  InnerSpec: {
78
78
  typeUrl: string;
79
- encode(message: _123.InnerSpec, writer?: import("../binary.js").BinaryWriter): import("../binary.js").BinaryWriter;
80
- decode(input: import("../binary.js").BinaryReader | Uint8Array, length?: number): _123.InnerSpec;
81
- fromJSON(object: any): _123.InnerSpec;
82
- toJSON(message: _123.InnerSpec): import("../json-safe.js").JsonSafe<_123.InnerSpec>;
83
- fromPartial(object: Partial<_123.InnerSpec>): _123.InnerSpec;
84
- fromProtoMsg(message: _123.InnerSpecProtoMsg): _123.InnerSpec;
85
- toProto(message: _123.InnerSpec): Uint8Array;
86
- toProtoMsg(message: _123.InnerSpec): _123.InnerSpecProtoMsg;
79
+ encode(message: _124.InnerSpec, writer?: import("../binary.js").BinaryWriter): import("../binary.js").BinaryWriter;
80
+ decode(input: import("../binary.js").BinaryReader | Uint8Array, length?: number): _124.InnerSpec;
81
+ fromJSON(object: any): _124.InnerSpec;
82
+ toJSON(message: _124.InnerSpec): import("../json-safe.js").JsonSafe<_124.InnerSpec>;
83
+ fromPartial(object: Partial<_124.InnerSpec>): _124.InnerSpec;
84
+ fromProtoMsg(message: _124.InnerSpecProtoMsg): _124.InnerSpec;
85
+ toProto(message: _124.InnerSpec): Uint8Array;
86
+ toProtoMsg(message: _124.InnerSpec): _124.InnerSpecProtoMsg;
87
87
  };
88
88
  BatchProof: {
89
89
  typeUrl: string;
90
- encode(message: _123.BatchProof, writer?: import("../binary.js").BinaryWriter): import("../binary.js").BinaryWriter;
91
- decode(input: import("../binary.js").BinaryReader | Uint8Array, length?: number): _123.BatchProof;
92
- fromJSON(object: any): _123.BatchProof;
93
- toJSON(message: _123.BatchProof): import("../json-safe.js").JsonSafe<_123.BatchProof>;
94
- fromPartial(object: Partial<_123.BatchProof>): _123.BatchProof;
95
- fromProtoMsg(message: _123.BatchProofProtoMsg): _123.BatchProof;
96
- toProto(message: _123.BatchProof): Uint8Array;
97
- toProtoMsg(message: _123.BatchProof): _123.BatchProofProtoMsg;
90
+ encode(message: _124.BatchProof, writer?: import("../binary.js").BinaryWriter): import("../binary.js").BinaryWriter;
91
+ decode(input: import("../binary.js").BinaryReader | Uint8Array, length?: number): _124.BatchProof;
92
+ fromJSON(object: any): _124.BatchProof;
93
+ toJSON(message: _124.BatchProof): import("../json-safe.js").JsonSafe<_124.BatchProof>;
94
+ fromPartial(object: Partial<_124.BatchProof>): _124.BatchProof;
95
+ fromProtoMsg(message: _124.BatchProofProtoMsg): _124.BatchProof;
96
+ toProto(message: _124.BatchProof): Uint8Array;
97
+ toProtoMsg(message: _124.BatchProof): _124.BatchProofProtoMsg;
98
98
  };
99
99
  BatchEntry: {
100
100
  typeUrl: string;
101
- encode(message: _123.BatchEntry, writer?: import("../binary.js").BinaryWriter): import("../binary.js").BinaryWriter;
102
- decode(input: import("../binary.js").BinaryReader | Uint8Array, length?: number): _123.BatchEntry;
103
- fromJSON(object: any): _123.BatchEntry;
104
- toJSON(message: _123.BatchEntry): import("../json-safe.js").JsonSafe<_123.BatchEntry>;
105
- fromPartial(object: Partial<_123.BatchEntry>): _123.BatchEntry;
106
- fromProtoMsg(message: _123.BatchEntryProtoMsg): _123.BatchEntry;
107
- toProto(message: _123.BatchEntry): Uint8Array;
108
- toProtoMsg(message: _123.BatchEntry): _123.BatchEntryProtoMsg;
101
+ encode(message: _124.BatchEntry, writer?: import("../binary.js").BinaryWriter): import("../binary.js").BinaryWriter;
102
+ decode(input: import("../binary.js").BinaryReader | Uint8Array, length?: number): _124.BatchEntry;
103
+ fromJSON(object: any): _124.BatchEntry;
104
+ toJSON(message: _124.BatchEntry): import("../json-safe.js").JsonSafe<_124.BatchEntry>;
105
+ fromPartial(object: Partial<_124.BatchEntry>): _124.BatchEntry;
106
+ fromProtoMsg(message: _124.BatchEntryProtoMsg): _124.BatchEntry;
107
+ toProto(message: _124.BatchEntry): Uint8Array;
108
+ toProtoMsg(message: _124.BatchEntry): _124.BatchEntryProtoMsg;
109
109
  };
110
110
  CompressedBatchProof: {
111
111
  typeUrl: string;
112
- encode(message: _123.CompressedBatchProof, writer?: import("../binary.js").BinaryWriter): import("../binary.js").BinaryWriter;
113
- decode(input: import("../binary.js").BinaryReader | Uint8Array, length?: number): _123.CompressedBatchProof;
114
- fromJSON(object: any): _123.CompressedBatchProof;
115
- toJSON(message: _123.CompressedBatchProof): import("../json-safe.js").JsonSafe<_123.CompressedBatchProof>;
116
- fromPartial(object: Partial<_123.CompressedBatchProof>): _123.CompressedBatchProof;
117
- fromProtoMsg(message: _123.CompressedBatchProofProtoMsg): _123.CompressedBatchProof;
118
- toProto(message: _123.CompressedBatchProof): Uint8Array;
119
- toProtoMsg(message: _123.CompressedBatchProof): _123.CompressedBatchProofProtoMsg;
112
+ encode(message: _124.CompressedBatchProof, writer?: import("../binary.js").BinaryWriter): import("../binary.js").BinaryWriter;
113
+ decode(input: import("../binary.js").BinaryReader | Uint8Array, length?: number): _124.CompressedBatchProof;
114
+ fromJSON(object: any): _124.CompressedBatchProof;
115
+ toJSON(message: _124.CompressedBatchProof): import("../json-safe.js").JsonSafe<_124.CompressedBatchProof>;
116
+ fromPartial(object: Partial<_124.CompressedBatchProof>): _124.CompressedBatchProof;
117
+ fromProtoMsg(message: _124.CompressedBatchProofProtoMsg): _124.CompressedBatchProof;
118
+ toProto(message: _124.CompressedBatchProof): Uint8Array;
119
+ toProtoMsg(message: _124.CompressedBatchProof): _124.CompressedBatchProofProtoMsg;
120
120
  };
121
121
  CompressedBatchEntry: {
122
122
  typeUrl: string;
123
- encode(message: _123.CompressedBatchEntry, writer?: import("../binary.js").BinaryWriter): import("../binary.js").BinaryWriter;
124
- decode(input: import("../binary.js").BinaryReader | Uint8Array, length?: number): _123.CompressedBatchEntry;
125
- fromJSON(object: any): _123.CompressedBatchEntry;
126
- toJSON(message: _123.CompressedBatchEntry): import("../json-safe.js").JsonSafe<_123.CompressedBatchEntry>;
127
- fromPartial(object: Partial<_123.CompressedBatchEntry>): _123.CompressedBatchEntry;
128
- fromProtoMsg(message: _123.CompressedBatchEntryProtoMsg): _123.CompressedBatchEntry;
129
- toProto(message: _123.CompressedBatchEntry): Uint8Array;
130
- toProtoMsg(message: _123.CompressedBatchEntry): _123.CompressedBatchEntryProtoMsg;
123
+ encode(message: _124.CompressedBatchEntry, writer?: import("../binary.js").BinaryWriter): import("../binary.js").BinaryWriter;
124
+ decode(input: import("../binary.js").BinaryReader | Uint8Array, length?: number): _124.CompressedBatchEntry;
125
+ fromJSON(object: any): _124.CompressedBatchEntry;
126
+ toJSON(message: _124.CompressedBatchEntry): import("../json-safe.js").JsonSafe<_124.CompressedBatchEntry>;
127
+ fromPartial(object: Partial<_124.CompressedBatchEntry>): _124.CompressedBatchEntry;
128
+ fromProtoMsg(message: _124.CompressedBatchEntryProtoMsg): _124.CompressedBatchEntry;
129
+ toProto(message: _124.CompressedBatchEntry): Uint8Array;
130
+ toProtoMsg(message: _124.CompressedBatchEntry): _124.CompressedBatchEntryProtoMsg;
131
131
  };
132
132
  CompressedExistenceProof: {
133
133
  typeUrl: string;
134
- encode(message: _123.CompressedExistenceProof, writer?: import("../binary.js").BinaryWriter): import("../binary.js").BinaryWriter;
135
- decode(input: import("../binary.js").BinaryReader | Uint8Array, length?: number): _123.CompressedExistenceProof;
136
- fromJSON(object: any): _123.CompressedExistenceProof;
137
- toJSON(message: _123.CompressedExistenceProof): import("../json-safe.js").JsonSafe<_123.CompressedExistenceProof>;
138
- fromPartial(object: Partial<_123.CompressedExistenceProof>): _123.CompressedExistenceProof;
139
- fromProtoMsg(message: _123.CompressedExistenceProofProtoMsg): _123.CompressedExistenceProof;
140
- toProto(message: _123.CompressedExistenceProof): Uint8Array;
141
- toProtoMsg(message: _123.CompressedExistenceProof): _123.CompressedExistenceProofProtoMsg;
134
+ encode(message: _124.CompressedExistenceProof, writer?: import("../binary.js").BinaryWriter): import("../binary.js").BinaryWriter;
135
+ decode(input: import("../binary.js").BinaryReader | Uint8Array, length?: number): _124.CompressedExistenceProof;
136
+ fromJSON(object: any): _124.CompressedExistenceProof;
137
+ toJSON(message: _124.CompressedExistenceProof): import("../json-safe.js").JsonSafe<_124.CompressedExistenceProof>;
138
+ fromPartial(object: Partial<_124.CompressedExistenceProof>): _124.CompressedExistenceProof;
139
+ fromProtoMsg(message: _124.CompressedExistenceProofProtoMsg): _124.CompressedExistenceProof;
140
+ toProto(message: _124.CompressedExistenceProof): Uint8Array;
141
+ toProtoMsg(message: _124.CompressedExistenceProof): _124.CompressedExistenceProofProtoMsg;
142
142
  };
143
143
  CompressedNonExistenceProof: {
144
144
  typeUrl: string;
145
- encode(message: _123.CompressedNonExistenceProof, writer?: import("../binary.js").BinaryWriter): import("../binary.js").BinaryWriter;
146
- decode(input: import("../binary.js").BinaryReader | Uint8Array, length?: number): _123.CompressedNonExistenceProof;
147
- fromJSON(object: any): _123.CompressedNonExistenceProof;
148
- toJSON(message: _123.CompressedNonExistenceProof): import("../json-safe.js").JsonSafe<_123.CompressedNonExistenceProof>;
149
- fromPartial(object: Partial<_123.CompressedNonExistenceProof>): _123.CompressedNonExistenceProof;
150
- fromProtoMsg(message: _123.CompressedNonExistenceProofProtoMsg): _123.CompressedNonExistenceProof;
151
- toProto(message: _123.CompressedNonExistenceProof): Uint8Array;
152
- toProtoMsg(message: _123.CompressedNonExistenceProof): _123.CompressedNonExistenceProofProtoMsg;
145
+ encode(message: _124.CompressedNonExistenceProof, writer?: import("../binary.js").BinaryWriter): import("../binary.js").BinaryWriter;
146
+ decode(input: import("../binary.js").BinaryReader | Uint8Array, length?: number): _124.CompressedNonExistenceProof;
147
+ fromJSON(object: any): _124.CompressedNonExistenceProof;
148
+ toJSON(message: _124.CompressedNonExistenceProof): import("../json-safe.js").JsonSafe<_124.CompressedNonExistenceProof>;
149
+ fromPartial(object: Partial<_124.CompressedNonExistenceProof>): _124.CompressedNonExistenceProof;
150
+ fromProtoMsg(message: _124.CompressedNonExistenceProofProtoMsg): _124.CompressedNonExistenceProof;
151
+ toProto(message: _124.CompressedNonExistenceProof): Uint8Array;
152
+ toProtoMsg(message: _124.CompressedNonExistenceProof): _124.CompressedNonExistenceProofProtoMsg;
153
153
  };
154
154
  };
@@ -1,6 +1,6 @@
1
1
  //@ts-nocheck
2
- import * as _123 from '../proofs.js';
2
+ import * as _124 from '../proofs.js';
3
3
  export const ics23 = {
4
- ..._123,
4
+ ..._124,
5
5
  };
6
6
  //# sourceMappingURL=bundle.js.map
@@ -1,3 +1,4 @@
1
+ import { Timestamp, TimestampSDKType } from '../../google/protobuf/timestamp.js';
1
2
  import { Header, HeaderSDKType } from '../types/types.js';
2
3
  import { ProofOps, ProofOpsSDKType } from '../crypto/proof.js';
3
4
  import { EvidenceParams, EvidenceParamsSDKType, ValidatorParams, ValidatorParamsSDKType, VersionParams, VersionParamsSDKType } from '../types/params.js';
@@ -142,7 +143,7 @@ export interface RequestSetOptionSDKType {
142
143
  value: string;
143
144
  }
144
145
  export interface RequestInitChain {
145
- time: Date;
146
+ time: Timestamp;
146
147
  chainId: string;
147
148
  consensusParams?: ConsensusParams;
148
149
  validators: ValidatorUpdate[];
@@ -154,7 +155,7 @@ export interface RequestInitChainProtoMsg {
154
155
  value: Uint8Array;
155
156
  }
156
157
  export interface RequestInitChainSDKType {
157
- time: Date;
158
+ time: TimestampSDKType;
158
159
  chain_id: string;
159
160
  consensus_params?: ConsensusParamsSDKType;
160
161
  validators: ValidatorUpdateSDKType[];
@@ -744,7 +745,7 @@ export interface Evidence {
744
745
  /** The height when the offense occurred */
745
746
  height: bigint;
746
747
  /** The corresponding time where the offense occurred */
747
- time: Date;
748
+ time: Timestamp;
748
749
  /**
749
750
  * Total voting power of the validator set in case the ABCI application does
750
751
  * not store historical validators.
@@ -760,7 +761,7 @@ export interface EvidenceSDKType {
760
761
  type: EvidenceType;
761
762
  validator: ValidatorSDKType;
762
763
  height: bigint;
763
- time: Date;
764
+ time: TimestampSDKType;
764
765
  total_voting_power: bigint;
765
766
  }
766
767
  export interface Snapshot {
@@ -1,11 +1,11 @@
1
1
  //@ts-nocheck
2
- import { Timestamp } from '../../google/protobuf/timestamp.js';
2
+ import { Timestamp, } from '../../google/protobuf/timestamp.js';
3
3
  import { Header } from '../types/types.js';
4
4
  import { ProofOps } from '../crypto/proof.js';
5
5
  import { EvidenceParams, ValidatorParams, VersionParams, } from '../types/params.js';
6
6
  import { PublicKey } from '../crypto/keys.js';
7
7
  import { BinaryReader, BinaryWriter } from '../../binary.js';
8
- import { isSet, toTimestamp, fromTimestamp, fromJsonTimestamp, bytesFromBase64, base64FromBytes, } from '../../helpers.js';
8
+ import { isSet, fromJsonTimestamp, bytesFromBase64, fromTimestamp, base64FromBytes, } from '../../helpers.js';
9
9
  export var CheckTxType;
10
10
  (function (CheckTxType) {
11
11
  CheckTxType[CheckTxType["NEW"] = 0] = "NEW";
@@ -776,7 +776,7 @@ export const RequestSetOption = {
776
776
  };
777
777
  function createBaseRequestInitChain() {
778
778
  return {
779
- time: new Date(),
779
+ time: Timestamp.fromPartial({}),
780
780
  chainId: '',
781
781
  consensusParams: undefined,
782
782
  validators: [],
@@ -788,7 +788,7 @@ export const RequestInitChain = {
788
788
  typeUrl: '/tendermint.abci.RequestInitChain',
789
789
  encode(message, writer = BinaryWriter.create()) {
790
790
  if (message.time !== undefined) {
791
- Timestamp.encode(toTimestamp(message.time), writer.uint32(10).fork()).ldelim();
791
+ Timestamp.encode(message.time, writer.uint32(10).fork()).ldelim();
792
792
  }
793
793
  if (message.chainId !== '') {
794
794
  writer.uint32(18).string(message.chainId);
@@ -815,7 +815,7 @@ export const RequestInitChain = {
815
815
  const tag = reader.uint32();
816
816
  switch (tag >>> 3) {
817
817
  case 1:
818
- message.time = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
818
+ message.time = Timestamp.decode(reader, reader.uint32());
819
819
  break;
820
820
  case 2:
821
821
  message.chainId = reader.string();
@@ -859,7 +859,8 @@ export const RequestInitChain = {
859
859
  },
860
860
  toJSON(message) {
861
861
  const obj = {};
862
- message.time !== undefined && (obj.time = message.time.toISOString());
862
+ message.time !== undefined &&
863
+ (obj.time = fromTimestamp(message.time).toISOString());
863
864
  message.chainId !== undefined && (obj.chainId = message.chainId);
864
865
  message.consensusParams !== undefined &&
865
866
  (obj.consensusParams = message.consensusParams
@@ -881,7 +882,10 @@ export const RequestInitChain = {
881
882
  },
882
883
  fromPartial(object) {
883
884
  const message = createBaseRequestInitChain();
884
- message.time = object.time ?? undefined;
885
+ message.time =
886
+ object.time !== undefined && object.time !== null
887
+ ? Timestamp.fromPartial(object.time)
888
+ : undefined;
885
889
  message.chainId = object.chainId ?? '';
886
890
  message.consensusParams =
887
891
  object.consensusParams !== undefined && object.consensusParams !== null
@@ -4199,7 +4203,7 @@ function createBaseEvidence() {
4199
4203
  type: 0,
4200
4204
  validator: Validator.fromPartial({}),
4201
4205
  height: BigInt(0),
4202
- time: new Date(),
4206
+ time: Timestamp.fromPartial({}),
4203
4207
  totalVotingPower: BigInt(0),
4204
4208
  };
4205
4209
  }
@@ -4216,7 +4220,7 @@ export const Evidence = {
4216
4220
  writer.uint32(24).int64(message.height);
4217
4221
  }
4218
4222
  if (message.time !== undefined) {
4219
- Timestamp.encode(toTimestamp(message.time), writer.uint32(34).fork()).ldelim();
4223
+ Timestamp.encode(message.time, writer.uint32(34).fork()).ldelim();
4220
4224
  }
4221
4225
  if (message.totalVotingPower !== BigInt(0)) {
4222
4226
  writer.uint32(40).int64(message.totalVotingPower);
@@ -4240,7 +4244,7 @@ export const Evidence = {
4240
4244
  message.height = reader.int64();
4241
4245
  break;
4242
4246
  case 4:
4243
- message.time = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
4247
+ message.time = Timestamp.decode(reader, reader.uint32());
4244
4248
  break;
4245
4249
  case 5:
4246
4250
  message.totalVotingPower = reader.int64();
@@ -4276,7 +4280,8 @@ export const Evidence = {
4276
4280
  : undefined);
4277
4281
  message.height !== undefined &&
4278
4282
  (obj.height = (message.height || BigInt(0)).toString());
4279
- message.time !== undefined && (obj.time = message.time.toISOString());
4283
+ message.time !== undefined &&
4284
+ (obj.time = fromTimestamp(message.time).toISOString());
4280
4285
  message.totalVotingPower !== undefined &&
4281
4286
  (obj.totalVotingPower = (message.totalVotingPower || BigInt(0)).toString());
4282
4287
  return obj;
@@ -4292,7 +4297,10 @@ export const Evidence = {
4292
4297
  object.height !== undefined && object.height !== null
4293
4298
  ? BigInt(object.height.toString())
4294
4299
  : BigInt(0);
4295
- message.time = object.time ?? undefined;
4300
+ message.time =
4301
+ object.time !== undefined && object.time !== null
4302
+ ? Timestamp.fromPartial(object.time)
4303
+ : undefined;
4296
4304
  message.totalVotingPower =
4297
4305
  object.totalVotingPower !== undefined && object.totalVotingPower !== null
4298
4306
  ? BigInt(object.totalVotingPower.toString())