coreum-js 2.5.8 → 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 (101) hide show
  1. package/dist/main/cosmos/bank/v1beta1/authz.d.ts +80 -0
  2. package/dist/main/cosmos/bank/v1beta1/authz.js +84 -0
  3. package/dist/main/cosmos/bank/v1beta1/bank.d.ts +440 -0
  4. package/dist/main/cosmos/bank/v1beta1/bank.js +557 -0
  5. package/dist/main/cosmos/bank/v1beta1/genesis.d.ts +473 -0
  6. package/dist/main/cosmos/bank/v1beta1/genesis.js +208 -0
  7. package/dist/main/cosmos/bank/v1beta1/pagination.d.ts +128 -0
  8. package/dist/main/cosmos/bank/v1beta1/pagination.js +228 -0
  9. package/dist/main/cosmos/bank/v1beta1/query.d.ts +1633 -0
  10. package/dist/main/cosmos/bank/v1beta1/query.js +1596 -0
  11. package/dist/main/cosmos/bank/v1beta1/tx.d.ts +514 -0
  12. package/dist/main/cosmos/bank/v1beta1/tx.js +499 -0
  13. package/dist/main/cosmos/distribution/v1beta1/distribution.d.ts +638 -0
  14. package/dist/main/cosmos/distribution/v1beta1/distribution.js +888 -0
  15. package/dist/main/cosmos/distribution/v1beta1/genesis.d.ts +1259 -0
  16. package/dist/main/cosmos/distribution/v1beta1/genesis.js +785 -0
  17. package/dist/main/cosmos/distribution/v1beta1/pagination.d.ts +128 -0
  18. package/dist/main/cosmos/distribution/v1beta1/pagination.js +228 -0
  19. package/dist/main/cosmos/distribution/v1beta1/query.d.ts +995 -0
  20. package/dist/main/cosmos/distribution/v1beta1/query.js +1336 -0
  21. package/dist/main/cosmos/distribution/v1beta1/tx.d.ts +593 -0
  22. package/dist/main/cosmos/distribution/v1beta1/tx.js +825 -0
  23. package/dist/main/cosmos/feegrant/v1beta1/feegrant.d.ts +367 -0
  24. package/dist/main/cosmos/feegrant/v1beta1/feegrant.js +413 -0
  25. package/dist/main/cosmos/feegrant/v1beta1/genesis.d.ts +111 -0
  26. package/dist/main/cosmos/feegrant/v1beta1/genesis.js +67 -0
  27. package/dist/main/cosmos/feegrant/v1beta1/pagination.d.ts +128 -0
  28. package/dist/main/cosmos/feegrant/v1beta1/pagination.js +228 -0
  29. package/dist/main/cosmos/feegrant/v1beta1/query.d.ts +512 -0
  30. package/dist/main/cosmos/feegrant/v1beta1/query.js +461 -0
  31. package/dist/main/cosmos/feegrant/v1beta1/tx.d.ts +143 -0
  32. package/dist/main/cosmos/feegrant/v1beta1/tx.js +253 -0
  33. package/dist/main/cosmos/gov/v1beta1/genesis.d.ts +639 -0
  34. package/dist/main/cosmos/gov/v1beta1/genesis.js +195 -0
  35. package/dist/main/cosmos/gov/v1beta1/gov.d.ts +620 -0
  36. package/dist/main/cosmos/gov/v1beta1/gov.js +1038 -0
  37. package/dist/main/cosmos/gov/v1beta1/pagination.d.ts +128 -0
  38. package/dist/main/cosmos/gov/v1beta1/pagination.js +228 -0
  39. package/dist/main/cosmos/gov/v1beta1/query.d.ts +1511 -0
  40. package/dist/main/cosmos/gov/v1beta1/query.js +1187 -0
  41. package/dist/main/cosmos/gov/v1beta1/tx.d.ts +350 -0
  42. package/dist/main/cosmos/gov/v1beta1/tx.js +567 -0
  43. package/dist/main/cosmos/index.d.ts +456 -0
  44. package/dist/main/cosmos/index.js +126 -0
  45. package/dist/main/google/protobuf/descriptor.d.ts +101937 -0
  46. package/dist/main/google/protobuf/descriptor.js +3375 -0
  47. package/dist/main/google/protobuf/duration.d.ts +110 -0
  48. package/dist/main/google/protobuf/duration.js +102 -0
  49. package/dist/main/google/protobuf/timestamp.d.ts +139 -0
  50. package/dist/main/google/protobuf/timestamp.js +102 -0
  51. package/dist/module/cosmos/bank/v1beta1/authz.d.ts +80 -0
  52. package/dist/module/cosmos/bank/v1beta1/authz.js +77 -0
  53. package/dist/module/cosmos/bank/v1beta1/bank.d.ts +440 -0
  54. package/dist/module/cosmos/bank/v1beta1/bank.js +544 -0
  55. package/dist/module/cosmos/bank/v1beta1/genesis.d.ts +473 -0
  56. package/dist/module/cosmos/bank/v1beta1/genesis.js +200 -0
  57. package/dist/module/cosmos/bank/v1beta1/pagination.d.ts +128 -0
  58. package/dist/module/cosmos/bank/v1beta1/pagination.js +220 -0
  59. package/dist/module/cosmos/bank/v1beta1/query.d.ts +1633 -0
  60. package/dist/module/cosmos/bank/v1beta1/query.js +1576 -0
  61. package/dist/module/cosmos/bank/v1beta1/tx.d.ts +514 -0
  62. package/dist/module/cosmos/bank/v1beta1/tx.js +490 -0
  63. package/dist/module/cosmos/distribution/v1beta1/distribution.d.ts +638 -0
  64. package/dist/module/cosmos/distribution/v1beta1/distribution.js +870 -0
  65. package/dist/module/cosmos/distribution/v1beta1/genesis.d.ts +1259 -0
  66. package/dist/module/cosmos/distribution/v1beta1/genesis.js +771 -0
  67. package/dist/module/cosmos/distribution/v1beta1/pagination.d.ts +128 -0
  68. package/dist/module/cosmos/distribution/v1beta1/pagination.js +220 -0
  69. package/dist/module/cosmos/distribution/v1beta1/query.d.ts +995 -0
  70. package/dist/module/cosmos/distribution/v1beta1/query.js +1316 -0
  71. package/dist/module/cosmos/distribution/v1beta1/tx.d.ts +593 -0
  72. package/dist/module/cosmos/distribution/v1beta1/tx.js +811 -0
  73. package/dist/module/cosmos/feegrant/v1beta1/feegrant.d.ts +367 -0
  74. package/dist/module/cosmos/feegrant/v1beta1/feegrant.js +403 -0
  75. package/dist/module/cosmos/feegrant/v1beta1/genesis.d.ts +111 -0
  76. package/dist/module/cosmos/feegrant/v1beta1/genesis.js +60 -0
  77. package/dist/module/cosmos/feegrant/v1beta1/pagination.d.ts +128 -0
  78. package/dist/module/cosmos/feegrant/v1beta1/pagination.js +220 -0
  79. package/dist/module/cosmos/feegrant/v1beta1/query.d.ts +512 -0
  80. package/dist/module/cosmos/feegrant/v1beta1/query.js +451 -0
  81. package/dist/module/cosmos/feegrant/v1beta1/tx.d.ts +143 -0
  82. package/dist/module/cosmos/feegrant/v1beta1/tx.js +246 -0
  83. package/dist/module/cosmos/gov/v1beta1/genesis.d.ts +639 -0
  84. package/dist/module/cosmos/gov/v1beta1/genesis.js +188 -0
  85. package/dist/module/cosmos/gov/v1beta1/gov.d.ts +620 -0
  86. package/dist/module/cosmos/gov/v1beta1/gov.js +1020 -0
  87. package/dist/module/cosmos/gov/v1beta1/pagination.d.ts +128 -0
  88. package/dist/module/cosmos/gov/v1beta1/pagination.js +220 -0
  89. package/dist/module/cosmos/gov/v1beta1/query.d.ts +1511 -0
  90. package/dist/module/cosmos/gov/v1beta1/query.js +1171 -0
  91. package/dist/module/cosmos/gov/v1beta1/tx.d.ts +350 -0
  92. package/dist/module/cosmos/gov/v1beta1/tx.js +557 -0
  93. package/dist/module/cosmos/index.d.ts +456 -0
  94. package/dist/module/cosmos/index.js +123 -0
  95. package/dist/module/google/protobuf/descriptor.d.ts +101937 -0
  96. package/dist/module/google/protobuf/descriptor.js +3330 -0
  97. package/dist/module/google/protobuf/duration.d.ts +110 -0
  98. package/dist/module/google/protobuf/duration.js +95 -0
  99. package/dist/module/google/protobuf/timestamp.d.ts +139 -0
  100. package/dist/module/google/protobuf/timestamp.js +95 -0
  101. package/package.json +1 -1
@@ -0,0 +1,456 @@
1
+ import { MsgDeposit, MsgSubmitProposal, MsgVote, MsgVoteWeighted } from "./gov/v1beta1/tx";
2
+ import { MsgGrantAllowance, MsgRevokeAllowance } from "./feegrant/v1beta1/tx";
3
+ import { MsgMultiSend, MsgSend, MsgSetSendEnabled, MsgUpdateParams } from "./bank/v1beta1/tx";
4
+ import { MsgCommunityPoolSpend, MsgDepositValidatorRewardsPool, MsgFundCommunityPool, MsgSetWithdrawAddress, MsgUpdateParams as DMsgUpdateParams, MsgWithdrawDelegatorReward, MsgWithdrawValidatorCommission } from "./distribution/v1beta1/tx";
5
+ export declare namespace Governance {
6
+ const Deposit: <I extends {
7
+ proposalId?: number;
8
+ depositor?: string;
9
+ amount?: {
10
+ denom?: string;
11
+ amount?: string;
12
+ }[];
13
+ } & {
14
+ proposalId?: number;
15
+ depositor?: string;
16
+ amount?: {
17
+ denom?: string;
18
+ amount?: string;
19
+ }[] & ({
20
+ denom?: string;
21
+ amount?: string;
22
+ } & {
23
+ denom?: string;
24
+ amount?: string;
25
+ } & { [K in Exclude<keyof I["amount"][number], keyof import("./base/v1beta1/coin").Coin>]: never; })[] & { [K_1 in Exclude<keyof I["amount"], keyof {
26
+ denom?: string;
27
+ amount?: string;
28
+ }[]>]: never; };
29
+ } & { [K_2 in Exclude<keyof I, keyof MsgDeposit>]: never; }>(object: I) => {
30
+ typeUrl: string;
31
+ value: MsgDeposit;
32
+ };
33
+ const SubmitProposal: <I extends {
34
+ content?: {
35
+ typeUrl?: string;
36
+ value?: Uint8Array;
37
+ };
38
+ initialDeposit?: {
39
+ denom?: string;
40
+ amount?: string;
41
+ }[];
42
+ proposer?: string;
43
+ } & {
44
+ content?: {
45
+ typeUrl?: string;
46
+ value?: Uint8Array;
47
+ } & {
48
+ typeUrl?: string;
49
+ value?: Uint8Array;
50
+ } & { [K in Exclude<keyof I["content"], keyof import("../google/protobuf/any").Any>]: never; };
51
+ initialDeposit?: {
52
+ denom?: string;
53
+ amount?: string;
54
+ }[] & ({
55
+ denom?: string;
56
+ amount?: string;
57
+ } & {
58
+ denom?: string;
59
+ amount?: string;
60
+ } & { [K_1 in Exclude<keyof I["initialDeposit"][number], keyof import("./base/v1beta1/coin").Coin>]: never; })[] & { [K_2 in Exclude<keyof I["initialDeposit"], keyof {
61
+ denom?: string;
62
+ amount?: string;
63
+ }[]>]: never; };
64
+ proposer?: string;
65
+ } & { [K_3 in Exclude<keyof I, keyof MsgSubmitProposal>]: never; }>(object: I) => {
66
+ typeUrl: string;
67
+ value: MsgSubmitProposal;
68
+ };
69
+ const Vote: <I extends {
70
+ proposalId?: number;
71
+ voter?: string;
72
+ option?: import("./gov/v1beta1/gov").VoteOption;
73
+ } & {
74
+ proposalId?: number;
75
+ voter?: string;
76
+ option?: import("./gov/v1beta1/gov").VoteOption;
77
+ } & { [K in Exclude<keyof I, keyof MsgVote>]: never; }>(object: I) => {
78
+ typeUrl: string;
79
+ value: MsgVote;
80
+ };
81
+ const VoteWeighted: <I extends {
82
+ proposalId?: number;
83
+ voter?: string;
84
+ options?: {
85
+ option?: import("./gov/v1beta1/gov").VoteOption;
86
+ weight?: string;
87
+ }[];
88
+ } & {
89
+ proposalId?: number;
90
+ voter?: string;
91
+ options?: {
92
+ option?: import("./gov/v1beta1/gov").VoteOption;
93
+ weight?: string;
94
+ }[] & ({
95
+ option?: import("./gov/v1beta1/gov").VoteOption;
96
+ weight?: string;
97
+ } & {
98
+ option?: import("./gov/v1beta1/gov").VoteOption;
99
+ weight?: string;
100
+ } & { [K in Exclude<keyof I["options"][number], keyof import("./gov/v1beta1/gov").WeightedVoteOption>]: never; })[] & { [K_1 in Exclude<keyof I["options"], keyof {
101
+ option?: import("./gov/v1beta1/gov").VoteOption;
102
+ weight?: string;
103
+ }[]>]: never; };
104
+ } & { [K_2 in Exclude<keyof I, keyof MsgVoteWeighted>]: never; }>(object: I) => {
105
+ typeUrl: string;
106
+ value: MsgVoteWeighted;
107
+ };
108
+ }
109
+ export declare namespace Feegrant {
110
+ const GrantAllowance: <I extends {
111
+ granter?: string;
112
+ grantee?: string;
113
+ allowance?: {
114
+ typeUrl?: string;
115
+ value?: Uint8Array;
116
+ };
117
+ } & {
118
+ granter?: string;
119
+ grantee?: string;
120
+ allowance?: {
121
+ typeUrl?: string;
122
+ value?: Uint8Array;
123
+ } & {
124
+ typeUrl?: string;
125
+ value?: Uint8Array;
126
+ } & { [K in Exclude<keyof I["allowance"], keyof import("../google/protobuf/any").Any>]: never; };
127
+ } & { [K_1 in Exclude<keyof I, keyof MsgGrantAllowance>]: never; }>(object: I) => {
128
+ typeUrl: string;
129
+ value: MsgGrantAllowance;
130
+ };
131
+ const RevokeAllowance: <I extends {
132
+ granter?: string;
133
+ grantee?: string;
134
+ } & {
135
+ granter?: string;
136
+ grantee?: string;
137
+ } & { [K in Exclude<keyof I, keyof MsgRevokeAllowance>]: never; }>(object: I) => {
138
+ typeUrl: string;
139
+ value: MsgRevokeAllowance;
140
+ };
141
+ }
142
+ export declare namespace Bank {
143
+ const MultiSend: <I extends {
144
+ inputs?: {
145
+ address?: string;
146
+ coins?: {
147
+ denom?: string;
148
+ amount?: string;
149
+ }[];
150
+ }[];
151
+ outputs?: {
152
+ address?: string;
153
+ coins?: {
154
+ denom?: string;
155
+ amount?: string;
156
+ }[];
157
+ }[];
158
+ } & {
159
+ inputs?: {
160
+ address?: string;
161
+ coins?: {
162
+ denom?: string;
163
+ amount?: string;
164
+ }[];
165
+ }[] & ({
166
+ address?: string;
167
+ coins?: {
168
+ denom?: string;
169
+ amount?: string;
170
+ }[];
171
+ } & {
172
+ address?: string;
173
+ coins?: {
174
+ denom?: string;
175
+ amount?: string;
176
+ }[] & ({
177
+ denom?: string;
178
+ amount?: string;
179
+ } & {
180
+ denom?: string;
181
+ amount?: string;
182
+ } & { [K in Exclude<keyof I["inputs"][number]["coins"][number], keyof import("./base/v1beta1/coin").Coin>]: never; })[] & { [K_1 in Exclude<keyof I["inputs"][number]["coins"], keyof {
183
+ denom?: string;
184
+ amount?: string;
185
+ }[]>]: never; };
186
+ } & { [K_2 in Exclude<keyof I["inputs"][number], keyof import("./bank/v1beta1/bank").Input>]: never; })[] & { [K_3 in Exclude<keyof I["inputs"], keyof {
187
+ address?: string;
188
+ coins?: {
189
+ denom?: string;
190
+ amount?: string;
191
+ }[];
192
+ }[]>]: never; };
193
+ outputs?: {
194
+ address?: string;
195
+ coins?: {
196
+ denom?: string;
197
+ amount?: string;
198
+ }[];
199
+ }[] & ({
200
+ address?: string;
201
+ coins?: {
202
+ denom?: string;
203
+ amount?: string;
204
+ }[];
205
+ } & {
206
+ address?: string;
207
+ coins?: {
208
+ denom?: string;
209
+ amount?: string;
210
+ }[] & ({
211
+ denom?: string;
212
+ amount?: string;
213
+ } & {
214
+ denom?: string;
215
+ amount?: string;
216
+ } & { [K_4 in Exclude<keyof I["outputs"][number]["coins"][number], keyof import("./base/v1beta1/coin").Coin>]: never; })[] & { [K_5 in Exclude<keyof I["outputs"][number]["coins"], keyof {
217
+ denom?: string;
218
+ amount?: string;
219
+ }[]>]: never; };
220
+ } & { [K_6 in Exclude<keyof I["outputs"][number], keyof import("./bank/v1beta1/bank").Output>]: never; })[] & { [K_7 in Exclude<keyof I["outputs"], keyof {
221
+ address?: string;
222
+ coins?: {
223
+ denom?: string;
224
+ amount?: string;
225
+ }[];
226
+ }[]>]: never; };
227
+ } & { [K_8 in Exclude<keyof I, keyof MsgMultiSend>]: never; }>(object: I) => {
228
+ typeUrl: string;
229
+ value: MsgMultiSend;
230
+ };
231
+ const Send: <I extends {
232
+ fromAddress?: string;
233
+ toAddress?: string;
234
+ amount?: {
235
+ denom?: string;
236
+ amount?: string;
237
+ }[];
238
+ } & {
239
+ fromAddress?: string;
240
+ toAddress?: string;
241
+ amount?: {
242
+ denom?: string;
243
+ amount?: string;
244
+ }[] & ({
245
+ denom?: string;
246
+ amount?: string;
247
+ } & {
248
+ denom?: string;
249
+ amount?: string;
250
+ } & { [K in Exclude<keyof I["amount"][number], keyof import("./base/v1beta1/coin").Coin>]: never; })[] & { [K_1 in Exclude<keyof I["amount"], keyof {
251
+ denom?: string;
252
+ amount?: string;
253
+ }[]>]: never; };
254
+ } & { [K_2 in Exclude<keyof I, keyof MsgSend>]: never; }>(object: I) => {
255
+ typeUrl: string;
256
+ value: MsgSend;
257
+ };
258
+ const SetSendEnabled: <I extends {
259
+ authority?: string;
260
+ sendEnabled?: {
261
+ denom?: string;
262
+ enabled?: boolean;
263
+ }[];
264
+ useDefaultFor?: string[];
265
+ } & {
266
+ authority?: string;
267
+ sendEnabled?: {
268
+ denom?: string;
269
+ enabled?: boolean;
270
+ }[] & ({
271
+ denom?: string;
272
+ enabled?: boolean;
273
+ } & {
274
+ denom?: string;
275
+ enabled?: boolean;
276
+ } & { [K in Exclude<keyof I["sendEnabled"][number], keyof import("./bank/v1beta1/bank").SendEnabled>]: never; })[] & { [K_1 in Exclude<keyof I["sendEnabled"], keyof {
277
+ denom?: string;
278
+ enabled?: boolean;
279
+ }[]>]: never; };
280
+ useDefaultFor?: string[] & string[] & { [K_2 in Exclude<keyof I["useDefaultFor"], keyof string[]>]: never; };
281
+ } & { [K_3 in Exclude<keyof I, keyof MsgSetSendEnabled>]: never; }>(object: I) => {
282
+ typeUrl: string;
283
+ value: MsgSetSendEnabled;
284
+ };
285
+ const UpdateParams: <I extends {
286
+ authority?: string;
287
+ params?: {
288
+ sendEnabled?: {
289
+ denom?: string;
290
+ enabled?: boolean;
291
+ }[];
292
+ defaultSendEnabled?: boolean;
293
+ };
294
+ } & {
295
+ authority?: string;
296
+ params?: {
297
+ sendEnabled?: {
298
+ denom?: string;
299
+ enabled?: boolean;
300
+ }[];
301
+ defaultSendEnabled?: boolean;
302
+ } & {
303
+ sendEnabled?: {
304
+ denom?: string;
305
+ enabled?: boolean;
306
+ }[] & ({
307
+ denom?: string;
308
+ enabled?: boolean;
309
+ } & {
310
+ denom?: string;
311
+ enabled?: boolean;
312
+ } & { [K in Exclude<keyof I["params"]["sendEnabled"][number], keyof import("./bank/v1beta1/bank").SendEnabled>]: never; })[] & { [K_1 in Exclude<keyof I["params"]["sendEnabled"], keyof {
313
+ denom?: string;
314
+ enabled?: boolean;
315
+ }[]>]: never; };
316
+ defaultSendEnabled?: boolean;
317
+ } & { [K_2 in Exclude<keyof I["params"], keyof import("./bank/v1beta1/bank").Params>]: never; };
318
+ } & { [K_3 in Exclude<keyof I, keyof MsgUpdateParams>]: never; }>(object: I) => {
319
+ typeUrl: string;
320
+ value: MsgUpdateParams;
321
+ };
322
+ }
323
+ export declare namespace Distribution {
324
+ const WithdrawDelegatorReward: <I extends {
325
+ delegatorAddress?: string;
326
+ validatorAddress?: string;
327
+ } & {
328
+ delegatorAddress?: string;
329
+ validatorAddress?: string;
330
+ } & { [K in Exclude<keyof I, keyof MsgWithdrawDelegatorReward>]: never; }>(object: I) => {
331
+ typeUrl: string;
332
+ value: MsgWithdrawDelegatorReward;
333
+ };
334
+ const UpdateParams: <I extends {
335
+ authority?: string;
336
+ params?: {
337
+ communityTax?: string;
338
+ baseProposerReward?: string;
339
+ bonusProposerReward?: string;
340
+ withdrawAddrEnabled?: boolean;
341
+ };
342
+ } & {
343
+ authority?: string;
344
+ params?: {
345
+ communityTax?: string;
346
+ baseProposerReward?: string;
347
+ bonusProposerReward?: string;
348
+ withdrawAddrEnabled?: boolean;
349
+ } & {
350
+ communityTax?: string;
351
+ baseProposerReward?: string;
352
+ bonusProposerReward?: string;
353
+ withdrawAddrEnabled?: boolean;
354
+ } & { [K in Exclude<keyof I["params"], keyof import("./distribution/v1beta1/distribution").Params>]: never; };
355
+ } & { [K_1 in Exclude<keyof I, keyof DMsgUpdateParams>]: never; }>(object: I) => {
356
+ typeUrl: string;
357
+ value: DMsgUpdateParams;
358
+ };
359
+ const WithdrawValidatorCommission: <I extends {
360
+ validatorAddress?: string;
361
+ } & {
362
+ validatorAddress?: string;
363
+ } & { [K in Exclude<keyof I, "validatorAddress">]: never; }>(object: I) => {
364
+ typeUrl: string;
365
+ value: MsgWithdrawValidatorCommission;
366
+ };
367
+ const CommunityPoolSpend: <I extends {
368
+ authority?: string;
369
+ recipient?: string;
370
+ amount?: {
371
+ denom?: string;
372
+ amount?: string;
373
+ }[];
374
+ } & {
375
+ authority?: string;
376
+ recipient?: string;
377
+ amount?: {
378
+ denom?: string;
379
+ amount?: string;
380
+ }[] & ({
381
+ denom?: string;
382
+ amount?: string;
383
+ } & {
384
+ denom?: string;
385
+ amount?: string;
386
+ } & { [K in Exclude<keyof I["amount"][number], keyof import("./base/v1beta1/coin").Coin>]: never; })[] & { [K_1 in Exclude<keyof I["amount"], keyof {
387
+ denom?: string;
388
+ amount?: string;
389
+ }[]>]: never; };
390
+ } & { [K_2 in Exclude<keyof I, keyof MsgCommunityPoolSpend>]: never; }>(object: I) => {
391
+ typeUrl: string;
392
+ value: MsgCommunityPoolSpend;
393
+ };
394
+ const DepositValidatorRewardsPool: <I extends {
395
+ depositor?: string;
396
+ validatorAddress?: string;
397
+ amount?: {
398
+ denom?: string;
399
+ amount?: string;
400
+ }[];
401
+ } & {
402
+ depositor?: string;
403
+ validatorAddress?: string;
404
+ amount?: {
405
+ denom?: string;
406
+ amount?: string;
407
+ }[] & ({
408
+ denom?: string;
409
+ amount?: string;
410
+ } & {
411
+ denom?: string;
412
+ amount?: string;
413
+ } & { [K in Exclude<keyof I["amount"][number], keyof import("./base/v1beta1/coin").Coin>]: never; })[] & { [K_1 in Exclude<keyof I["amount"], keyof {
414
+ denom?: string;
415
+ amount?: string;
416
+ }[]>]: never; };
417
+ } & { [K_2 in Exclude<keyof I, keyof MsgDepositValidatorRewardsPool>]: never; }>(object: I) => {
418
+ typeUrl: string;
419
+ value: MsgDepositValidatorRewardsPool;
420
+ };
421
+ const FundCommunityPool: <I extends {
422
+ amount?: {
423
+ denom?: string;
424
+ amount?: string;
425
+ }[];
426
+ depositor?: string;
427
+ } & {
428
+ amount?: {
429
+ denom?: string;
430
+ amount?: string;
431
+ }[] & ({
432
+ denom?: string;
433
+ amount?: string;
434
+ } & {
435
+ denom?: string;
436
+ amount?: string;
437
+ } & { [K in Exclude<keyof I["amount"][number], keyof import("./base/v1beta1/coin").Coin>]: never; })[] & { [K_1 in Exclude<keyof I["amount"], keyof {
438
+ denom?: string;
439
+ amount?: string;
440
+ }[]>]: never; };
441
+ depositor?: string;
442
+ } & { [K_2 in Exclude<keyof I, keyof MsgFundCommunityPool>]: never; }>(object: I) => {
443
+ typeUrl: string;
444
+ value: MsgFundCommunityPool;
445
+ };
446
+ const SetWithdrawAddress: <I extends {
447
+ delegatorAddress?: string;
448
+ withdrawAddress?: string;
449
+ } & {
450
+ delegatorAddress?: string;
451
+ withdrawAddress?: string;
452
+ } & { [K in Exclude<keyof I, keyof MsgSetWithdrawAddress>]: never; }>(object: I) => {
453
+ typeUrl: string;
454
+ value: MsgSetWithdrawAddress;
455
+ };
456
+ }
@@ -0,0 +1,123 @@
1
+ import { MsgDeposit, MsgSubmitProposal, MsgVote, MsgVoteWeighted, } from "./gov/v1beta1/tx";
2
+ import { MsgGrantAllowance, MsgRevokeAllowance } from "./feegrant/v1beta1/tx";
3
+ import { MsgMultiSend, MsgSend, MsgSetSendEnabled, MsgUpdateParams, } from "./bank/v1beta1/tx";
4
+ import { MsgCommunityPoolSpend, MsgDepositValidatorRewardsPool, MsgFundCommunityPool, MsgSetWithdrawAddress, MsgUpdateParams as DMsgUpdateParams, MsgWithdrawDelegatorReward, MsgWithdrawValidatorCommission, } from "./distribution/v1beta1/tx";
5
+ const govBaseUrl = "/cosmos.gov.v1beta1.";
6
+ const fgBaseUrl = "/cosmos.feegrant.v1beta1.";
7
+ const bankBaseUrl = "/cosmos.bank.v1beta1.";
8
+ const distBaseUrl = "/cosmos.distribution.v1beta1.";
9
+ export var Governance;
10
+ (function (Governance) {
11
+ Governance.Deposit = function (object) {
12
+ return {
13
+ typeUrl: govBaseUrl + "MsgDeposit",
14
+ value: MsgDeposit.fromPartial(object),
15
+ };
16
+ };
17
+ Governance.SubmitProposal = function (object) {
18
+ return {
19
+ typeUrl: govBaseUrl + "MsgSubmitProposal",
20
+ value: MsgSubmitProposal.fromPartial(object),
21
+ };
22
+ };
23
+ Governance.Vote = function (object) {
24
+ return {
25
+ typeUrl: govBaseUrl + "MsgVote",
26
+ value: MsgVote.fromPartial(object),
27
+ };
28
+ };
29
+ Governance.VoteWeighted = function (object) {
30
+ return {
31
+ typeUrl: govBaseUrl + "MsgVoteWeighted",
32
+ value: MsgVoteWeighted.fromPartial(object),
33
+ };
34
+ };
35
+ })(Governance || (Governance = {}));
36
+ export var Feegrant;
37
+ (function (Feegrant) {
38
+ Feegrant.GrantAllowance = function (object) {
39
+ return {
40
+ typeUrl: fgBaseUrl + "MsgGrantAllowance",
41
+ value: MsgGrantAllowance.fromPartial(object),
42
+ };
43
+ };
44
+ Feegrant.RevokeAllowance = function (object) {
45
+ return {
46
+ typeUrl: fgBaseUrl + "MsgRevokeAllowance",
47
+ value: MsgRevokeAllowance.fromPartial(object),
48
+ };
49
+ };
50
+ })(Feegrant || (Feegrant = {}));
51
+ export var Bank;
52
+ (function (Bank) {
53
+ Bank.MultiSend = function (object) {
54
+ return {
55
+ typeUrl: bankBaseUrl + "MsgMultiSend",
56
+ value: MsgMultiSend.fromPartial(object),
57
+ };
58
+ };
59
+ Bank.Send = function (object) {
60
+ return {
61
+ typeUrl: bankBaseUrl + "MsgSend",
62
+ value: MsgSend.fromPartial(object),
63
+ };
64
+ };
65
+ Bank.SetSendEnabled = function (object) {
66
+ return {
67
+ typeUrl: bankBaseUrl + "MsgSetSendEnabled",
68
+ value: MsgSetSendEnabled.fromPartial(object),
69
+ };
70
+ };
71
+ Bank.UpdateParams = function (object) {
72
+ return {
73
+ typeUrl: bankBaseUrl + "MsgUpdateParams",
74
+ value: MsgUpdateParams.fromPartial(object),
75
+ };
76
+ };
77
+ })(Bank || (Bank = {}));
78
+ export var Distribution;
79
+ (function (Distribution) {
80
+ Distribution.WithdrawDelegatorReward = function (object) {
81
+ return {
82
+ typeUrl: distBaseUrl + "MsgWithdrawDelegatorReward",
83
+ value: MsgWithdrawDelegatorReward.fromPartial(object),
84
+ };
85
+ };
86
+ Distribution.UpdateParams = function (object) {
87
+ return {
88
+ typeUrl: distBaseUrl + "MsgUpdateParams",
89
+ value: DMsgUpdateParams.fromPartial(object),
90
+ };
91
+ };
92
+ Distribution.WithdrawValidatorCommission = function (object) {
93
+ return {
94
+ typeUrl: distBaseUrl + "MsgWithdrawValidatorCommission",
95
+ value: MsgWithdrawValidatorCommission.fromPartial(object),
96
+ };
97
+ };
98
+ Distribution.CommunityPoolSpend = function (object) {
99
+ return {
100
+ typeUrl: distBaseUrl + "MsgCommunityPoolSpend",
101
+ value: MsgCommunityPoolSpend.fromPartial(object),
102
+ };
103
+ };
104
+ Distribution.DepositValidatorRewardsPool = function (object) {
105
+ return {
106
+ typeUrl: distBaseUrl + "MsgDepositValidatorRewardsPool",
107
+ value: MsgDepositValidatorRewardsPool.fromPartial(object),
108
+ };
109
+ };
110
+ Distribution.FundCommunityPool = function (object) {
111
+ return {
112
+ typeUrl: distBaseUrl + "MsgFundCommunityPool",
113
+ value: MsgFundCommunityPool.fromPartial(object),
114
+ };
115
+ };
116
+ Distribution.SetWithdrawAddress = function (object) {
117
+ return {
118
+ typeUrl: distBaseUrl + "MsgSetWithdrawAddress",
119
+ value: MsgSetWithdrawAddress.fromPartial(object),
120
+ };
121
+ };
122
+ })(Distribution || (Distribution = {}));
123
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvY29zbW9zL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCxVQUFVLEVBQ1YsaUJBQWlCLEVBQ2pCLE9BQU8sRUFDUCxlQUFlLEdBR2hCLE1BQU0sa0JBQWtCLENBQUM7QUFFMUIsT0FBTyxFQUFFLGlCQUFpQixFQUFFLGtCQUFrQixFQUFFLE1BQU0sdUJBQXVCLENBQUM7QUFFOUUsT0FBTyxFQUNMLFlBQVksRUFDWixPQUFPLEVBQ1AsaUJBQWlCLEVBQ2pCLGVBQWUsR0FDaEIsTUFBTSxtQkFBbUIsQ0FBQztBQUUzQixPQUFPLEVBQ0wscUJBQXFCLEVBQ3JCLDhCQUE4QixFQUM5QixvQkFBb0IsRUFDcEIscUJBQXFCLEVBQ3JCLGVBQWUsSUFBSSxnQkFBZ0IsRUFDbkMsMEJBQTBCLEVBQzFCLDhCQUE4QixHQUMvQixNQUFNLDJCQUEyQixDQUFDO0FBRW5DLE1BQU0sVUFBVSxHQUFHLHNCQUFzQixDQUFDO0FBQzFDLE1BQU0sU0FBUyxHQUFHLDJCQUEyQixDQUFDO0FBQzlDLE1BQU0sV0FBVyxHQUF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