coreum-js 2.16.1 → 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 (108) 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/types/coreum.js +3 -3
  50. package/dist/main/utils/convertStringToAny.d.ts +1 -0
  51. package/dist/main/utils/nft.js +1 -2
  52. package/dist/main/wasm/v1/authz.d.ts +18 -414
  53. package/dist/main/wasm/v1/extensions/wasm.js +1 -2
  54. package/dist/main/wasm/v1/genesis.d.ts +8 -994
  55. package/dist/main/wasm/v1/ibc.d.ts +6 -42
  56. package/dist/main/wasm/v1/pagination.d.ts +4 -40
  57. package/dist/main/wasm/v1/proposal.d.ts +26 -640
  58. package/dist/main/wasm/v1/query.d.ts +46 -1060
  59. package/dist/main/wasm/v1/tx.d.ts +52 -630
  60. package/dist/main/wasm/v1/types.d.ts +16 -246
  61. package/dist/main/wasm/v1/types.js +5 -5
  62. package/dist/module/client/index.js +2 -2
  63. package/dist/module/coreum/asset/ft/v1/event.d.ts +6 -98
  64. package/dist/module/coreum/asset/ft/v1/genesis.d.ts +4 -500
  65. package/dist/module/coreum/asset/ft/v1/params.d.ts +2 -54
  66. package/dist/module/coreum/asset/ft/v1/query.d.ts +28 -1852
  67. package/dist/module/coreum/asset/ft/v1/token.d.ts +12 -210
  68. package/dist/module/coreum/asset/ft/v1/tx.d.ts +36 -644
  69. package/dist/module/coreum/asset/nft/v1/event.d.ts +10 -114
  70. package/dist/module/coreum/asset/nft/v1/genesis.d.ts +8 -258
  71. package/dist/module/coreum/asset/nft/v1/nft.d.ts +4 -86
  72. package/dist/module/coreum/asset/nft/v1/params.d.ts +2 -28
  73. package/dist/module/coreum/asset/nft/v1/query.d.ts +20 -638
  74. package/dist/module/coreum/asset/nft/v1/tx.d.ts +16 -212
  75. package/dist/module/coreum/asset/nft/v1/types.d.ts +2 -10
  76. package/dist/module/coreum/customparams/v1/genesis.d.ts +2 -22
  77. package/dist/module/coreum/customparams/v1/params.d.ts +2 -10
  78. package/dist/module/coreum/customparams/v1/query.d.ts +4 -24
  79. package/dist/module/coreum/feemodel/v1/genesis.d.ts +2 -222
  80. package/dist/module/coreum/feemodel/v1/params.d.ts +4 -320
  81. package/dist/module/coreum/feemodel/v1/query.d.ts +8 -232
  82. package/dist/module/coreum/nft/v1beta1/event.d.ts +6 -58
  83. package/dist/module/coreum/nft/v1beta1/genesis.d.ts +4 -420
  84. package/dist/module/coreum/nft/v1beta1/nft.d.ts +4 -96
  85. package/dist/module/coreum/nft/v1beta1/query.d.ts +28 -1532
  86. package/dist/module/coreum/nft/v1beta1/tx.d.ts +4 -24
  87. package/dist/module/google/api/http.d.ts +6 -2636
  88. package/dist/module/google/protobuf/any.d.ts +2 -14
  89. package/dist/module/google/protobuf/duration.d.ts +2 -14
  90. package/dist/module/google/protobuf/timestamp.d.ts +2 -14
  91. package/dist/module/tendermint/abci/types.d.ts +92 -6360
  92. package/dist/module/tendermint/crypto/keys.d.ts +2 -14
  93. package/dist/module/tendermint/crypto/proof.d.ts +10 -152
  94. package/dist/module/tendermint/types/params.d.ts +12 -196
  95. package/dist/module/tendermint/types/types.d.ts +26 -1744
  96. package/dist/module/tendermint/types/validator.d.ts +6 -230
  97. package/dist/module/tendermint/version/types.d.ts +4 -28
  98. package/dist/module/types/coreum.js +3 -3
  99. package/dist/module/utils/convertStringToAny.d.ts +1 -0
  100. package/dist/module/wasm/v1/authz.d.ts +18 -414
  101. package/dist/module/wasm/v1/genesis.d.ts +8 -994
  102. package/dist/module/wasm/v1/ibc.d.ts +6 -42
  103. package/dist/module/wasm/v1/pagination.d.ts +4 -40
  104. package/dist/module/wasm/v1/proposal.d.ts +26 -640
  105. package/dist/module/wasm/v1/query.d.ts +46 -1060
  106. package/dist/module/wasm/v1/tx.d.ts +52 -630
  107. package/dist/module/wasm/v1/types.d.ts +16 -246
  108. package/package.json +2 -2
@@ -10,20 +10,8 @@ export declare const PublicKey: {
10
10
  decode(input: _m0.Reader | Uint8Array, length?: number): PublicKey;
11
11
  fromJSON(object: any): PublicKey;
12
12
  toJSON(message: PublicKey): unknown;
13
- create<I extends {
14
- ed25519?: Uint8Array | undefined;
15
- secp256k1?: Uint8Array | undefined;
16
- } & {
17
- ed25519?: Uint8Array | undefined;
18
- secp256k1?: Uint8Array | undefined;
19
- } & { [K in Exclude<keyof I, keyof PublicKey>]: never; }>(base?: I): PublicKey;
20
- fromPartial<I_1 extends {
21
- ed25519?: Uint8Array | undefined;
22
- secp256k1?: Uint8Array | undefined;
23
- } & {
24
- ed25519?: Uint8Array | undefined;
25
- secp256k1?: Uint8Array | undefined;
26
- } & { [K_1 in Exclude<keyof I_1, keyof PublicKey>]: never; }>(object: I_1): PublicKey;
13
+ create<I extends Exact<DeepPartial<PublicKey>, I>>(base?: I): PublicKey;
14
+ fromPartial<I extends Exact<DeepPartial<PublicKey>, I>>(object: I): PublicKey;
27
15
  };
28
16
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
29
17
  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 {} ? {
@@ -36,182 +36,40 @@ export declare const Proof: {
36
36
  decode(input: _m0.Reader | Uint8Array, length?: number): Proof;
37
37
  fromJSON(object: any): Proof;
38
38
  toJSON(message: Proof): unknown;
39
- create<I extends {
40
- total?: number;
41
- index?: number;
42
- leafHash?: Uint8Array;
43
- aunts?: Uint8Array[];
44
- } & {
45
- total?: number;
46
- index?: number;
47
- leafHash?: Uint8Array;
48
- aunts?: Uint8Array[] & Uint8Array[] & { [K in Exclude<keyof I["aunts"], keyof Uint8Array[]>]: never; };
49
- } & { [K_1 in Exclude<keyof I, keyof Proof>]: never; }>(base?: I): Proof;
50
- fromPartial<I_1 extends {
51
- total?: number;
52
- index?: number;
53
- leafHash?: Uint8Array;
54
- aunts?: Uint8Array[];
55
- } & {
56
- total?: number;
57
- index?: number;
58
- leafHash?: Uint8Array;
59
- aunts?: Uint8Array[] & Uint8Array[] & { [K_2 in Exclude<keyof I_1["aunts"], keyof Uint8Array[]>]: never; };
60
- } & { [K_3 in Exclude<keyof I_1, keyof Proof>]: never; }>(object: I_1): Proof;
39
+ create<I extends Exact<DeepPartial<Proof>, I>>(base?: I): Proof;
40
+ fromPartial<I extends Exact<DeepPartial<Proof>, I>>(object: I): Proof;
61
41
  };
62
42
  export declare const ValueOp: {
63
43
  encode(message: ValueOp, writer?: _m0.Writer): _m0.Writer;
64
44
  decode(input: _m0.Reader | Uint8Array, length?: number): ValueOp;
65
45
  fromJSON(object: any): ValueOp;
66
46
  toJSON(message: ValueOp): unknown;
67
- create<I extends {
68
- key?: Uint8Array;
69
- proof?: {
70
- total?: number;
71
- index?: number;
72
- leafHash?: Uint8Array;
73
- aunts?: Uint8Array[];
74
- };
75
- } & {
76
- key?: Uint8Array;
77
- proof?: {
78
- total?: number;
79
- index?: number;
80
- leafHash?: Uint8Array;
81
- aunts?: Uint8Array[];
82
- } & {
83
- total?: number;
84
- index?: number;
85
- leafHash?: Uint8Array;
86
- aunts?: Uint8Array[] & Uint8Array[] & { [K in Exclude<keyof I["proof"]["aunts"], keyof Uint8Array[]>]: never; };
87
- } & { [K_1 in Exclude<keyof I["proof"], keyof Proof>]: never; };
88
- } & { [K_2 in Exclude<keyof I, keyof ValueOp>]: never; }>(base?: I): ValueOp;
89
- fromPartial<I_1 extends {
90
- key?: Uint8Array;
91
- proof?: {
92
- total?: number;
93
- index?: number;
94
- leafHash?: Uint8Array;
95
- aunts?: Uint8Array[];
96
- };
97
- } & {
98
- key?: Uint8Array;
99
- proof?: {
100
- total?: number;
101
- index?: number;
102
- leafHash?: Uint8Array;
103
- aunts?: Uint8Array[];
104
- } & {
105
- total?: number;
106
- index?: number;
107
- leafHash?: Uint8Array;
108
- aunts?: Uint8Array[] & Uint8Array[] & { [K_3 in Exclude<keyof I_1["proof"]["aunts"], keyof Uint8Array[]>]: never; };
109
- } & { [K_4 in Exclude<keyof I_1["proof"], keyof Proof>]: never; };
110
- } & { [K_5 in Exclude<keyof I_1, keyof ValueOp>]: never; }>(object: I_1): ValueOp;
47
+ create<I extends Exact<DeepPartial<ValueOp>, I>>(base?: I): ValueOp;
48
+ fromPartial<I extends Exact<DeepPartial<ValueOp>, I>>(object: I): ValueOp;
111
49
  };
112
50
  export declare const DominoOp: {
113
51
  encode(message: DominoOp, writer?: _m0.Writer): _m0.Writer;
114
52
  decode(input: _m0.Reader | Uint8Array, length?: number): DominoOp;
115
53
  fromJSON(object: any): DominoOp;
116
54
  toJSON(message: DominoOp): unknown;
117
- create<I extends {
118
- key?: string;
119
- input?: string;
120
- output?: string;
121
- } & {
122
- key?: string;
123
- input?: string;
124
- output?: string;
125
- } & { [K in Exclude<keyof I, keyof DominoOp>]: never; }>(base?: I): DominoOp;
126
- fromPartial<I_1 extends {
127
- key?: string;
128
- input?: string;
129
- output?: string;
130
- } & {
131
- key?: string;
132
- input?: string;
133
- output?: string;
134
- } & { [K_1 in Exclude<keyof I_1, keyof DominoOp>]: never; }>(object: I_1): DominoOp;
55
+ create<I extends Exact<DeepPartial<DominoOp>, I>>(base?: I): DominoOp;
56
+ fromPartial<I extends Exact<DeepPartial<DominoOp>, I>>(object: I): DominoOp;
135
57
  };
136
58
  export declare const ProofOp: {
137
59
  encode(message: ProofOp, writer?: _m0.Writer): _m0.Writer;
138
60
  decode(input: _m0.Reader | Uint8Array, length?: number): ProofOp;
139
61
  fromJSON(object: any): ProofOp;
140
62
  toJSON(message: ProofOp): unknown;
141
- create<I extends {
142
- type?: string;
143
- key?: Uint8Array;
144
- data?: Uint8Array;
145
- } & {
146
- type?: string;
147
- key?: Uint8Array;
148
- data?: Uint8Array;
149
- } & { [K in Exclude<keyof I, keyof ProofOp>]: never; }>(base?: I): ProofOp;
150
- fromPartial<I_1 extends {
151
- type?: string;
152
- key?: Uint8Array;
153
- data?: Uint8Array;
154
- } & {
155
- type?: string;
156
- key?: Uint8Array;
157
- data?: Uint8Array;
158
- } & { [K_1 in Exclude<keyof I_1, keyof ProofOp>]: never; }>(object: I_1): ProofOp;
63
+ create<I extends Exact<DeepPartial<ProofOp>, I>>(base?: I): ProofOp;
64
+ fromPartial<I extends Exact<DeepPartial<ProofOp>, I>>(object: I): ProofOp;
159
65
  };
160
66
  export declare const ProofOps: {
161
67
  encode(message: ProofOps, writer?: _m0.Writer): _m0.Writer;
162
68
  decode(input: _m0.Reader | Uint8Array, length?: number): ProofOps;
163
69
  fromJSON(object: any): ProofOps;
164
70
  toJSON(message: ProofOps): unknown;
165
- create<I extends {
166
- ops?: {
167
- type?: string;
168
- key?: Uint8Array;
169
- data?: Uint8Array;
170
- }[];
171
- } & {
172
- ops?: {
173
- type?: string;
174
- key?: Uint8Array;
175
- data?: Uint8Array;
176
- }[] & ({
177
- type?: string;
178
- key?: Uint8Array;
179
- data?: Uint8Array;
180
- } & {
181
- type?: string;
182
- key?: Uint8Array;
183
- data?: Uint8Array;
184
- } & { [K in Exclude<keyof I["ops"][number], keyof ProofOp>]: never; })[] & { [K_1 in Exclude<keyof I["ops"], keyof {
185
- type?: string;
186
- key?: Uint8Array;
187
- data?: Uint8Array;
188
- }[]>]: never; };
189
- } & { [K_2 in Exclude<keyof I, "ops">]: never; }>(base?: I): ProofOps;
190
- fromPartial<I_1 extends {
191
- ops?: {
192
- type?: string;
193
- key?: Uint8Array;
194
- data?: Uint8Array;
195
- }[];
196
- } & {
197
- ops?: {
198
- type?: string;
199
- key?: Uint8Array;
200
- data?: Uint8Array;
201
- }[] & ({
202
- type?: string;
203
- key?: Uint8Array;
204
- data?: Uint8Array;
205
- } & {
206
- type?: string;
207
- key?: Uint8Array;
208
- data?: Uint8Array;
209
- } & { [K_3 in Exclude<keyof I_1["ops"][number], keyof ProofOp>]: never; })[] & { [K_4 in Exclude<keyof I_1["ops"], keyof {
210
- type?: string;
211
- key?: Uint8Array;
212
- data?: Uint8Array;
213
- }[]>]: never; };
214
- } & { [K_5 in Exclude<keyof I_1, "ops">]: never; }>(object: I_1): ProofOps;
71
+ create<I extends Exact<DeepPartial<ProofOps>, I>>(base?: I): ProofOps;
72
+ fromPartial<I extends Exact<DeepPartial<ProofOps>, I>>(object: I): ProofOps;
215
73
  };
216
74
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
217
75
  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 {} ? {
@@ -73,232 +73,48 @@ export declare const ConsensusParams: {
73
73
  decode(input: _m0.Reader | Uint8Array, length?: number): ConsensusParams;
74
74
  fromJSON(object: any): ConsensusParams;
75
75
  toJSON(message: ConsensusParams): unknown;
76
- create<I extends {
77
- block?: {
78
- maxBytes?: number;
79
- maxGas?: number;
80
- };
81
- evidence?: {
82
- maxAgeNumBlocks?: number;
83
- maxAgeDuration?: {
84
- seconds?: number;
85
- nanos?: number;
86
- };
87
- maxBytes?: number;
88
- };
89
- validator?: {
90
- pubKeyTypes?: string[];
91
- };
92
- version?: {
93
- app?: number;
94
- };
95
- } & {
96
- block?: {
97
- maxBytes?: number;
98
- maxGas?: number;
99
- } & {
100
- maxBytes?: number;
101
- maxGas?: number;
102
- } & { [K in Exclude<keyof I["block"], keyof BlockParams>]: never; };
103
- evidence?: {
104
- maxAgeNumBlocks?: number;
105
- maxAgeDuration?: {
106
- seconds?: number;
107
- nanos?: number;
108
- };
109
- maxBytes?: number;
110
- } & {
111
- maxAgeNumBlocks?: number;
112
- maxAgeDuration?: {
113
- seconds?: number;
114
- nanos?: number;
115
- } & {
116
- seconds?: number;
117
- nanos?: number;
118
- } & { [K_1 in Exclude<keyof I["evidence"]["maxAgeDuration"], keyof Duration>]: never; };
119
- maxBytes?: number;
120
- } & { [K_2 in Exclude<keyof I["evidence"], keyof EvidenceParams>]: never; };
121
- validator?: {
122
- pubKeyTypes?: string[];
123
- } & {
124
- pubKeyTypes?: string[] & string[] & { [K_3 in Exclude<keyof I["validator"]["pubKeyTypes"], keyof string[]>]: never; };
125
- } & { [K_4 in Exclude<keyof I["validator"], "pubKeyTypes">]: never; };
126
- version?: {
127
- app?: number;
128
- } & {
129
- app?: number;
130
- } & { [K_5 in Exclude<keyof I["version"], "app">]: never; };
131
- } & { [K_6 in Exclude<keyof I, keyof ConsensusParams>]: never; }>(base?: I): ConsensusParams;
132
- fromPartial<I_1 extends {
133
- block?: {
134
- maxBytes?: number;
135
- maxGas?: number;
136
- };
137
- evidence?: {
138
- maxAgeNumBlocks?: number;
139
- maxAgeDuration?: {
140
- seconds?: number;
141
- nanos?: number;
142
- };
143
- maxBytes?: number;
144
- };
145
- validator?: {
146
- pubKeyTypes?: string[];
147
- };
148
- version?: {
149
- app?: number;
150
- };
151
- } & {
152
- block?: {
153
- maxBytes?: number;
154
- maxGas?: number;
155
- } & {
156
- maxBytes?: number;
157
- maxGas?: number;
158
- } & { [K_7 in Exclude<keyof I_1["block"], keyof BlockParams>]: never; };
159
- evidence?: {
160
- maxAgeNumBlocks?: number;
161
- maxAgeDuration?: {
162
- seconds?: number;
163
- nanos?: number;
164
- };
165
- maxBytes?: number;
166
- } & {
167
- maxAgeNumBlocks?: number;
168
- maxAgeDuration?: {
169
- seconds?: number;
170
- nanos?: number;
171
- } & {
172
- seconds?: number;
173
- nanos?: number;
174
- } & { [K_8 in Exclude<keyof I_1["evidence"]["maxAgeDuration"], keyof Duration>]: never; };
175
- maxBytes?: number;
176
- } & { [K_9 in Exclude<keyof I_1["evidence"], keyof EvidenceParams>]: never; };
177
- validator?: {
178
- pubKeyTypes?: string[];
179
- } & {
180
- pubKeyTypes?: string[] & string[] & { [K_10 in Exclude<keyof I_1["validator"]["pubKeyTypes"], keyof string[]>]: never; };
181
- } & { [K_11 in Exclude<keyof I_1["validator"], "pubKeyTypes">]: never; };
182
- version?: {
183
- app?: number;
184
- } & {
185
- app?: number;
186
- } & { [K_12 in Exclude<keyof I_1["version"], "app">]: never; };
187
- } & { [K_13 in Exclude<keyof I_1, keyof ConsensusParams>]: never; }>(object: I_1): ConsensusParams;
76
+ create<I extends Exact<DeepPartial<ConsensusParams>, I>>(base?: I): ConsensusParams;
77
+ fromPartial<I extends Exact<DeepPartial<ConsensusParams>, I>>(object: I): ConsensusParams;
188
78
  };
189
79
  export declare const BlockParams: {
190
80
  encode(message: BlockParams, writer?: _m0.Writer): _m0.Writer;
191
81
  decode(input: _m0.Reader | Uint8Array, length?: number): BlockParams;
192
82
  fromJSON(object: any): BlockParams;
193
83
  toJSON(message: BlockParams): unknown;
194
- create<I extends {
195
- maxBytes?: number;
196
- maxGas?: number;
197
- } & {
198
- maxBytes?: number;
199
- maxGas?: number;
200
- } & { [K in Exclude<keyof I, keyof BlockParams>]: never; }>(base?: I): BlockParams;
201
- fromPartial<I_1 extends {
202
- maxBytes?: number;
203
- maxGas?: number;
204
- } & {
205
- maxBytes?: number;
206
- maxGas?: number;
207
- } & { [K_1 in Exclude<keyof I_1, keyof BlockParams>]: never; }>(object: I_1): BlockParams;
84
+ create<I extends Exact<DeepPartial<BlockParams>, I>>(base?: I): BlockParams;
85
+ fromPartial<I extends Exact<DeepPartial<BlockParams>, I>>(object: I): BlockParams;
208
86
  };
209
87
  export declare const EvidenceParams: {
210
88
  encode(message: EvidenceParams, writer?: _m0.Writer): _m0.Writer;
211
89
  decode(input: _m0.Reader | Uint8Array, length?: number): EvidenceParams;
212
90
  fromJSON(object: any): EvidenceParams;
213
91
  toJSON(message: EvidenceParams): unknown;
214
- create<I extends {
215
- maxAgeNumBlocks?: number;
216
- maxAgeDuration?: {
217
- seconds?: number;
218
- nanos?: number;
219
- };
220
- maxBytes?: number;
221
- } & {
222
- maxAgeNumBlocks?: number;
223
- maxAgeDuration?: {
224
- seconds?: number;
225
- nanos?: number;
226
- } & {
227
- seconds?: number;
228
- nanos?: number;
229
- } & { [K in Exclude<keyof I["maxAgeDuration"], keyof Duration>]: never; };
230
- maxBytes?: number;
231
- } & { [K_1 in Exclude<keyof I, keyof EvidenceParams>]: never; }>(base?: I): EvidenceParams;
232
- fromPartial<I_1 extends {
233
- maxAgeNumBlocks?: number;
234
- maxAgeDuration?: {
235
- seconds?: number;
236
- nanos?: number;
237
- };
238
- maxBytes?: number;
239
- } & {
240
- maxAgeNumBlocks?: number;
241
- maxAgeDuration?: {
242
- seconds?: number;
243
- nanos?: number;
244
- } & {
245
- seconds?: number;
246
- nanos?: number;
247
- } & { [K_2 in Exclude<keyof I_1["maxAgeDuration"], keyof Duration>]: never; };
248
- maxBytes?: number;
249
- } & { [K_3 in Exclude<keyof I_1, keyof EvidenceParams>]: never; }>(object: I_1): EvidenceParams;
92
+ create<I extends Exact<DeepPartial<EvidenceParams>, I>>(base?: I): EvidenceParams;
93
+ fromPartial<I extends Exact<DeepPartial<EvidenceParams>, I>>(object: I): EvidenceParams;
250
94
  };
251
95
  export declare const ValidatorParams: {
252
96
  encode(message: ValidatorParams, writer?: _m0.Writer): _m0.Writer;
253
97
  decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorParams;
254
98
  fromJSON(object: any): ValidatorParams;
255
99
  toJSON(message: ValidatorParams): unknown;
256
- create<I extends {
257
- pubKeyTypes?: string[];
258
- } & {
259
- pubKeyTypes?: string[] & string[] & { [K in Exclude<keyof I["pubKeyTypes"], keyof string[]>]: never; };
260
- } & { [K_1 in Exclude<keyof I, "pubKeyTypes">]: never; }>(base?: I): ValidatorParams;
261
- fromPartial<I_1 extends {
262
- pubKeyTypes?: string[];
263
- } & {
264
- pubKeyTypes?: string[] & string[] & { [K_2 in Exclude<keyof I_1["pubKeyTypes"], keyof string[]>]: never; };
265
- } & { [K_3 in Exclude<keyof I_1, "pubKeyTypes">]: never; }>(object: I_1): ValidatorParams;
100
+ create<I extends Exact<DeepPartial<ValidatorParams>, I>>(base?: I): ValidatorParams;
101
+ fromPartial<I extends Exact<DeepPartial<ValidatorParams>, I>>(object: I): ValidatorParams;
266
102
  };
267
103
  export declare const VersionParams: {
268
104
  encode(message: VersionParams, writer?: _m0.Writer): _m0.Writer;
269
105
  decode(input: _m0.Reader | Uint8Array, length?: number): VersionParams;
270
106
  fromJSON(object: any): VersionParams;
271
107
  toJSON(message: VersionParams): unknown;
272
- create<I extends {
273
- app?: number;
274
- } & {
275
- app?: number;
276
- } & { [K in Exclude<keyof I, "app">]: never; }>(base?: I): VersionParams;
277
- fromPartial<I_1 extends {
278
- app?: number;
279
- } & {
280
- app?: number;
281
- } & { [K_1 in Exclude<keyof I_1, "app">]: never; }>(object: I_1): VersionParams;
108
+ create<I extends Exact<DeepPartial<VersionParams>, I>>(base?: I): VersionParams;
109
+ fromPartial<I extends Exact<DeepPartial<VersionParams>, I>>(object: I): VersionParams;
282
110
  };
283
111
  export declare const HashedParams: {
284
112
  encode(message: HashedParams, writer?: _m0.Writer): _m0.Writer;
285
113
  decode(input: _m0.Reader | Uint8Array, length?: number): HashedParams;
286
114
  fromJSON(object: any): HashedParams;
287
115
  toJSON(message: HashedParams): unknown;
288
- create<I extends {
289
- blockMaxBytes?: number;
290
- blockMaxGas?: number;
291
- } & {
292
- blockMaxBytes?: number;
293
- blockMaxGas?: number;
294
- } & { [K in Exclude<keyof I, keyof HashedParams>]: never; }>(base?: I): HashedParams;
295
- fromPartial<I_1 extends {
296
- blockMaxBytes?: number;
297
- blockMaxGas?: number;
298
- } & {
299
- blockMaxBytes?: number;
300
- blockMaxGas?: number;
301
- } & { [K_1 in Exclude<keyof I_1, keyof HashedParams>]: never; }>(object: I_1): HashedParams;
116
+ create<I extends Exact<DeepPartial<HashedParams>, I>>(base?: I): HashedParams;
117
+ fromPartial<I extends Exact<DeepPartial<HashedParams>, I>>(object: I): HashedParams;
302
118
  };
303
119
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
304
120
  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 {} ? {