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
@@ -60,260 +60,64 @@ export declare const MsgIssueClass: {
60
60
  decode(input: _m0.Reader | Uint8Array, length?: number): MsgIssueClass;
61
61
  fromJSON(object: any): MsgIssueClass;
62
62
  toJSON(message: MsgIssueClass): unknown;
63
- create<I extends {
64
- issuer?: string;
65
- symbol?: string;
66
- name?: string;
67
- description?: string;
68
- uri?: string;
69
- uriHash?: string;
70
- data?: {
71
- typeUrl?: string;
72
- value?: Uint8Array;
73
- };
74
- features?: ClassFeature[];
75
- royaltyRate?: string;
76
- } & {
77
- issuer?: string;
78
- symbol?: string;
79
- name?: string;
80
- description?: string;
81
- uri?: string;
82
- uriHash?: string;
83
- data?: {
84
- typeUrl?: string;
85
- value?: Uint8Array;
86
- } & {
87
- typeUrl?: string;
88
- value?: Uint8Array;
89
- } & { [K in Exclude<keyof I["data"], keyof Any>]: never; };
90
- features?: ClassFeature[] & ClassFeature[] & { [K_1 in Exclude<keyof I["features"], keyof ClassFeature[]>]: never; };
91
- royaltyRate?: string;
92
- } & { [K_2 in Exclude<keyof I, keyof MsgIssueClass>]: never; }>(base?: I): MsgIssueClass;
93
- fromPartial<I_1 extends {
94
- issuer?: string;
95
- symbol?: string;
96
- name?: string;
97
- description?: string;
98
- uri?: string;
99
- uriHash?: string;
100
- data?: {
101
- typeUrl?: string;
102
- value?: Uint8Array;
103
- };
104
- features?: ClassFeature[];
105
- royaltyRate?: string;
106
- } & {
107
- issuer?: string;
108
- symbol?: string;
109
- name?: string;
110
- description?: string;
111
- uri?: string;
112
- uriHash?: string;
113
- data?: {
114
- typeUrl?: string;
115
- value?: Uint8Array;
116
- } & {
117
- typeUrl?: string;
118
- value?: Uint8Array;
119
- } & { [K_3 in Exclude<keyof I_1["data"], keyof Any>]: never; };
120
- features?: ClassFeature[] & ClassFeature[] & { [K_4 in Exclude<keyof I_1["features"], keyof ClassFeature[]>]: never; };
121
- royaltyRate?: string;
122
- } & { [K_5 in Exclude<keyof I_1, keyof MsgIssueClass>]: never; }>(object: I_1): MsgIssueClass;
63
+ create<I extends Exact<DeepPartial<MsgIssueClass>, I>>(base?: I): MsgIssueClass;
64
+ fromPartial<I extends Exact<DeepPartial<MsgIssueClass>, I>>(object: I): MsgIssueClass;
123
65
  };
124
66
  export declare const MsgMint: {
125
67
  encode(message: MsgMint, writer?: _m0.Writer): _m0.Writer;
126
68
  decode(input: _m0.Reader | Uint8Array, length?: number): MsgMint;
127
69
  fromJSON(object: any): MsgMint;
128
70
  toJSON(message: MsgMint): unknown;
129
- create<I extends {
130
- sender?: string;
131
- classId?: string;
132
- id?: string;
133
- uri?: string;
134
- uriHash?: string;
135
- data?: {
136
- typeUrl?: string;
137
- value?: Uint8Array;
138
- };
139
- recipient?: string;
140
- } & {
141
- sender?: string;
142
- classId?: string;
143
- id?: string;
144
- uri?: string;
145
- uriHash?: string;
146
- data?: {
147
- typeUrl?: string;
148
- value?: Uint8Array;
149
- } & {
150
- typeUrl?: string;
151
- value?: Uint8Array;
152
- } & { [K in Exclude<keyof I["data"], keyof Any>]: never; };
153
- recipient?: string;
154
- } & { [K_1 in Exclude<keyof I, keyof MsgMint>]: never; }>(base?: I): MsgMint;
155
- fromPartial<I_1 extends {
156
- sender?: string;
157
- classId?: string;
158
- id?: string;
159
- uri?: string;
160
- uriHash?: string;
161
- data?: {
162
- typeUrl?: string;
163
- value?: Uint8Array;
164
- };
165
- recipient?: string;
166
- } & {
167
- sender?: string;
168
- classId?: string;
169
- id?: string;
170
- uri?: string;
171
- uriHash?: string;
172
- data?: {
173
- typeUrl?: string;
174
- value?: Uint8Array;
175
- } & {
176
- typeUrl?: string;
177
- value?: Uint8Array;
178
- } & { [K_2 in Exclude<keyof I_1["data"], keyof Any>]: never; };
179
- recipient?: string;
180
- } & { [K_3 in Exclude<keyof I_1, keyof MsgMint>]: never; }>(object: I_1): MsgMint;
71
+ create<I extends Exact<DeepPartial<MsgMint>, I>>(base?: I): MsgMint;
72
+ fromPartial<I extends Exact<DeepPartial<MsgMint>, I>>(object: I): MsgMint;
181
73
  };
182
74
  export declare const MsgBurn: {
183
75
  encode(message: MsgBurn, writer?: _m0.Writer): _m0.Writer;
184
76
  decode(input: _m0.Reader | Uint8Array, length?: number): MsgBurn;
185
77
  fromJSON(object: any): MsgBurn;
186
78
  toJSON(message: MsgBurn): unknown;
187
- create<I extends {
188
- sender?: string;
189
- classId?: string;
190
- id?: string;
191
- } & {
192
- sender?: string;
193
- classId?: string;
194
- id?: string;
195
- } & { [K in Exclude<keyof I, keyof MsgBurn>]: never; }>(base?: I): MsgBurn;
196
- fromPartial<I_1 extends {
197
- sender?: string;
198
- classId?: string;
199
- id?: string;
200
- } & {
201
- sender?: string;
202
- classId?: string;
203
- id?: string;
204
- } & { [K_1 in Exclude<keyof I_1, keyof MsgBurn>]: never; }>(object: I_1): MsgBurn;
79
+ create<I extends Exact<DeepPartial<MsgBurn>, I>>(base?: I): MsgBurn;
80
+ fromPartial<I extends Exact<DeepPartial<MsgBurn>, I>>(object: I): MsgBurn;
205
81
  };
206
82
  export declare const MsgFreeze: {
207
83
  encode(message: MsgFreeze, writer?: _m0.Writer): _m0.Writer;
208
84
  decode(input: _m0.Reader | Uint8Array, length?: number): MsgFreeze;
209
85
  fromJSON(object: any): MsgFreeze;
210
86
  toJSON(message: MsgFreeze): unknown;
211
- create<I extends {
212
- sender?: string;
213
- classId?: string;
214
- id?: string;
215
- } & {
216
- sender?: string;
217
- classId?: string;
218
- id?: string;
219
- } & { [K in Exclude<keyof I, keyof MsgFreeze>]: never; }>(base?: I): MsgFreeze;
220
- fromPartial<I_1 extends {
221
- sender?: string;
222
- classId?: string;
223
- id?: string;
224
- } & {
225
- sender?: string;
226
- classId?: string;
227
- id?: string;
228
- } & { [K_1 in Exclude<keyof I_1, keyof MsgFreeze>]: never; }>(object: I_1): MsgFreeze;
87
+ create<I extends Exact<DeepPartial<MsgFreeze>, I>>(base?: I): MsgFreeze;
88
+ fromPartial<I extends Exact<DeepPartial<MsgFreeze>, I>>(object: I): MsgFreeze;
229
89
  };
230
90
  export declare const MsgUnfreeze: {
231
91
  encode(message: MsgUnfreeze, writer?: _m0.Writer): _m0.Writer;
232
92
  decode(input: _m0.Reader | Uint8Array, length?: number): MsgUnfreeze;
233
93
  fromJSON(object: any): MsgUnfreeze;
234
94
  toJSON(message: MsgUnfreeze): unknown;
235
- create<I extends {
236
- sender?: string;
237
- classId?: string;
238
- id?: string;
239
- } & {
240
- sender?: string;
241
- classId?: string;
242
- id?: string;
243
- } & { [K in Exclude<keyof I, keyof MsgUnfreeze>]: never; }>(base?: I): MsgUnfreeze;
244
- fromPartial<I_1 extends {
245
- sender?: string;
246
- classId?: string;
247
- id?: string;
248
- } & {
249
- sender?: string;
250
- classId?: string;
251
- id?: string;
252
- } & { [K_1 in Exclude<keyof I_1, keyof MsgUnfreeze>]: never; }>(object: I_1): MsgUnfreeze;
95
+ create<I extends Exact<DeepPartial<MsgUnfreeze>, I>>(base?: I): MsgUnfreeze;
96
+ fromPartial<I extends Exact<DeepPartial<MsgUnfreeze>, I>>(object: I): MsgUnfreeze;
253
97
  };
254
98
  export declare const MsgAddToWhitelist: {
255
99
  encode(message: MsgAddToWhitelist, writer?: _m0.Writer): _m0.Writer;
256
100
  decode(input: _m0.Reader | Uint8Array, length?: number): MsgAddToWhitelist;
257
101
  fromJSON(object: any): MsgAddToWhitelist;
258
102
  toJSON(message: MsgAddToWhitelist): unknown;
259
- create<I extends {
260
- sender?: string;
261
- classId?: string;
262
- id?: string;
263
- account?: string;
264
- } & {
265
- sender?: string;
266
- classId?: string;
267
- id?: string;
268
- account?: string;
269
- } & { [K in Exclude<keyof I, keyof MsgAddToWhitelist>]: never; }>(base?: I): MsgAddToWhitelist;
270
- fromPartial<I_1 extends {
271
- sender?: string;
272
- classId?: string;
273
- id?: string;
274
- account?: string;
275
- } & {
276
- sender?: string;
277
- classId?: string;
278
- id?: string;
279
- account?: string;
280
- } & { [K_1 in Exclude<keyof I_1, keyof MsgAddToWhitelist>]: never; }>(object: I_1): MsgAddToWhitelist;
103
+ create<I extends Exact<DeepPartial<MsgAddToWhitelist>, I>>(base?: I): MsgAddToWhitelist;
104
+ fromPartial<I extends Exact<DeepPartial<MsgAddToWhitelist>, I>>(object: I): MsgAddToWhitelist;
281
105
  };
282
106
  export declare const MsgRemoveFromWhitelist: {
283
107
  encode(message: MsgRemoveFromWhitelist, writer?: _m0.Writer): _m0.Writer;
284
108
  decode(input: _m0.Reader | Uint8Array, length?: number): MsgRemoveFromWhitelist;
285
109
  fromJSON(object: any): MsgRemoveFromWhitelist;
286
110
  toJSON(message: MsgRemoveFromWhitelist): unknown;
287
- create<I extends {
288
- sender?: string;
289
- classId?: string;
290
- id?: string;
291
- account?: string;
292
- } & {
293
- sender?: string;
294
- classId?: string;
295
- id?: string;
296
- account?: string;
297
- } & { [K in Exclude<keyof I, keyof MsgRemoveFromWhitelist>]: never; }>(base?: I): MsgRemoveFromWhitelist;
298
- fromPartial<I_1 extends {
299
- sender?: string;
300
- classId?: string;
301
- id?: string;
302
- account?: string;
303
- } & {
304
- sender?: string;
305
- classId?: string;
306
- id?: string;
307
- account?: string;
308
- } & { [K_1 in Exclude<keyof I_1, keyof MsgRemoveFromWhitelist>]: never; }>(object: I_1): MsgRemoveFromWhitelist;
111
+ create<I extends Exact<DeepPartial<MsgRemoveFromWhitelist>, I>>(base?: I): MsgRemoveFromWhitelist;
112
+ fromPartial<I extends Exact<DeepPartial<MsgRemoveFromWhitelist>, I>>(object: I): MsgRemoveFromWhitelist;
309
113
  };
310
114
  export declare const EmptyResponse: {
311
115
  encode(_: EmptyResponse, writer?: _m0.Writer): _m0.Writer;
312
116
  decode(input: _m0.Reader | Uint8Array, length?: number): EmptyResponse;
313
117
  fromJSON(_: any): EmptyResponse;
314
118
  toJSON(_: EmptyResponse): unknown;
315
- create<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(base?: I): EmptyResponse;
316
- fromPartial<I_1 extends {} & {} & { [K_1 in Exclude<keyof I_1, never>]: never; }>(_: I_1): EmptyResponse;
119
+ create<I extends Exact<DeepPartial<EmptyResponse>, I>>(base?: I): EmptyResponse;
120
+ fromPartial<I extends Exact<DeepPartial<EmptyResponse>, I>>(_: I): EmptyResponse;
317
121
  };
318
122
  /** Msg defines the Msg service. */
319
123
  export interface Msg {
@@ -9,16 +9,8 @@ export declare const DataBytes: {
9
9
  decode(input: _m0.Reader | Uint8Array, length?: number): DataBytes;
10
10
  fromJSON(object: any): DataBytes;
11
11
  toJSON(message: DataBytes): unknown;
12
- create<I extends {
13
- Data?: Uint8Array;
14
- } & {
15
- Data?: Uint8Array;
16
- } & { [K in Exclude<keyof I, "Data">]: never; }>(base?: I): DataBytes;
17
- fromPartial<I_1 extends {
18
- Data?: Uint8Array;
19
- } & {
20
- Data?: Uint8Array;
21
- } & { [K_1 in Exclude<keyof I_1, "Data">]: never; }>(object: I_1): DataBytes;
12
+ create<I extends Exact<DeepPartial<DataBytes>, I>>(base?: I): DataBytes;
13
+ fromPartial<I extends Exact<DeepPartial<DataBytes>, I>>(object: I): DataBytes;
22
14
  };
23
15
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
24
16
  export type DeepPartial<T> = T extends Builtin ? T : T extends Long ? string | number | Long : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
@@ -12,28 +12,8 @@ export declare const GenesisState: {
12
12
  decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState;
13
13
  fromJSON(object: any): GenesisState;
14
14
  toJSON(message: GenesisState): unknown;
15
- create<I extends {
16
- stakingParams?: {
17
- minSelfDelegation?: string;
18
- };
19
- } & {
20
- stakingParams?: {
21
- minSelfDelegation?: string;
22
- } & {
23
- minSelfDelegation?: string;
24
- } & { [K in Exclude<keyof I["stakingParams"], "minSelfDelegation">]: never; };
25
- } & { [K_1 in Exclude<keyof I, "stakingParams">]: never; }>(base?: I): GenesisState;
26
- fromPartial<I_1 extends {
27
- stakingParams?: {
28
- minSelfDelegation?: string;
29
- };
30
- } & {
31
- stakingParams?: {
32
- minSelfDelegation?: string;
33
- } & {
34
- minSelfDelegation?: string;
35
- } & { [K_2 in Exclude<keyof I_1["stakingParams"], "minSelfDelegation">]: never; };
36
- } & { [K_3 in Exclude<keyof I_1, "stakingParams">]: never; }>(object: I_1): GenesisState;
15
+ create<I extends Exact<DeepPartial<GenesisState>, I>>(base?: I): GenesisState;
16
+ fromPartial<I extends Exact<DeepPartial<GenesisState>, I>>(object: I): GenesisState;
37
17
  };
38
18
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
39
19
  export type DeepPartial<T> = T extends Builtin ? T : T extends Long ? string | number | Long : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
@@ -11,16 +11,8 @@ export declare const StakingParams: {
11
11
  decode(input: _m0.Reader | Uint8Array, length?: number): StakingParams;
12
12
  fromJSON(object: any): StakingParams;
13
13
  toJSON(message: StakingParams): unknown;
14
- create<I extends {
15
- minSelfDelegation?: string;
16
- } & {
17
- minSelfDelegation?: string;
18
- } & { [K in Exclude<keyof I, "minSelfDelegation">]: never; }>(base?: I): StakingParams;
19
- fromPartial<I_1 extends {
20
- minSelfDelegation?: string;
21
- } & {
22
- minSelfDelegation?: string;
23
- } & { [K_1 in Exclude<keyof I_1, "minSelfDelegation">]: never; }>(object: I_1): StakingParams;
14
+ create<I extends Exact<DeepPartial<StakingParams>, I>>(base?: I): StakingParams;
15
+ fromPartial<I extends Exact<DeepPartial<StakingParams>, I>>(object: I): StakingParams;
24
16
  };
25
17
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
26
18
  export type DeepPartial<T> = T extends Builtin ? T : T extends Long ? string | number | Long : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
@@ -14,36 +14,16 @@ export declare const QueryStakingParamsRequest: {
14
14
  decode(input: _m0.Reader | Uint8Array, length?: number): QueryStakingParamsRequest;
15
15
  fromJSON(_: any): QueryStakingParamsRequest;
16
16
  toJSON(_: QueryStakingParamsRequest): unknown;
17
- create<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(base?: I): QueryStakingParamsRequest;
18
- fromPartial<I_1 extends {} & {} & { [K_1 in Exclude<keyof I_1, never>]: never; }>(_: I_1): QueryStakingParamsRequest;
17
+ create<I extends Exact<DeepPartial<QueryStakingParamsRequest>, I>>(base?: I): QueryStakingParamsRequest;
18
+ fromPartial<I extends Exact<DeepPartial<QueryStakingParamsRequest>, I>>(_: I): QueryStakingParamsRequest;
19
19
  };
20
20
  export declare const QueryStakingParamsResponse: {
21
21
  encode(message: QueryStakingParamsResponse, writer?: _m0.Writer): _m0.Writer;
22
22
  decode(input: _m0.Reader | Uint8Array, length?: number): QueryStakingParamsResponse;
23
23
  fromJSON(object: any): QueryStakingParamsResponse;
24
24
  toJSON(message: QueryStakingParamsResponse): unknown;
25
- create<I extends {
26
- params?: {
27
- minSelfDelegation?: string;
28
- };
29
- } & {
30
- params?: {
31
- minSelfDelegation?: string;
32
- } & {
33
- minSelfDelegation?: string;
34
- } & { [K in Exclude<keyof I["params"], "minSelfDelegation">]: never; };
35
- } & { [K_1 in Exclude<keyof I, "params">]: never; }>(base?: I): QueryStakingParamsResponse;
36
- fromPartial<I_1 extends {
37
- params?: {
38
- minSelfDelegation?: string;
39
- };
40
- } & {
41
- params?: {
42
- minSelfDelegation?: string;
43
- } & {
44
- minSelfDelegation?: string;
45
- } & { [K_2 in Exclude<keyof I_1["params"], "minSelfDelegation">]: never; };
46
- } & { [K_3 in Exclude<keyof I_1, "params">]: never; }>(object: I_1): QueryStakingParamsResponse;
25
+ create<I extends Exact<DeepPartial<QueryStakingParamsResponse>, I>>(base?: I): QueryStakingParamsResponse;
26
+ fromPartial<I extends Exact<DeepPartial<QueryStakingParamsResponse>, I>>(object: I): QueryStakingParamsResponse;
47
27
  };
48
28
  /** Query defines the gRPC querier service. */
49
29
  export interface Query {
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.setupFTExtension = void 0;
3
+ exports.setupFTExtension = setupFTExtension;
4
4
  const query_1 = require("../asset/ft/v1/query");
5
5
  const stargate_1 = require("@cosmjs/stargate");
6
6
  function setupFTExtension(base) {
@@ -32,4 +32,3 @@ function setupFTExtension(base) {
32
32
  },
33
33
  };
34
34
  }
35
- exports.setupFTExtension = setupFTExtension;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.setupNFTExtension = void 0;
3
+ exports.setupNFTExtension = setupNFTExtension;
4
4
  const query_1 = require("../asset/nft/v1/query");
5
5
  const stargate_1 = require("@cosmjs/stargate");
6
6
  function setupNFTExtension(base) {
@@ -34,4 +34,3 @@ function setupNFTExtension(base) {
34
34
  },
35
35
  };
36
36
  }
37
- exports.setupNFTExtension = setupNFTExtension;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.setupNFTBetaExtension = void 0;
3
+ exports.setupNFTBetaExtension = setupNFTBetaExtension;
4
4
  const query_1 = require("../nft/v1beta1/query");
5
5
  const stargate_1 = require("@cosmjs/stargate");
6
6
  function setupNFTBetaExtension(base) {
@@ -39,4 +39,3 @@ function setupNFTBetaExtension(base) {
39
39
  },
40
40
  };
41
41
  }
42
- exports.setupNFTBetaExtension = setupNFTBetaExtension;
@@ -15,228 +15,8 @@ export declare const GenesisState: {
15
15
  decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState;
16
16
  fromJSON(object: any): GenesisState;
17
17
  toJSON(message: GenesisState): unknown;
18
- create<I extends {
19
- params?: {
20
- model?: {
21
- initialGasPrice?: string;
22
- maxGasPriceMultiplier?: string;
23
- maxDiscount?: string;
24
- escalationStartFraction?: string;
25
- maxBlockGas?: string | number | Long.Long;
26
- shortEmaBlockLength?: number;
27
- longEmaBlockLength?: number;
28
- };
29
- };
30
- minGasPrice?: {
31
- denom?: string;
32
- amount?: string;
33
- };
34
- } & {
35
- params?: {
36
- model?: {
37
- initialGasPrice?: string;
38
- maxGasPriceMultiplier?: string;
39
- maxDiscount?: string;
40
- escalationStartFraction?: string;
41
- maxBlockGas?: string | number | Long.Long;
42
- shortEmaBlockLength?: number;
43
- longEmaBlockLength?: number;
44
- };
45
- } & {
46
- model?: {
47
- initialGasPrice?: string;
48
- maxGasPriceMultiplier?: string;
49
- maxDiscount?: string;
50
- escalationStartFraction?: string;
51
- maxBlockGas?: string | number | Long.Long;
52
- shortEmaBlockLength?: number;
53
- longEmaBlockLength?: number;
54
- } & {
55
- initialGasPrice?: string;
56
- maxGasPriceMultiplier?: string;
57
- maxDiscount?: string;
58
- escalationStartFraction?: string;
59
- maxBlockGas?: string | number | (Long.Long & {
60
- high: number;
61
- low: number;
62
- unsigned: boolean;
63
- add: (addend: string | number | Long.Long) => Long.Long;
64
- and: (other: string | number | Long.Long) => Long.Long;
65
- compare: (other: string | number | Long.Long) => number;
66
- comp: (other: string | number | Long.Long) => number;
67
- divide: (divisor: string | number | Long.Long) => Long.Long;
68
- div: (divisor: string | number | Long.Long) => Long.Long;
69
- equals: (other: string | number | Long.Long) => boolean;
70
- eq: (other: string | number | Long.Long) => boolean;
71
- getHighBits: () => number;
72
- getHighBitsUnsigned: () => number;
73
- getLowBits: () => number;
74
- getLowBitsUnsigned: () => number;
75
- getNumBitsAbs: () => number;
76
- greaterThan: (other: string | number | Long.Long) => boolean;
77
- gt: (other: string | number | Long.Long) => boolean;
78
- greaterThanOrEqual: (other: string | number | Long.Long) => boolean;
79
- gte: (other: string | number | Long.Long) => boolean;
80
- isEven: () => boolean;
81
- isNegative: () => boolean;
82
- isOdd: () => boolean;
83
- isPositive: () => boolean;
84
- isZero: () => boolean;
85
- lessThan: (other: string | number | Long.Long) => boolean;
86
- lt: (other: string | number | Long.Long) => boolean;
87
- lessThanOrEqual: (other: string | number | Long.Long) => boolean;
88
- lte: (other: string | number | Long.Long) => boolean;
89
- modulo: (other: string | number | Long.Long) => Long.Long;
90
- mod: (other: string | number | Long.Long) => Long.Long;
91
- multiply: (multiplier: string | number | Long.Long) => Long.Long;
92
- mul: (multiplier: string | number | Long.Long) => Long.Long;
93
- negate: () => Long.Long;
94
- neg: () => Long.Long;
95
- not: () => Long.Long;
96
- notEquals: (other: string | number | Long.Long) => boolean;
97
- neq: (other: string | number | Long.Long) => boolean;
98
- or: (other: string | number | Long.Long) => Long.Long;
99
- shiftLeft: (numBits: number | Long.Long) => Long.Long;
100
- shl: (numBits: number | Long.Long) => Long.Long;
101
- shiftRight: (numBits: number | Long.Long) => Long.Long;
102
- shr: (numBits: number | Long.Long) => Long.Long;
103
- shiftRightUnsigned: (numBits: number | Long.Long) => Long.Long;
104
- shru: (numBits: number | Long.Long) => Long.Long;
105
- subtract: (subtrahend: string | number | Long.Long) => Long.Long;
106
- sub: (subtrahend: string | number | Long.Long) => Long.Long;
107
- toInt: () => number;
108
- toNumber: () => number;
109
- toBytes: (le?: boolean) => number[];
110
- toBytesLE: () => number[];
111
- toBytesBE: () => number[];
112
- toSigned: () => Long.Long;
113
- toString: (radix?: number) => string;
114
- toUnsigned: () => Long.Long;
115
- xor: (other: string | number | Long.Long) => Long.Long;
116
- } & { [K in Exclude<keyof I["params"]["model"]["maxBlockGas"], keyof Long.Long>]: never; });
117
- shortEmaBlockLength?: number;
118
- longEmaBlockLength?: number;
119
- } & { [K_1 in Exclude<keyof I["params"]["model"], keyof import("./params").ModelParams>]: never; };
120
- } & { [K_2 in Exclude<keyof I["params"], "model">]: never; };
121
- minGasPrice?: {
122
- denom?: string;
123
- amount?: string;
124
- } & {
125
- denom?: string;
126
- amount?: string;
127
- } & { [K_3 in Exclude<keyof I["minGasPrice"], keyof DecCoin>]: never; };
128
- } & { [K_4 in Exclude<keyof I, keyof GenesisState>]: never; }>(base?: I): GenesisState;
129
- fromPartial<I_1 extends {
130
- params?: {
131
- model?: {
132
- initialGasPrice?: string;
133
- maxGasPriceMultiplier?: string;
134
- maxDiscount?: string;
135
- escalationStartFraction?: string;
136
- maxBlockGas?: string | number | Long.Long;
137
- shortEmaBlockLength?: number;
138
- longEmaBlockLength?: number;
139
- };
140
- };
141
- minGasPrice?: {
142
- denom?: string;
143
- amount?: string;
144
- };
145
- } & {
146
- params?: {
147
- model?: {
148
- initialGasPrice?: string;
149
- maxGasPriceMultiplier?: string;
150
- maxDiscount?: string;
151
- escalationStartFraction?: string;
152
- maxBlockGas?: string | number | Long.Long;
153
- shortEmaBlockLength?: number;
154
- longEmaBlockLength?: number;
155
- };
156
- } & {
157
- model?: {
158
- initialGasPrice?: string;
159
- maxGasPriceMultiplier?: string;
160
- maxDiscount?: string;
161
- escalationStartFraction?: string;
162
- maxBlockGas?: string | number | Long.Long;
163
- shortEmaBlockLength?: number;
164
- longEmaBlockLength?: number;
165
- } & {
166
- initialGasPrice?: string;
167
- maxGasPriceMultiplier?: string;
168
- maxDiscount?: string;
169
- escalationStartFraction?: string;
170
- maxBlockGas?: string | number | (Long.Long & {
171
- high: number;
172
- low: number;
173
- unsigned: boolean;
174
- add: (addend: string | number | Long.Long) => Long.Long;
175
- and: (other: string | number | Long.Long) => Long.Long;
176
- compare: (other: string | number | Long.Long) => number;
177
- comp: (other: string | number | Long.Long) => number;
178
- divide: (divisor: string | number | Long.Long) => Long.Long;
179
- div: (divisor: string | number | Long.Long) => Long.Long;
180
- equals: (other: string | number | Long.Long) => boolean;
181
- eq: (other: string | number | Long.Long) => boolean;
182
- getHighBits: () => number;
183
- getHighBitsUnsigned: () => number;
184
- getLowBits: () => number;
185
- getLowBitsUnsigned: () => number;
186
- getNumBitsAbs: () => number;
187
- greaterThan: (other: string | number | Long.Long) => boolean;
188
- gt: (other: string | number | Long.Long) => boolean;
189
- greaterThanOrEqual: (other: string | number | Long.Long) => boolean;
190
- gte: (other: string | number | Long.Long) => boolean;
191
- isEven: () => boolean;
192
- isNegative: () => boolean;
193
- isOdd: () => boolean;
194
- isPositive: () => boolean;
195
- isZero: () => boolean;
196
- lessThan: (other: string | number | Long.Long) => boolean;
197
- lt: (other: string | number | Long.Long) => boolean;
198
- lessThanOrEqual: (other: string | number | Long.Long) => boolean;
199
- lte: (other: string | number | Long.Long) => boolean;
200
- modulo: (other: string | number | Long.Long) => Long.Long;
201
- mod: (other: string | number | Long.Long) => Long.Long;
202
- multiply: (multiplier: string | number | Long.Long) => Long.Long;
203
- mul: (multiplier: string | number | Long.Long) => Long.Long;
204
- negate: () => Long.Long;
205
- neg: () => Long.Long;
206
- not: () => Long.Long;
207
- notEquals: (other: string | number | Long.Long) => boolean;
208
- neq: (other: string | number | Long.Long) => boolean;
209
- or: (other: string | number | Long.Long) => Long.Long;
210
- shiftLeft: (numBits: number | Long.Long) => Long.Long;
211
- shl: (numBits: number | Long.Long) => Long.Long;
212
- shiftRight: (numBits: number | Long.Long) => Long.Long;
213
- shr: (numBits: number | Long.Long) => Long.Long;
214
- shiftRightUnsigned: (numBits: number | Long.Long) => Long.Long;
215
- shru: (numBits: number | Long.Long) => Long.Long;
216
- subtract: (subtrahend: string | number | Long.Long) => Long.Long;
217
- sub: (subtrahend: string | number | Long.Long) => Long.Long;
218
- toInt: () => number;
219
- toNumber: () => number;
220
- toBytes: (le?: boolean) => number[];
221
- toBytesLE: () => number[];
222
- toBytesBE: () => number[];
223
- toSigned: () => Long.Long;
224
- toString: (radix?: number) => string;
225
- toUnsigned: () => Long.Long;
226
- xor: (other: string | number | Long.Long) => Long.Long;
227
- } & { [K_5 in Exclude<keyof I_1["params"]["model"]["maxBlockGas"], keyof Long.Long>]: never; });
228
- shortEmaBlockLength?: number;
229
- longEmaBlockLength?: number;
230
- } & { [K_6 in Exclude<keyof I_1["params"]["model"], keyof import("./params").ModelParams>]: never; };
231
- } & { [K_7 in Exclude<keyof I_1["params"], "model">]: never; };
232
- minGasPrice?: {
233
- denom?: string;
234
- amount?: string;
235
- } & {
236
- denom?: string;
237
- amount?: string;
238
- } & { [K_8 in Exclude<keyof I_1["minGasPrice"], keyof DecCoin>]: never; };
239
- } & { [K_9 in Exclude<keyof I_1, keyof GenesisState>]: never; }>(object: I_1): GenesisState;
18
+ create<I extends Exact<DeepPartial<GenesisState>, I>>(base?: I): GenesisState;
19
+ fromPartial<I extends Exact<DeepPartial<GenesisState>, I>>(object: I): GenesisState;
240
20
  };
241
21
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
242
22
  export type DeepPartial<T> = T extends Builtin ? T : T extends Long ? string | number | Long : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {