coreum-js 2.5.9 → 2.5.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. package/dist/main/cosmos/distribution/v1beta1/distribution.d.ts +638 -0
  2. package/dist/main/cosmos/distribution/v1beta1/distribution.js +888 -0
  3. package/dist/main/cosmos/distribution/v1beta1/genesis.d.ts +1259 -0
  4. package/dist/main/cosmos/distribution/v1beta1/genesis.js +785 -0
  5. package/dist/main/cosmos/distribution/v1beta1/pagination.d.ts +128 -0
  6. package/dist/main/cosmos/distribution/v1beta1/pagination.js +228 -0
  7. package/dist/main/cosmos/distribution/v1beta1/query.d.ts +995 -0
  8. package/dist/main/cosmos/distribution/v1beta1/query.js +1336 -0
  9. package/dist/main/cosmos/distribution/v1beta1/tx.d.ts +593 -0
  10. package/dist/main/cosmos/distribution/v1beta1/tx.js +825 -0
  11. package/dist/main/cosmos/index.d.ts +135 -0
  12. package/dist/main/cosmos/index.js +49 -2
  13. package/dist/module/cosmos/distribution/v1beta1/distribution.d.ts +638 -0
  14. package/dist/module/cosmos/distribution/v1beta1/distribution.js +870 -0
  15. package/dist/module/cosmos/distribution/v1beta1/genesis.d.ts +1259 -0
  16. package/dist/module/cosmos/distribution/v1beta1/genesis.js +771 -0
  17. package/dist/module/cosmos/distribution/v1beta1/pagination.d.ts +128 -0
  18. package/dist/module/cosmos/distribution/v1beta1/pagination.js +220 -0
  19. package/dist/module/cosmos/distribution/v1beta1/query.d.ts +995 -0
  20. package/dist/module/cosmos/distribution/v1beta1/query.js +1316 -0
  21. package/dist/module/cosmos/distribution/v1beta1/tx.d.ts +593 -0
  22. package/dist/module/cosmos/distribution/v1beta1/tx.js +811 -0
  23. package/dist/module/cosmos/index.d.ts +135 -0
  24. package/dist/module/cosmos/index.js +48 -1
  25. package/package.json +1 -1
@@ -0,0 +1,593 @@
1
+ import _m0 from "protobufjs/minimal";
2
+ import { Coin } from "../../base/v1beta1/coin";
3
+ import { Params } from "./distribution";
4
+ export declare const protobufPackage = "cosmos.distribution.v1beta1";
5
+ /**
6
+ * MsgSetWithdrawAddress sets the withdraw address for
7
+ * a delegator (or validator self-delegation).
8
+ */
9
+ export interface MsgSetWithdrawAddress {
10
+ delegatorAddress: string;
11
+ withdrawAddress: string;
12
+ }
13
+ /**
14
+ * MsgSetWithdrawAddressResponse defines the Msg/SetWithdrawAddress response
15
+ * type.
16
+ */
17
+ export interface MsgSetWithdrawAddressResponse {
18
+ }
19
+ /**
20
+ * MsgWithdrawDelegatorReward represents delegation withdrawal to a delegator
21
+ * from a single validator.
22
+ */
23
+ export interface MsgWithdrawDelegatorReward {
24
+ delegatorAddress: string;
25
+ validatorAddress: string;
26
+ }
27
+ /**
28
+ * MsgWithdrawDelegatorRewardResponse defines the Msg/WithdrawDelegatorReward
29
+ * response type.
30
+ */
31
+ export interface MsgWithdrawDelegatorRewardResponse {
32
+ /** Since: cosmos-sdk 0.46 */
33
+ amount: Coin[];
34
+ }
35
+ /**
36
+ * MsgWithdrawValidatorCommission withdraws the full commission to the validator
37
+ * address.
38
+ */
39
+ export interface MsgWithdrawValidatorCommission {
40
+ validatorAddress: string;
41
+ }
42
+ /**
43
+ * MsgWithdrawValidatorCommissionResponse defines the
44
+ * Msg/WithdrawValidatorCommission response type.
45
+ */
46
+ export interface MsgWithdrawValidatorCommissionResponse {
47
+ /** Since: cosmos-sdk 0.46 */
48
+ amount: Coin[];
49
+ }
50
+ /**
51
+ * MsgFundCommunityPool allows an account to directly
52
+ * fund the community pool.
53
+ */
54
+ export interface MsgFundCommunityPool {
55
+ amount: Coin[];
56
+ depositor: string;
57
+ }
58
+ /** MsgFundCommunityPoolResponse defines the Msg/FundCommunityPool response type. */
59
+ export interface MsgFundCommunityPoolResponse {
60
+ }
61
+ /**
62
+ * MsgUpdateParams is the Msg/UpdateParams request type.
63
+ *
64
+ * Since: cosmos-sdk 0.47
65
+ */
66
+ export interface MsgUpdateParams {
67
+ /** authority is the address that controls the module (defaults to x/gov unless overwritten). */
68
+ authority: string;
69
+ /**
70
+ * params defines the x/distribution parameters to update.
71
+ *
72
+ * NOTE: All parameters must be supplied.
73
+ */
74
+ params: Params | undefined;
75
+ }
76
+ /**
77
+ * MsgUpdateParamsResponse defines the response structure for executing a
78
+ * MsgUpdateParams message.
79
+ *
80
+ * Since: cosmos-sdk 0.47
81
+ */
82
+ export interface MsgUpdateParamsResponse {
83
+ }
84
+ /**
85
+ * MsgCommunityPoolSpend defines a message for sending tokens from the community
86
+ * pool to another account. This message is typically executed via a governance
87
+ * proposal with the governance module being the executing authority.
88
+ *
89
+ * Since: cosmos-sdk 0.47
90
+ */
91
+ export interface MsgCommunityPoolSpend {
92
+ /** authority is the address that controls the module (defaults to x/gov unless overwritten). */
93
+ authority: string;
94
+ recipient: string;
95
+ amount: Coin[];
96
+ }
97
+ /**
98
+ * MsgCommunityPoolSpendResponse defines the response to executing a
99
+ * MsgCommunityPoolSpend message.
100
+ *
101
+ * Since: cosmos-sdk 0.47
102
+ */
103
+ export interface MsgCommunityPoolSpendResponse {
104
+ }
105
+ /**
106
+ * DepositValidatorRewardsPool defines the request structure to provide
107
+ * additional rewards to delegators from a specific validator.
108
+ *
109
+ * Since: cosmos-sdk 0.48
110
+ */
111
+ export interface MsgDepositValidatorRewardsPool {
112
+ depositor: string;
113
+ validatorAddress: string;
114
+ amount: Coin[];
115
+ }
116
+ /**
117
+ * MsgDepositValidatorRewardsPoolResponse defines the response to executing a
118
+ * MsgDepositValidatorRewardsPool message.
119
+ *
120
+ * Since: cosmos-sdk 0.48
121
+ */
122
+ export interface MsgDepositValidatorRewardsPoolResponse {
123
+ }
124
+ export declare const MsgSetWithdrawAddress: {
125
+ encode(message: MsgSetWithdrawAddress, writer?: _m0.Writer): _m0.Writer;
126
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgSetWithdrawAddress;
127
+ fromJSON(object: any): MsgSetWithdrawAddress;
128
+ toJSON(message: MsgSetWithdrawAddress): unknown;
129
+ create<I extends {
130
+ delegatorAddress?: string;
131
+ withdrawAddress?: string;
132
+ } & {
133
+ delegatorAddress?: string;
134
+ withdrawAddress?: string;
135
+ } & { [K in Exclude<keyof I, keyof MsgSetWithdrawAddress>]: never; }>(base?: I): MsgSetWithdrawAddress;
136
+ fromPartial<I_1 extends {
137
+ delegatorAddress?: string;
138
+ withdrawAddress?: string;
139
+ } & {
140
+ delegatorAddress?: string;
141
+ withdrawAddress?: string;
142
+ } & { [K_1 in Exclude<keyof I_1, keyof MsgSetWithdrawAddress>]: never; }>(object: I_1): MsgSetWithdrawAddress;
143
+ };
144
+ export declare const MsgSetWithdrawAddressResponse: {
145
+ encode(_: MsgSetWithdrawAddressResponse, writer?: _m0.Writer): _m0.Writer;
146
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgSetWithdrawAddressResponse;
147
+ fromJSON(_: any): MsgSetWithdrawAddressResponse;
148
+ toJSON(_: MsgSetWithdrawAddressResponse): unknown;
149
+ create<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(base?: I): MsgSetWithdrawAddressResponse;
150
+ fromPartial<I_1 extends {} & {} & { [K_1 in Exclude<keyof I_1, never>]: never; }>(_: I_1): MsgSetWithdrawAddressResponse;
151
+ };
152
+ export declare const MsgWithdrawDelegatorReward: {
153
+ encode(message: MsgWithdrawDelegatorReward, writer?: _m0.Writer): _m0.Writer;
154
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawDelegatorReward;
155
+ fromJSON(object: any): MsgWithdrawDelegatorReward;
156
+ toJSON(message: MsgWithdrawDelegatorReward): unknown;
157
+ create<I extends {
158
+ delegatorAddress?: string;
159
+ validatorAddress?: string;
160
+ } & {
161
+ delegatorAddress?: string;
162
+ validatorAddress?: string;
163
+ } & { [K in Exclude<keyof I, keyof MsgWithdrawDelegatorReward>]: never; }>(base?: I): MsgWithdrawDelegatorReward;
164
+ fromPartial<I_1 extends {
165
+ delegatorAddress?: string;
166
+ validatorAddress?: string;
167
+ } & {
168
+ delegatorAddress?: string;
169
+ validatorAddress?: string;
170
+ } & { [K_1 in Exclude<keyof I_1, keyof MsgWithdrawDelegatorReward>]: never; }>(object: I_1): MsgWithdrawDelegatorReward;
171
+ };
172
+ export declare const MsgWithdrawDelegatorRewardResponse: {
173
+ encode(message: MsgWithdrawDelegatorRewardResponse, writer?: _m0.Writer): _m0.Writer;
174
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawDelegatorRewardResponse;
175
+ fromJSON(object: any): MsgWithdrawDelegatorRewardResponse;
176
+ toJSON(message: MsgWithdrawDelegatorRewardResponse): unknown;
177
+ create<I extends {
178
+ amount?: {
179
+ denom?: string;
180
+ amount?: string;
181
+ }[];
182
+ } & {
183
+ amount?: {
184
+ denom?: string;
185
+ amount?: string;
186
+ }[] & ({
187
+ denom?: string;
188
+ amount?: string;
189
+ } & {
190
+ denom?: string;
191
+ amount?: string;
192
+ } & { [K in Exclude<keyof I["amount"][number], keyof Coin>]: never; })[] & { [K_1 in Exclude<keyof I["amount"], keyof {
193
+ denom?: string;
194
+ amount?: string;
195
+ }[]>]: never; };
196
+ } & { [K_2 in Exclude<keyof I, "amount">]: never; }>(base?: I): MsgWithdrawDelegatorRewardResponse;
197
+ fromPartial<I_1 extends {
198
+ amount?: {
199
+ denom?: string;
200
+ amount?: string;
201
+ }[];
202
+ } & {
203
+ amount?: {
204
+ denom?: string;
205
+ amount?: string;
206
+ }[] & ({
207
+ denom?: string;
208
+ amount?: string;
209
+ } & {
210
+ denom?: string;
211
+ amount?: string;
212
+ } & { [K_3 in Exclude<keyof I_1["amount"][number], keyof Coin>]: never; })[] & { [K_4 in Exclude<keyof I_1["amount"], keyof {
213
+ denom?: string;
214
+ amount?: string;
215
+ }[]>]: never; };
216
+ } & { [K_5 in Exclude<keyof I_1, "amount">]: never; }>(object: I_1): MsgWithdrawDelegatorRewardResponse;
217
+ };
218
+ export declare const MsgWithdrawValidatorCommission: {
219
+ encode(message: MsgWithdrawValidatorCommission, writer?: _m0.Writer): _m0.Writer;
220
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawValidatorCommission;
221
+ fromJSON(object: any): MsgWithdrawValidatorCommission;
222
+ toJSON(message: MsgWithdrawValidatorCommission): unknown;
223
+ create<I extends {
224
+ validatorAddress?: string;
225
+ } & {
226
+ validatorAddress?: string;
227
+ } & { [K in Exclude<keyof I, "validatorAddress">]: never; }>(base?: I): MsgWithdrawValidatorCommission;
228
+ fromPartial<I_1 extends {
229
+ validatorAddress?: string;
230
+ } & {
231
+ validatorAddress?: string;
232
+ } & { [K_1 in Exclude<keyof I_1, "validatorAddress">]: never; }>(object: I_1): MsgWithdrawValidatorCommission;
233
+ };
234
+ export declare const MsgWithdrawValidatorCommissionResponse: {
235
+ encode(message: MsgWithdrawValidatorCommissionResponse, writer?: _m0.Writer): _m0.Writer;
236
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawValidatorCommissionResponse;
237
+ fromJSON(object: any): MsgWithdrawValidatorCommissionResponse;
238
+ toJSON(message: MsgWithdrawValidatorCommissionResponse): unknown;
239
+ create<I extends {
240
+ amount?: {
241
+ denom?: string;
242
+ amount?: string;
243
+ }[];
244
+ } & {
245
+ amount?: {
246
+ denom?: string;
247
+ amount?: string;
248
+ }[] & ({
249
+ denom?: string;
250
+ amount?: string;
251
+ } & {
252
+ denom?: string;
253
+ amount?: string;
254
+ } & { [K in Exclude<keyof I["amount"][number], keyof Coin>]: never; })[] & { [K_1 in Exclude<keyof I["amount"], keyof {
255
+ denom?: string;
256
+ amount?: string;
257
+ }[]>]: never; };
258
+ } & { [K_2 in Exclude<keyof I, "amount">]: never; }>(base?: I): MsgWithdrawValidatorCommissionResponse;
259
+ fromPartial<I_1 extends {
260
+ amount?: {
261
+ denom?: string;
262
+ amount?: string;
263
+ }[];
264
+ } & {
265
+ amount?: {
266
+ denom?: string;
267
+ amount?: string;
268
+ }[] & ({
269
+ denom?: string;
270
+ amount?: string;
271
+ } & {
272
+ denom?: string;
273
+ amount?: string;
274
+ } & { [K_3 in Exclude<keyof I_1["amount"][number], keyof Coin>]: never; })[] & { [K_4 in Exclude<keyof I_1["amount"], keyof {
275
+ denom?: string;
276
+ amount?: string;
277
+ }[]>]: never; };
278
+ } & { [K_5 in Exclude<keyof I_1, "amount">]: never; }>(object: I_1): MsgWithdrawValidatorCommissionResponse;
279
+ };
280
+ export declare const MsgFundCommunityPool: {
281
+ encode(message: MsgFundCommunityPool, writer?: _m0.Writer): _m0.Writer;
282
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgFundCommunityPool;
283
+ fromJSON(object: any): MsgFundCommunityPool;
284
+ toJSON(message: MsgFundCommunityPool): unknown;
285
+ create<I extends {
286
+ amount?: {
287
+ denom?: string;
288
+ amount?: string;
289
+ }[];
290
+ depositor?: string;
291
+ } & {
292
+ amount?: {
293
+ denom?: string;
294
+ amount?: string;
295
+ }[] & ({
296
+ denom?: string;
297
+ amount?: string;
298
+ } & {
299
+ denom?: string;
300
+ amount?: string;
301
+ } & { [K in Exclude<keyof I["amount"][number], keyof Coin>]: never; })[] & { [K_1 in Exclude<keyof I["amount"], keyof {
302
+ denom?: string;
303
+ amount?: string;
304
+ }[]>]: never; };
305
+ depositor?: string;
306
+ } & { [K_2 in Exclude<keyof I, keyof MsgFundCommunityPool>]: never; }>(base?: I): MsgFundCommunityPool;
307
+ fromPartial<I_1 extends {
308
+ amount?: {
309
+ denom?: string;
310
+ amount?: string;
311
+ }[];
312
+ depositor?: string;
313
+ } & {
314
+ amount?: {
315
+ denom?: string;
316
+ amount?: string;
317
+ }[] & ({
318
+ denom?: string;
319
+ amount?: string;
320
+ } & {
321
+ denom?: string;
322
+ amount?: string;
323
+ } & { [K_3 in Exclude<keyof I_1["amount"][number], keyof Coin>]: never; })[] & { [K_4 in Exclude<keyof I_1["amount"], keyof {
324
+ denom?: string;
325
+ amount?: string;
326
+ }[]>]: never; };
327
+ depositor?: string;
328
+ } & { [K_5 in Exclude<keyof I_1, keyof MsgFundCommunityPool>]: never; }>(object: I_1): MsgFundCommunityPool;
329
+ };
330
+ export declare const MsgFundCommunityPoolResponse: {
331
+ encode(_: MsgFundCommunityPoolResponse, writer?: _m0.Writer): _m0.Writer;
332
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgFundCommunityPoolResponse;
333
+ fromJSON(_: any): MsgFundCommunityPoolResponse;
334
+ toJSON(_: MsgFundCommunityPoolResponse): unknown;
335
+ create<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(base?: I): MsgFundCommunityPoolResponse;
336
+ fromPartial<I_1 extends {} & {} & { [K_1 in Exclude<keyof I_1, never>]: never; }>(_: I_1): MsgFundCommunityPoolResponse;
337
+ };
338
+ export declare const MsgUpdateParams: {
339
+ encode(message: MsgUpdateParams, writer?: _m0.Writer): _m0.Writer;
340
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateParams;
341
+ fromJSON(object: any): MsgUpdateParams;
342
+ toJSON(message: MsgUpdateParams): unknown;
343
+ create<I extends {
344
+ authority?: string;
345
+ params?: {
346
+ communityTax?: string;
347
+ baseProposerReward?: string;
348
+ bonusProposerReward?: string;
349
+ withdrawAddrEnabled?: boolean;
350
+ };
351
+ } & {
352
+ authority?: string;
353
+ params?: {
354
+ communityTax?: string;
355
+ baseProposerReward?: string;
356
+ bonusProposerReward?: string;
357
+ withdrawAddrEnabled?: boolean;
358
+ } & {
359
+ communityTax?: string;
360
+ baseProposerReward?: string;
361
+ bonusProposerReward?: string;
362
+ withdrawAddrEnabled?: boolean;
363
+ } & { [K in Exclude<keyof I["params"], keyof Params>]: never; };
364
+ } & { [K_1 in Exclude<keyof I, keyof MsgUpdateParams>]: never; }>(base?: I): MsgUpdateParams;
365
+ fromPartial<I_1 extends {
366
+ authority?: string;
367
+ params?: {
368
+ communityTax?: string;
369
+ baseProposerReward?: string;
370
+ bonusProposerReward?: string;
371
+ withdrawAddrEnabled?: boolean;
372
+ };
373
+ } & {
374
+ authority?: string;
375
+ params?: {
376
+ communityTax?: string;
377
+ baseProposerReward?: string;
378
+ bonusProposerReward?: string;
379
+ withdrawAddrEnabled?: boolean;
380
+ } & {
381
+ communityTax?: string;
382
+ baseProposerReward?: string;
383
+ bonusProposerReward?: string;
384
+ withdrawAddrEnabled?: boolean;
385
+ } & { [K_2 in Exclude<keyof I_1["params"], keyof Params>]: never; };
386
+ } & { [K_3 in Exclude<keyof I_1, keyof MsgUpdateParams>]: never; }>(object: I_1): MsgUpdateParams;
387
+ };
388
+ export declare const MsgUpdateParamsResponse: {
389
+ encode(_: MsgUpdateParamsResponse, writer?: _m0.Writer): _m0.Writer;
390
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateParamsResponse;
391
+ fromJSON(_: any): MsgUpdateParamsResponse;
392
+ toJSON(_: MsgUpdateParamsResponse): unknown;
393
+ create<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(base?: I): MsgUpdateParamsResponse;
394
+ fromPartial<I_1 extends {} & {} & { [K_1 in Exclude<keyof I_1, never>]: never; }>(_: I_1): MsgUpdateParamsResponse;
395
+ };
396
+ export declare const MsgCommunityPoolSpend: {
397
+ encode(message: MsgCommunityPoolSpend, writer?: _m0.Writer): _m0.Writer;
398
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgCommunityPoolSpend;
399
+ fromJSON(object: any): MsgCommunityPoolSpend;
400
+ toJSON(message: MsgCommunityPoolSpend): unknown;
401
+ create<I extends {
402
+ authority?: string;
403
+ recipient?: string;
404
+ amount?: {
405
+ denom?: string;
406
+ amount?: string;
407
+ }[];
408
+ } & {
409
+ authority?: string;
410
+ recipient?: string;
411
+ amount?: {
412
+ denom?: string;
413
+ amount?: string;
414
+ }[] & ({
415
+ denom?: string;
416
+ amount?: string;
417
+ } & {
418
+ denom?: string;
419
+ amount?: string;
420
+ } & { [K in Exclude<keyof I["amount"][number], keyof Coin>]: never; })[] & { [K_1 in Exclude<keyof I["amount"], keyof {
421
+ denom?: string;
422
+ amount?: string;
423
+ }[]>]: never; };
424
+ } & { [K_2 in Exclude<keyof I, keyof MsgCommunityPoolSpend>]: never; }>(base?: I): MsgCommunityPoolSpend;
425
+ fromPartial<I_1 extends {
426
+ authority?: string;
427
+ recipient?: string;
428
+ amount?: {
429
+ denom?: string;
430
+ amount?: string;
431
+ }[];
432
+ } & {
433
+ authority?: string;
434
+ recipient?: string;
435
+ amount?: {
436
+ denom?: string;
437
+ amount?: string;
438
+ }[] & ({
439
+ denom?: string;
440
+ amount?: string;
441
+ } & {
442
+ denom?: string;
443
+ amount?: string;
444
+ } & { [K_3 in Exclude<keyof I_1["amount"][number], keyof Coin>]: never; })[] & { [K_4 in Exclude<keyof I_1["amount"], keyof {
445
+ denom?: string;
446
+ amount?: string;
447
+ }[]>]: never; };
448
+ } & { [K_5 in Exclude<keyof I_1, keyof MsgCommunityPoolSpend>]: never; }>(object: I_1): MsgCommunityPoolSpend;
449
+ };
450
+ export declare const MsgCommunityPoolSpendResponse: {
451
+ encode(_: MsgCommunityPoolSpendResponse, writer?: _m0.Writer): _m0.Writer;
452
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgCommunityPoolSpendResponse;
453
+ fromJSON(_: any): MsgCommunityPoolSpendResponse;
454
+ toJSON(_: MsgCommunityPoolSpendResponse): unknown;
455
+ create<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(base?: I): MsgCommunityPoolSpendResponse;
456
+ fromPartial<I_1 extends {} & {} & { [K_1 in Exclude<keyof I_1, never>]: never; }>(_: I_1): MsgCommunityPoolSpendResponse;
457
+ };
458
+ export declare const MsgDepositValidatorRewardsPool: {
459
+ encode(message: MsgDepositValidatorRewardsPool, writer?: _m0.Writer): _m0.Writer;
460
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgDepositValidatorRewardsPool;
461
+ fromJSON(object: any): MsgDepositValidatorRewardsPool;
462
+ toJSON(message: MsgDepositValidatorRewardsPool): unknown;
463
+ create<I extends {
464
+ depositor?: string;
465
+ validatorAddress?: string;
466
+ amount?: {
467
+ denom?: string;
468
+ amount?: string;
469
+ }[];
470
+ } & {
471
+ depositor?: string;
472
+ validatorAddress?: string;
473
+ amount?: {
474
+ denom?: string;
475
+ amount?: string;
476
+ }[] & ({
477
+ denom?: string;
478
+ amount?: string;
479
+ } & {
480
+ denom?: string;
481
+ amount?: string;
482
+ } & { [K in Exclude<keyof I["amount"][number], keyof Coin>]: never; })[] & { [K_1 in Exclude<keyof I["amount"], keyof {
483
+ denom?: string;
484
+ amount?: string;
485
+ }[]>]: never; };
486
+ } & { [K_2 in Exclude<keyof I, keyof MsgDepositValidatorRewardsPool>]: never; }>(base?: I): MsgDepositValidatorRewardsPool;
487
+ fromPartial<I_1 extends {
488
+ depositor?: string;
489
+ validatorAddress?: string;
490
+ amount?: {
491
+ denom?: string;
492
+ amount?: string;
493
+ }[];
494
+ } & {
495
+ depositor?: string;
496
+ validatorAddress?: string;
497
+ amount?: {
498
+ denom?: string;
499
+ amount?: string;
500
+ }[] & ({
501
+ denom?: string;
502
+ amount?: string;
503
+ } & {
504
+ denom?: string;
505
+ amount?: string;
506
+ } & { [K_3 in Exclude<keyof I_1["amount"][number], keyof Coin>]: never; })[] & { [K_4 in Exclude<keyof I_1["amount"], keyof {
507
+ denom?: string;
508
+ amount?: string;
509
+ }[]>]: never; };
510
+ } & { [K_5 in Exclude<keyof I_1, keyof MsgDepositValidatorRewardsPool>]: never; }>(object: I_1): MsgDepositValidatorRewardsPool;
511
+ };
512
+ export declare const MsgDepositValidatorRewardsPoolResponse: {
513
+ encode(_: MsgDepositValidatorRewardsPoolResponse, writer?: _m0.Writer): _m0.Writer;
514
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgDepositValidatorRewardsPoolResponse;
515
+ fromJSON(_: any): MsgDepositValidatorRewardsPoolResponse;
516
+ toJSON(_: MsgDepositValidatorRewardsPoolResponse): unknown;
517
+ create<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(base?: I): MsgDepositValidatorRewardsPoolResponse;
518
+ fromPartial<I_1 extends {} & {} & { [K_1 in Exclude<keyof I_1, never>]: never; }>(_: I_1): MsgDepositValidatorRewardsPoolResponse;
519
+ };
520
+ /** Msg defines the distribution Msg service. */
521
+ export interface Msg {
522
+ /**
523
+ * SetWithdrawAddress defines a method to change the withdraw address
524
+ * for a delegator (or validator self-delegation).
525
+ */
526
+ SetWithdrawAddress(request: MsgSetWithdrawAddress): Promise<MsgSetWithdrawAddressResponse>;
527
+ /**
528
+ * WithdrawDelegatorReward defines a method to withdraw rewards of delegator
529
+ * from a single validator.
530
+ */
531
+ WithdrawDelegatorReward(request: MsgWithdrawDelegatorReward): Promise<MsgWithdrawDelegatorRewardResponse>;
532
+ /**
533
+ * WithdrawValidatorCommission defines a method to withdraw the
534
+ * full commission to the validator address.
535
+ */
536
+ WithdrawValidatorCommission(request: MsgWithdrawValidatorCommission): Promise<MsgWithdrawValidatorCommissionResponse>;
537
+ /**
538
+ * FundCommunityPool defines a method to allow an account to directly
539
+ * fund the community pool.
540
+ */
541
+ FundCommunityPool(request: MsgFundCommunityPool): Promise<MsgFundCommunityPoolResponse>;
542
+ /**
543
+ * UpdateParams defines a governance operation for updating the x/distribution
544
+ * module parameters. The authority is defined in the keeper.
545
+ *
546
+ * Since: cosmos-sdk 0.47
547
+ */
548
+ UpdateParams(request: MsgUpdateParams): Promise<MsgUpdateParamsResponse>;
549
+ /**
550
+ * CommunityPoolSpend defines a governance operation for sending tokens from
551
+ * the community pool in the x/distribution module to another account, which
552
+ * could be the governance module itself. The authority is defined in the
553
+ * keeper.
554
+ *
555
+ * Since: cosmos-sdk 0.47
556
+ */
557
+ CommunityPoolSpend(request: MsgCommunityPoolSpend): Promise<MsgCommunityPoolSpendResponse>;
558
+ /**
559
+ * DepositValidatorRewardsPool defines a method to provide additional rewards
560
+ * to delegators to a specific validator.
561
+ *
562
+ * Since: cosmos-sdk 0.48
563
+ */
564
+ DepositValidatorRewardsPool(request: MsgDepositValidatorRewardsPool): Promise<MsgDepositValidatorRewardsPoolResponse>;
565
+ }
566
+ export declare class MsgClientImpl implements Msg {
567
+ private readonly rpc;
568
+ private readonly service;
569
+ constructor(rpc: Rpc, opts?: {
570
+ service?: string;
571
+ });
572
+ SetWithdrawAddress(request: MsgSetWithdrawAddress): Promise<MsgSetWithdrawAddressResponse>;
573
+ WithdrawDelegatorReward(request: MsgWithdrawDelegatorReward): Promise<MsgWithdrawDelegatorRewardResponse>;
574
+ WithdrawValidatorCommission(request: MsgWithdrawValidatorCommission): Promise<MsgWithdrawValidatorCommissionResponse>;
575
+ FundCommunityPool(request: MsgFundCommunityPool): Promise<MsgFundCommunityPoolResponse>;
576
+ UpdateParams(request: MsgUpdateParams): Promise<MsgUpdateParamsResponse>;
577
+ CommunityPoolSpend(request: MsgCommunityPoolSpend): Promise<MsgCommunityPoolSpendResponse>;
578
+ DepositValidatorRewardsPool(request: MsgDepositValidatorRewardsPool): Promise<MsgDepositValidatorRewardsPoolResponse>;
579
+ }
580
+ interface Rpc {
581
+ request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
582
+ }
583
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
584
+ 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 {} ? {
585
+ [K in keyof T]?: DeepPartial<T[K]>;
586
+ } : Partial<T>;
587
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
588
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
589
+ [K in keyof P]: Exact<P[K], I[K]>;
590
+ } & {
591
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
592
+ };
593
+ export {};