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,126 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Distribution = exports.Bank = exports.Feegrant = exports.Governance = void 0;
4
+ const tx_1 = require("./gov/v1beta1/tx");
5
+ const tx_2 = require("./feegrant/v1beta1/tx");
6
+ const tx_3 = require("./bank/v1beta1/tx");
7
+ const tx_4 = require("./distribution/v1beta1/tx");
8
+ const govBaseUrl = "/cosmos.gov.v1beta1.";
9
+ const fgBaseUrl = "/cosmos.feegrant.v1beta1.";
10
+ const bankBaseUrl = "/cosmos.bank.v1beta1.";
11
+ const distBaseUrl = "/cosmos.distribution.v1beta1.";
12
+ var Governance;
13
+ (function (Governance) {
14
+ Governance.Deposit = function (object) {
15
+ return {
16
+ typeUrl: govBaseUrl + "MsgDeposit",
17
+ value: tx_1.MsgDeposit.fromPartial(object),
18
+ };
19
+ };
20
+ Governance.SubmitProposal = function (object) {
21
+ return {
22
+ typeUrl: govBaseUrl + "MsgSubmitProposal",
23
+ value: tx_1.MsgSubmitProposal.fromPartial(object),
24
+ };
25
+ };
26
+ Governance.Vote = function (object) {
27
+ return {
28
+ typeUrl: govBaseUrl + "MsgVote",
29
+ value: tx_1.MsgVote.fromPartial(object),
30
+ };
31
+ };
32
+ Governance.VoteWeighted = function (object) {
33
+ return {
34
+ typeUrl: govBaseUrl + "MsgVoteWeighted",
35
+ value: tx_1.MsgVoteWeighted.fromPartial(object),
36
+ };
37
+ };
38
+ })(Governance = exports.Governance || (exports.Governance = {}));
39
+ var Feegrant;
40
+ (function (Feegrant) {
41
+ Feegrant.GrantAllowance = function (object) {
42
+ return {
43
+ typeUrl: fgBaseUrl + "MsgGrantAllowance",
44
+ value: tx_2.MsgGrantAllowance.fromPartial(object),
45
+ };
46
+ };
47
+ Feegrant.RevokeAllowance = function (object) {
48
+ return {
49
+ typeUrl: fgBaseUrl + "MsgRevokeAllowance",
50
+ value: tx_2.MsgRevokeAllowance.fromPartial(object),
51
+ };
52
+ };
53
+ })(Feegrant = exports.Feegrant || (exports.Feegrant = {}));
54
+ var Bank;
55
+ (function (Bank) {
56
+ Bank.MultiSend = function (object) {
57
+ return {
58
+ typeUrl: bankBaseUrl + "MsgMultiSend",
59
+ value: tx_3.MsgMultiSend.fromPartial(object),
60
+ };
61
+ };
62
+ Bank.Send = function (object) {
63
+ return {
64
+ typeUrl: bankBaseUrl + "MsgSend",
65
+ value: tx_3.MsgSend.fromPartial(object),
66
+ };
67
+ };
68
+ Bank.SetSendEnabled = function (object) {
69
+ return {
70
+ typeUrl: bankBaseUrl + "MsgSetSendEnabled",
71
+ value: tx_3.MsgSetSendEnabled.fromPartial(object),
72
+ };
73
+ };
74
+ Bank.UpdateParams = function (object) {
75
+ return {
76
+ typeUrl: bankBaseUrl + "MsgUpdateParams",
77
+ value: tx_3.MsgUpdateParams.fromPartial(object),
78
+ };
79
+ };
80
+ })(Bank = exports.Bank || (exports.Bank = {}));
81
+ var Distribution;
82
+ (function (Distribution) {
83
+ Distribution.WithdrawDelegatorReward = function (object) {
84
+ return {
85
+ typeUrl: distBaseUrl + "MsgWithdrawDelegatorReward",
86
+ value: tx_4.MsgWithdrawDelegatorReward.fromPartial(object),
87
+ };
88
+ };
89
+ Distribution.UpdateParams = function (object) {
90
+ return {
91
+ typeUrl: distBaseUrl + "MsgUpdateParams",
92
+ value: tx_4.MsgUpdateParams.fromPartial(object),
93
+ };
94
+ };
95
+ Distribution.WithdrawValidatorCommission = function (object) {
96
+ return {
97
+ typeUrl: distBaseUrl + "MsgWithdrawValidatorCommission",
98
+ value: tx_4.MsgWithdrawValidatorCommission.fromPartial(object),
99
+ };
100
+ };
101
+ Distribution.CommunityPoolSpend = function (object) {
102
+ return {
103
+ typeUrl: distBaseUrl + "MsgCommunityPoolSpend",
104
+ value: tx_4.MsgCommunityPoolSpend.fromPartial(object),
105
+ };
106
+ };
107
+ Distribution.DepositValidatorRewardsPool = function (object) {
108
+ return {
109
+ typeUrl: distBaseUrl + "MsgDepositValidatorRewardsPool",
110
+ value: tx_4.MsgDepositValidatorRewardsPool.fromPartial(object),
111
+ };
112
+ };
113
+ Distribution.FundCommunityPool = function (object) {
114
+ return {
115
+ typeUrl: distBaseUrl + "MsgFundCommunityPool",
116
+ value: tx_4.MsgFundCommunityPool.fromPartial(object),
117
+ };
118
+ };
119
+ Distribution.SetWithdrawAddress = function (object) {
120
+ return {
121
+ typeUrl: distBaseUrl + "MsgSetWithdrawAddress",
122
+ value: tx_4.MsgSetWithdrawAddress.fromPartial(object),
123
+ };
124
+ };
125
+ })(Distribution = exports.Distribution || (exports.Distribution = {}));
126
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvY29zbW9zL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLHlDQU8wQjtBQUUxQiw4Q0FBOEU7QUFFOUUsMENBSzJCO0FBRTNCLGtEQVFtQztBQUVuQyxNQUFNLFVBQVUsR0FBRyxzQkFBc0IsQ0FBQztBQUMxQyxNQUFNLFNBQVMsR0FBRywyQkFBMkIsQ0FBQztBQUM5QyxNQUFNLFdBQVcsR0FBRyx1QkFBdUIsQ0FBQztBQUM1QyxNQUFNLFdBQVcsR0FBRywrQkFBK0IsQ0FBQztBQUVwRCxJQUFpQixVQUFVLENBb0MxQjtBQXBDRCxXQUFpQixVQUFVO0lBQ1osa0JBQU8sR0FBRyxVQUNyQixNQUFTO1FBRVQsT0FBTztZQUNMLE9BQU8sRUFBRSxVQUFVLEdBQUcsWUFBWTtZQUNsQyxLQUFLLEVBQUUsZUFBVSxDQUFDLFdBQVcsQ0FBQyxNQUFNLENBQUM7U0FDdEMsQ0FBQztJQUNKLENBQUMsQ0FBQztJQUVXLHlCQUFjLEdBQUcsVUFFNUIsTUFBUztRQUNULE9BQU87WUFDTCxPQUFPLEVBQUUsVUFBVSxH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