coreum-js 2.6.9 → 2.7.0
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.
- package/CHANGELOG.md +345 -0
- package/dist/main/coreum/index.d.ts +17 -235
- package/dist/main/coreum/index.js +1 -1
- package/dist/main/cosmos/index.d.ts +31 -766
- package/dist/main/cosmos/index.js +1 -1
- package/dist/main/types/msgs.d.ts +672 -0
- package/dist/main/types/msgs.js +3 -0
- package/dist/main/wasm/v1/index.d.ts +13 -266
- package/dist/main/wasm/v1/index.js +1 -1
- package/dist/module/coreum/index.d.ts +17 -235
- package/dist/module/coreum/index.js +1 -1
- package/dist/module/cosmos/index.d.ts +31 -766
- package/dist/module/cosmos/index.js +1 -1
- package/dist/module/types/msgs.d.ts +672 -0
- package/dist/module/types/msgs.js +2 -0
- package/dist/module/wasm/v1/index.d.ts +13 -266
- package/dist/module/wasm/v1/index.js +1 -1
- package/package.json +1 -1
|
@@ -5,6 +5,7 @@ import { MsgCommunityPoolSpend, MsgDepositValidatorRewardsPool, MsgFundCommunity
|
|
|
5
5
|
import { MsgCreatePeriodicVestingAccount, MsgCreatePermanentLockedAccount, MsgCreateVestingAccount } from "./vesting/v1beta1/tx";
|
|
6
6
|
import { MsgBeginRedelegate, MsgCancelUnbondingDelegation, MsgCreateValidator, MsgDelegate, MsgEditValidator, MsgUndelegate, MsgUpdateParams as SMsgUpdateParams } from "./staking/v1beta1/tx";
|
|
7
7
|
import { MsgExec, MsgGrant, MsgRevoke } from "./authz/v1beta1/tx";
|
|
8
|
+
import { StakingMsgs, DistributionMsgs, BankMsgs, FeegrantMsgs, VestingMsgs, AuthzMsgs, GovMsgs } from "../types/msgs";
|
|
8
9
|
/**
|
|
9
10
|
* Module to generate the Messages related to the Authz module of the Blockchain
|
|
10
11
|
*/
|
|
@@ -15,36 +16,7 @@ export declare namespace Authz {
|
|
|
15
16
|
* @param object Represents the properties available for this MsgGrant message.
|
|
16
17
|
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
17
18
|
*/
|
|
18
|
-
const Grant:
|
|
19
|
-
granter?: string;
|
|
20
|
-
grantee?: string;
|
|
21
|
-
grant?: {
|
|
22
|
-
authorization?: {
|
|
23
|
-
typeUrl?: string;
|
|
24
|
-
value?: Uint8Array;
|
|
25
|
-
};
|
|
26
|
-
expiration?: Date;
|
|
27
|
-
};
|
|
28
|
-
} & {
|
|
29
|
-
granter?: string;
|
|
30
|
-
grantee?: string;
|
|
31
|
-
grant?: {
|
|
32
|
-
authorization?: {
|
|
33
|
-
typeUrl?: string;
|
|
34
|
-
value?: Uint8Array;
|
|
35
|
-
};
|
|
36
|
-
expiration?: Date;
|
|
37
|
-
} & {
|
|
38
|
-
authorization?: {
|
|
39
|
-
typeUrl?: string;
|
|
40
|
-
value?: Uint8Array;
|
|
41
|
-
} & {
|
|
42
|
-
typeUrl?: string;
|
|
43
|
-
value?: Uint8Array;
|
|
44
|
-
} & { [K in Exclude<keyof I["grant"]["authorization"], keyof import("../google/protobuf/any").Any>]: never; };
|
|
45
|
-
expiration?: Date;
|
|
46
|
-
} & { [K_1 in Exclude<keyof I["grant"], keyof import("./authz/v1beta1/authz").Grant>]: never; };
|
|
47
|
-
} & { [K_2 in Exclude<keyof I, keyof MsgGrant>]: never; }>(object: I) => {
|
|
19
|
+
const Grant: (object: AuthzMsgs.MsgGrant) => {
|
|
48
20
|
typeUrl: string;
|
|
49
21
|
value: MsgGrant;
|
|
50
22
|
};
|
|
@@ -54,28 +26,7 @@ export declare namespace Authz {
|
|
|
54
26
|
* @param object Represents the properties available for this MsgExec message.
|
|
55
27
|
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
56
28
|
*/
|
|
57
|
-
const Exec:
|
|
58
|
-
grantee?: string;
|
|
59
|
-
msgs?: {
|
|
60
|
-
typeUrl?: string;
|
|
61
|
-
value?: Uint8Array;
|
|
62
|
-
}[];
|
|
63
|
-
} & {
|
|
64
|
-
grantee?: string;
|
|
65
|
-
msgs?: {
|
|
66
|
-
typeUrl?: string;
|
|
67
|
-
value?: Uint8Array;
|
|
68
|
-
}[] & ({
|
|
69
|
-
typeUrl?: string;
|
|
70
|
-
value?: Uint8Array;
|
|
71
|
-
} & {
|
|
72
|
-
typeUrl?: string;
|
|
73
|
-
value?: Uint8Array;
|
|
74
|
-
} & { [K in Exclude<keyof I["msgs"][number], keyof import("../google/protobuf/any").Any>]: never; })[] & { [K_1 in Exclude<keyof I["msgs"], keyof {
|
|
75
|
-
typeUrl?: string;
|
|
76
|
-
value?: Uint8Array;
|
|
77
|
-
}[]>]: never; };
|
|
78
|
-
} & { [K_2 in Exclude<keyof I, keyof MsgExec>]: never; }>(object: I) => {
|
|
29
|
+
const Exec: (object: AuthzMsgs.MsgExec) => {
|
|
79
30
|
typeUrl: string;
|
|
80
31
|
value: MsgExec;
|
|
81
32
|
};
|
|
@@ -85,15 +36,7 @@ export declare namespace Authz {
|
|
|
85
36
|
* @param object Represents the properties available for this MsgRevoke message.
|
|
86
37
|
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
87
38
|
*/
|
|
88
|
-
const Revoke:
|
|
89
|
-
granter?: string;
|
|
90
|
-
grantee?: string;
|
|
91
|
-
msgTypeUrl?: string;
|
|
92
|
-
} & {
|
|
93
|
-
granter?: string;
|
|
94
|
-
grantee?: string;
|
|
95
|
-
msgTypeUrl?: string;
|
|
96
|
-
} & { [K in Exclude<keyof I, keyof MsgRevoke>]: never; }>(object: I) => {
|
|
39
|
+
const Revoke: (object: AuthzMsgs.MsgRevoke) => {
|
|
97
40
|
typeUrl: string;
|
|
98
41
|
value: MsgRevoke;
|
|
99
42
|
};
|
|
@@ -108,26 +51,7 @@ export declare namespace Staking {
|
|
|
108
51
|
* @param object Represents the properties available for this MsgBeginRedelegate message.
|
|
109
52
|
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
110
53
|
*/
|
|
111
|
-
const BeginRedelegate:
|
|
112
|
-
delegatorAddress?: string;
|
|
113
|
-
validatorSrcAddress?: string;
|
|
114
|
-
validatorDstAddress?: string;
|
|
115
|
-
amount?: {
|
|
116
|
-
denom?: string;
|
|
117
|
-
amount?: string;
|
|
118
|
-
};
|
|
119
|
-
} & {
|
|
120
|
-
delegatorAddress?: string;
|
|
121
|
-
validatorSrcAddress?: string;
|
|
122
|
-
validatorDstAddress?: string;
|
|
123
|
-
amount?: {
|
|
124
|
-
denom?: string;
|
|
125
|
-
amount?: string;
|
|
126
|
-
} & {
|
|
127
|
-
denom?: string;
|
|
128
|
-
amount?: string;
|
|
129
|
-
} & { [K in Exclude<keyof I["amount"], keyof import("./base/v1beta1/coin").Coin>]: never; };
|
|
130
|
-
} & { [K_1 in Exclude<keyof I, keyof MsgBeginRedelegate>]: never; }>(object: I) => {
|
|
54
|
+
const BeginRedelegate: (object: StakingMsgs.MsgBeginRedelegate) => {
|
|
131
55
|
typeUrl: string;
|
|
132
56
|
value: MsgBeginRedelegate;
|
|
133
57
|
};
|
|
@@ -136,26 +60,7 @@ export declare namespace Staking {
|
|
|
136
60
|
* @param object Represents the properties available for this MsgCancelUnbondingDelegation message.
|
|
137
61
|
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
138
62
|
*/
|
|
139
|
-
const CancelUnbondingDelegation:
|
|
140
|
-
delegatorAddress?: string;
|
|
141
|
-
validatorAddress?: string;
|
|
142
|
-
amount?: {
|
|
143
|
-
denom?: string;
|
|
144
|
-
amount?: string;
|
|
145
|
-
};
|
|
146
|
-
creationHeight?: number;
|
|
147
|
-
} & {
|
|
148
|
-
delegatorAddress?: string;
|
|
149
|
-
validatorAddress?: string;
|
|
150
|
-
amount?: {
|
|
151
|
-
denom?: string;
|
|
152
|
-
amount?: string;
|
|
153
|
-
} & {
|
|
154
|
-
denom?: string;
|
|
155
|
-
amount?: string;
|
|
156
|
-
} & { [K in Exclude<keyof I["amount"], keyof import("./base/v1beta1/coin").Coin>]: never; };
|
|
157
|
-
creationHeight?: number;
|
|
158
|
-
} & { [K_1 in Exclude<keyof I, keyof MsgCancelUnbondingDelegation>]: never; }>(object: I) => {
|
|
63
|
+
const CancelUnbondingDelegation: (object: StakingMsgs.MsgCancelUnbondingDelegation) => {
|
|
159
64
|
typeUrl: string;
|
|
160
65
|
value: MsgCancelUnbondingDelegation;
|
|
161
66
|
};
|
|
@@ -165,71 +70,7 @@ export declare namespace Staking {
|
|
|
165
70
|
* @param object Represents the properties available for this MsgCreateValidator message.
|
|
166
71
|
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
167
72
|
*/
|
|
168
|
-
const CreateValidator:
|
|
169
|
-
description?: {
|
|
170
|
-
moniker?: string;
|
|
171
|
-
identity?: string;
|
|
172
|
-
website?: string;
|
|
173
|
-
securityContact?: string;
|
|
174
|
-
details?: string;
|
|
175
|
-
};
|
|
176
|
-
commission?: {
|
|
177
|
-
rate?: string;
|
|
178
|
-
maxRate?: string;
|
|
179
|
-
maxChangeRate?: string;
|
|
180
|
-
};
|
|
181
|
-
minSelfDelegation?: string;
|
|
182
|
-
delegatorAddress?: string;
|
|
183
|
-
validatorAddress?: string;
|
|
184
|
-
pubkey?: {
|
|
185
|
-
typeUrl?: string;
|
|
186
|
-
value?: Uint8Array;
|
|
187
|
-
};
|
|
188
|
-
value?: {
|
|
189
|
-
denom?: string;
|
|
190
|
-
amount?: string;
|
|
191
|
-
};
|
|
192
|
-
} & {
|
|
193
|
-
description?: {
|
|
194
|
-
moniker?: string;
|
|
195
|
-
identity?: string;
|
|
196
|
-
website?: string;
|
|
197
|
-
securityContact?: string;
|
|
198
|
-
details?: string;
|
|
199
|
-
} & {
|
|
200
|
-
moniker?: string;
|
|
201
|
-
identity?: string;
|
|
202
|
-
website?: string;
|
|
203
|
-
securityContact?: string;
|
|
204
|
-
details?: string;
|
|
205
|
-
} & { [K in Exclude<keyof I["description"], keyof import("./staking/v1beta1/staking").Description>]: never; };
|
|
206
|
-
commission?: {
|
|
207
|
-
rate?: string;
|
|
208
|
-
maxRate?: string;
|
|
209
|
-
maxChangeRate?: string;
|
|
210
|
-
} & {
|
|
211
|
-
rate?: string;
|
|
212
|
-
maxRate?: string;
|
|
213
|
-
maxChangeRate?: string;
|
|
214
|
-
} & { [K_1 in Exclude<keyof I["commission"], keyof import("./staking/v1beta1/staking").CommissionRates>]: never; };
|
|
215
|
-
minSelfDelegation?: string;
|
|
216
|
-
delegatorAddress?: string;
|
|
217
|
-
validatorAddress?: string;
|
|
218
|
-
pubkey?: {
|
|
219
|
-
typeUrl?: string;
|
|
220
|
-
value?: Uint8Array;
|
|
221
|
-
} & {
|
|
222
|
-
typeUrl?: string;
|
|
223
|
-
value?: Uint8Array;
|
|
224
|
-
} & { [K_2 in Exclude<keyof I["pubkey"], keyof import("../google/protobuf/any").Any>]: never; };
|
|
225
|
-
value?: {
|
|
226
|
-
denom?: string;
|
|
227
|
-
amount?: string;
|
|
228
|
-
} & {
|
|
229
|
-
denom?: string;
|
|
230
|
-
amount?: string;
|
|
231
|
-
} & { [K_3 in Exclude<keyof I["value"], keyof import("./base/v1beta1/coin").Coin>]: never; };
|
|
232
|
-
} & { [K_4 in Exclude<keyof I, keyof MsgCreateValidator>]: never; }>(object: I) => {
|
|
73
|
+
const CreateValidator: (object: StakingMsgs.MsgCreateValidator) => {
|
|
233
74
|
typeUrl: string;
|
|
234
75
|
value: MsgCreateValidator;
|
|
235
76
|
};
|
|
@@ -239,24 +80,7 @@ export declare namespace Staking {
|
|
|
239
80
|
* @param object Represents the properties available for this MsgDelegate message.
|
|
240
81
|
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
241
82
|
*/
|
|
242
|
-
const Delegate:
|
|
243
|
-
delegatorAddress?: string;
|
|
244
|
-
validatorAddress?: string;
|
|
245
|
-
amount?: {
|
|
246
|
-
denom?: string;
|
|
247
|
-
amount?: string;
|
|
248
|
-
};
|
|
249
|
-
} & {
|
|
250
|
-
delegatorAddress?: string;
|
|
251
|
-
validatorAddress?: string;
|
|
252
|
-
amount?: {
|
|
253
|
-
denom?: string;
|
|
254
|
-
amount?: string;
|
|
255
|
-
} & {
|
|
256
|
-
denom?: string;
|
|
257
|
-
amount?: string;
|
|
258
|
-
} & { [K in Exclude<keyof I["amount"], keyof import("./base/v1beta1/coin").Coin>]: never; };
|
|
259
|
-
} & { [K_1 in Exclude<keyof I, keyof MsgDelegate>]: never; }>(object: I) => {
|
|
83
|
+
const Delegate: (object: StakingMsgs.MsgDelegate) => {
|
|
260
84
|
typeUrl: string;
|
|
261
85
|
value: MsgDelegate;
|
|
262
86
|
};
|
|
@@ -266,35 +90,7 @@ export declare namespace Staking {
|
|
|
266
90
|
* @param object Represents the properties available for this MsgEditValidator message.
|
|
267
91
|
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
268
92
|
*/
|
|
269
|
-
const EditValidator:
|
|
270
|
-
description?: {
|
|
271
|
-
moniker?: string;
|
|
272
|
-
identity?: string;
|
|
273
|
-
website?: string;
|
|
274
|
-
securityContact?: string;
|
|
275
|
-
details?: string;
|
|
276
|
-
};
|
|
277
|
-
validatorAddress?: string;
|
|
278
|
-
commissionRate?: string;
|
|
279
|
-
minSelfDelegation?: string;
|
|
280
|
-
} & {
|
|
281
|
-
description?: {
|
|
282
|
-
moniker?: string;
|
|
283
|
-
identity?: string;
|
|
284
|
-
website?: string;
|
|
285
|
-
securityContact?: string;
|
|
286
|
-
details?: string;
|
|
287
|
-
} & {
|
|
288
|
-
moniker?: string;
|
|
289
|
-
identity?: string;
|
|
290
|
-
website?: string;
|
|
291
|
-
securityContact?: string;
|
|
292
|
-
details?: string;
|
|
293
|
-
} & { [K in Exclude<keyof I["description"], keyof import("./staking/v1beta1/staking").Description>]: never; };
|
|
294
|
-
validatorAddress?: string;
|
|
295
|
-
commissionRate?: string;
|
|
296
|
-
minSelfDelegation?: string;
|
|
297
|
-
} & { [K_1 in Exclude<keyof I, keyof MsgEditValidator>]: never; }>(object: I) => {
|
|
93
|
+
const EditValidator: (object: StakingMsgs.MsgEditValidator) => {
|
|
298
94
|
typeUrl: string;
|
|
299
95
|
value: MsgEditValidator;
|
|
300
96
|
};
|
|
@@ -304,24 +100,7 @@ export declare namespace Staking {
|
|
|
304
100
|
* @param object Represents the properties available for this MsgUndelegate message.
|
|
305
101
|
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
306
102
|
*/
|
|
307
|
-
const Undelegate:
|
|
308
|
-
delegatorAddress?: string;
|
|
309
|
-
validatorAddress?: string;
|
|
310
|
-
amount?: {
|
|
311
|
-
denom?: string;
|
|
312
|
-
amount?: string;
|
|
313
|
-
};
|
|
314
|
-
} & {
|
|
315
|
-
delegatorAddress?: string;
|
|
316
|
-
validatorAddress?: string;
|
|
317
|
-
amount?: {
|
|
318
|
-
denom?: string;
|
|
319
|
-
amount?: string;
|
|
320
|
-
} & {
|
|
321
|
-
denom?: string;
|
|
322
|
-
amount?: string;
|
|
323
|
-
} & { [K in Exclude<keyof I["amount"], keyof import("./base/v1beta1/coin").Coin>]: never; };
|
|
324
|
-
} & { [K_1 in Exclude<keyof I, keyof MsgUndelegate>]: never; }>(object: I) => {
|
|
103
|
+
const Undelegate: (object: StakingMsgs.MsgUndelegate) => {
|
|
325
104
|
typeUrl: string;
|
|
326
105
|
value: MsgUndelegate;
|
|
327
106
|
};
|
|
@@ -330,46 +109,7 @@ export declare namespace Staking {
|
|
|
330
109
|
* @param object Represents the properties available for this MsgUpdateParams message.
|
|
331
110
|
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
332
111
|
*/
|
|
333
|
-
const UpdateParams:
|
|
334
|
-
authority?: string;
|
|
335
|
-
params?: {
|
|
336
|
-
unbondingTime?: {
|
|
337
|
-
seconds?: number;
|
|
338
|
-
nanos?: number;
|
|
339
|
-
};
|
|
340
|
-
maxValidators?: number;
|
|
341
|
-
maxEntries?: number;
|
|
342
|
-
historicalEntries?: number;
|
|
343
|
-
bondDenom?: string;
|
|
344
|
-
minCommissionRate?: string;
|
|
345
|
-
};
|
|
346
|
-
} & {
|
|
347
|
-
authority?: string;
|
|
348
|
-
params?: {
|
|
349
|
-
unbondingTime?: {
|
|
350
|
-
seconds?: number;
|
|
351
|
-
nanos?: number;
|
|
352
|
-
};
|
|
353
|
-
maxValidators?: number;
|
|
354
|
-
maxEntries?: number;
|
|
355
|
-
historicalEntries?: number;
|
|
356
|
-
bondDenom?: string;
|
|
357
|
-
minCommissionRate?: string;
|
|
358
|
-
} & {
|
|
359
|
-
unbondingTime?: {
|
|
360
|
-
seconds?: number;
|
|
361
|
-
nanos?: number;
|
|
362
|
-
} & {
|
|
363
|
-
seconds?: number;
|
|
364
|
-
nanos?: number;
|
|
365
|
-
} & { [K in Exclude<keyof I["params"]["unbondingTime"], keyof import("../google/protobuf/duration").Duration>]: never; };
|
|
366
|
-
maxValidators?: number;
|
|
367
|
-
maxEntries?: number;
|
|
368
|
-
historicalEntries?: number;
|
|
369
|
-
bondDenom?: string;
|
|
370
|
-
minCommissionRate?: string;
|
|
371
|
-
} & { [K_1 in Exclude<keyof I["params"], keyof import("./staking/v1beta1/staking").Params>]: never; };
|
|
372
|
-
} & { [K_2 in Exclude<keyof I, keyof SMsgUpdateParams>]: never; }>(object: I) => {
|
|
112
|
+
const UpdateParams: (object: StakingMsgs.MsgUpdateParams) => {
|
|
373
113
|
typeUrl: string;
|
|
374
114
|
value: SMsgUpdateParams;
|
|
375
115
|
};
|
|
@@ -384,30 +124,7 @@ export declare namespace Governance {
|
|
|
384
124
|
* @param object Represents the properties available for this MsgDeposit message.
|
|
385
125
|
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
386
126
|
*/
|
|
387
|
-
const Deposit:
|
|
388
|
-
proposalId?: number;
|
|
389
|
-
depositor?: string;
|
|
390
|
-
amount?: {
|
|
391
|
-
denom?: string;
|
|
392
|
-
amount?: string;
|
|
393
|
-
}[];
|
|
394
|
-
} & {
|
|
395
|
-
proposalId?: number;
|
|
396
|
-
depositor?: string;
|
|
397
|
-
amount?: {
|
|
398
|
-
denom?: string;
|
|
399
|
-
amount?: string;
|
|
400
|
-
}[] & ({
|
|
401
|
-
denom?: string;
|
|
402
|
-
amount?: string;
|
|
403
|
-
} & {
|
|
404
|
-
denom?: string;
|
|
405
|
-
amount?: string;
|
|
406
|
-
} & { [K in Exclude<keyof I["amount"][number], keyof import("./base/v1beta1/coin").Coin>]: never; })[] & { [K_1 in Exclude<keyof I["amount"], keyof {
|
|
407
|
-
denom?: string;
|
|
408
|
-
amount?: string;
|
|
409
|
-
}[]>]: never; };
|
|
410
|
-
} & { [K_2 in Exclude<keyof I, keyof MsgDeposit>]: never; }>(object: I) => {
|
|
127
|
+
const Deposit: (object: GovMsgs.MsgDeposit) => {
|
|
411
128
|
typeUrl: string;
|
|
412
129
|
value: MsgDeposit;
|
|
413
130
|
};
|
|
@@ -417,39 +134,7 @@ export declare namespace Governance {
|
|
|
417
134
|
* @param object Represents the properties available for this MsgSubmitProposal message.
|
|
418
135
|
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
419
136
|
*/
|
|
420
|
-
const SubmitProposal:
|
|
421
|
-
content?: {
|
|
422
|
-
typeUrl?: string;
|
|
423
|
-
value?: Uint8Array;
|
|
424
|
-
};
|
|
425
|
-
initialDeposit?: {
|
|
426
|
-
denom?: string;
|
|
427
|
-
amount?: string;
|
|
428
|
-
}[];
|
|
429
|
-
proposer?: string;
|
|
430
|
-
} & {
|
|
431
|
-
content?: {
|
|
432
|
-
typeUrl?: string;
|
|
433
|
-
value?: Uint8Array;
|
|
434
|
-
} & {
|
|
435
|
-
typeUrl?: string;
|
|
436
|
-
value?: Uint8Array;
|
|
437
|
-
} & { [K in Exclude<keyof I["content"], keyof import("../google/protobuf/any").Any>]: never; };
|
|
438
|
-
initialDeposit?: {
|
|
439
|
-
denom?: string;
|
|
440
|
-
amount?: string;
|
|
441
|
-
}[] & ({
|
|
442
|
-
denom?: string;
|
|
443
|
-
amount?: string;
|
|
444
|
-
} & {
|
|
445
|
-
denom?: string;
|
|
446
|
-
amount?: string;
|
|
447
|
-
} & { [K_1 in Exclude<keyof I["initialDeposit"][number], keyof import("./base/v1beta1/coin").Coin>]: never; })[] & { [K_2 in Exclude<keyof I["initialDeposit"], keyof {
|
|
448
|
-
denom?: string;
|
|
449
|
-
amount?: string;
|
|
450
|
-
}[]>]: never; };
|
|
451
|
-
proposer?: string;
|
|
452
|
-
} & { [K_3 in Exclude<keyof I, keyof MsgSubmitProposal>]: never; }>(object: I) => {
|
|
137
|
+
const SubmitProposal: (object: GovMsgs.MsgSubmitProposal) => {
|
|
453
138
|
typeUrl: string;
|
|
454
139
|
value: MsgSubmitProposal;
|
|
455
140
|
};
|
|
@@ -459,15 +144,7 @@ export declare namespace Governance {
|
|
|
459
144
|
* @param object Represents the properties available for this MsgVote message.
|
|
460
145
|
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
461
146
|
*/
|
|
462
|
-
const Vote:
|
|
463
|
-
proposalId?: number;
|
|
464
|
-
voter?: string;
|
|
465
|
-
option?: import("./gov/v1beta1/gov").VoteOption;
|
|
466
|
-
} & {
|
|
467
|
-
proposalId?: number;
|
|
468
|
-
voter?: string;
|
|
469
|
-
option?: import("./gov/v1beta1/gov").VoteOption;
|
|
470
|
-
} & { [K in Exclude<keyof I, keyof MsgVote>]: never; }>(object: I) => {
|
|
147
|
+
const Vote: (object: GovMsgs.MsgVote) => {
|
|
471
148
|
typeUrl: string;
|
|
472
149
|
value: MsgVote;
|
|
473
150
|
};
|
|
@@ -477,30 +154,7 @@ export declare namespace Governance {
|
|
|
477
154
|
* @param object Represents the properties available for this MsgVoteWeighted message.
|
|
478
155
|
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
479
156
|
*/
|
|
480
|
-
const VoteWeighted:
|
|
481
|
-
proposalId?: number;
|
|
482
|
-
voter?: string;
|
|
483
|
-
options?: {
|
|
484
|
-
option?: import("./gov/v1beta1/gov").VoteOption;
|
|
485
|
-
weight?: string;
|
|
486
|
-
}[];
|
|
487
|
-
} & {
|
|
488
|
-
proposalId?: number;
|
|
489
|
-
voter?: string;
|
|
490
|
-
options?: {
|
|
491
|
-
option?: import("./gov/v1beta1/gov").VoteOption;
|
|
492
|
-
weight?: string;
|
|
493
|
-
}[] & ({
|
|
494
|
-
option?: import("./gov/v1beta1/gov").VoteOption;
|
|
495
|
-
weight?: string;
|
|
496
|
-
} & {
|
|
497
|
-
option?: import("./gov/v1beta1/gov").VoteOption;
|
|
498
|
-
weight?: string;
|
|
499
|
-
} & { [K in Exclude<keyof I["options"][number], keyof import("./gov/v1beta1/gov").WeightedVoteOption>]: never; })[] & { [K_1 in Exclude<keyof I["options"], keyof {
|
|
500
|
-
option?: import("./gov/v1beta1/gov").VoteOption;
|
|
501
|
-
weight?: string;
|
|
502
|
-
}[]>]: never; };
|
|
503
|
-
} & { [K_2 in Exclude<keyof I, keyof MsgVoteWeighted>]: never; }>(object: I) => {
|
|
157
|
+
const VoteWeighted: (object: GovMsgs.MsgVoteWeighted) => {
|
|
504
158
|
typeUrl: string;
|
|
505
159
|
value: MsgVoteWeighted;
|
|
506
160
|
};
|
|
@@ -515,24 +169,7 @@ export declare namespace Feegrant {
|
|
|
515
169
|
* @param object Represents the properties available for this MsgGrantAllowance message.
|
|
516
170
|
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
517
171
|
*/
|
|
518
|
-
const GrantAllowance:
|
|
519
|
-
granter?: string;
|
|
520
|
-
grantee?: string;
|
|
521
|
-
allowance?: {
|
|
522
|
-
typeUrl?: string;
|
|
523
|
-
value?: Uint8Array;
|
|
524
|
-
};
|
|
525
|
-
} & {
|
|
526
|
-
granter?: string;
|
|
527
|
-
grantee?: string;
|
|
528
|
-
allowance?: {
|
|
529
|
-
typeUrl?: string;
|
|
530
|
-
value?: Uint8Array;
|
|
531
|
-
} & {
|
|
532
|
-
typeUrl?: string;
|
|
533
|
-
value?: Uint8Array;
|
|
534
|
-
} & { [K in Exclude<keyof I["allowance"], keyof import("../google/protobuf/any").Any>]: never; };
|
|
535
|
-
} & { [K_1 in Exclude<keyof I, keyof MsgGrantAllowance>]: never; }>(object: I) => {
|
|
172
|
+
const GrantAllowance: (object: FeegrantMsgs.MsgGrantAllowance) => {
|
|
536
173
|
typeUrl: string;
|
|
537
174
|
value: MsgGrantAllowance;
|
|
538
175
|
};
|
|
@@ -542,13 +179,7 @@ export declare namespace Feegrant {
|
|
|
542
179
|
* @param object Represents the properties available for this MsgRevokeAllowance message.
|
|
543
180
|
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
544
181
|
*/
|
|
545
|
-
const RevokeAllowance:
|
|
546
|
-
granter?: string;
|
|
547
|
-
grantee?: string;
|
|
548
|
-
} & {
|
|
549
|
-
granter?: string;
|
|
550
|
-
grantee?: string;
|
|
551
|
-
} & { [K in Exclude<keyof I, keyof MsgRevokeAllowance>]: never; }>(object: I) => {
|
|
182
|
+
const RevokeAllowance: (object: FeegrantMsgs.MsgRevokeAllowance) => {
|
|
552
183
|
typeUrl: string;
|
|
553
184
|
value: MsgRevokeAllowance;
|
|
554
185
|
};
|
|
@@ -563,91 +194,7 @@ export declare namespace Bank {
|
|
|
563
194
|
* @param object Represents the properties available for this MsgMultiSend message.
|
|
564
195
|
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
565
196
|
*/
|
|
566
|
-
const MultiSend:
|
|
567
|
-
inputs?: {
|
|
568
|
-
address?: string;
|
|
569
|
-
coins?: {
|
|
570
|
-
denom?: string;
|
|
571
|
-
amount?: string;
|
|
572
|
-
}[];
|
|
573
|
-
}[];
|
|
574
|
-
outputs?: {
|
|
575
|
-
address?: string;
|
|
576
|
-
coins?: {
|
|
577
|
-
denom?: string;
|
|
578
|
-
amount?: string;
|
|
579
|
-
}[];
|
|
580
|
-
}[];
|
|
581
|
-
} & {
|
|
582
|
-
inputs?: {
|
|
583
|
-
address?: string;
|
|
584
|
-
coins?: {
|
|
585
|
-
denom?: string;
|
|
586
|
-
amount?: string;
|
|
587
|
-
}[];
|
|
588
|
-
}[] & ({
|
|
589
|
-
address?: string;
|
|
590
|
-
coins?: {
|
|
591
|
-
denom?: string;
|
|
592
|
-
amount?: string;
|
|
593
|
-
}[];
|
|
594
|
-
} & {
|
|
595
|
-
address?: string;
|
|
596
|
-
coins?: {
|
|
597
|
-
denom?: string;
|
|
598
|
-
amount?: string;
|
|
599
|
-
}[] & ({
|
|
600
|
-
denom?: string;
|
|
601
|
-
amount?: string;
|
|
602
|
-
} & {
|
|
603
|
-
denom?: string;
|
|
604
|
-
amount?: string;
|
|
605
|
-
} & { [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 {
|
|
606
|
-
denom?: string;
|
|
607
|
-
amount?: string;
|
|
608
|
-
}[]>]: never; };
|
|
609
|
-
} & { [K_2 in Exclude<keyof I["inputs"][number], keyof import("./bank/v1beta1/bank").Input>]: never; })[] & { [K_3 in Exclude<keyof I["inputs"], keyof {
|
|
610
|
-
address?: string;
|
|
611
|
-
coins?: {
|
|
612
|
-
denom?: string;
|
|
613
|
-
amount?: string;
|
|
614
|
-
}[];
|
|
615
|
-
}[]>]: never; };
|
|
616
|
-
outputs?: {
|
|
617
|
-
address?: string;
|
|
618
|
-
coins?: {
|
|
619
|
-
denom?: string;
|
|
620
|
-
amount?: string;
|
|
621
|
-
}[];
|
|
622
|
-
}[] & ({
|
|
623
|
-
address?: string;
|
|
624
|
-
coins?: {
|
|
625
|
-
denom?: string;
|
|
626
|
-
amount?: string;
|
|
627
|
-
}[];
|
|
628
|
-
} & {
|
|
629
|
-
address?: string;
|
|
630
|
-
coins?: {
|
|
631
|
-
denom?: string;
|
|
632
|
-
amount?: string;
|
|
633
|
-
}[] & ({
|
|
634
|
-
denom?: string;
|
|
635
|
-
amount?: string;
|
|
636
|
-
} & {
|
|
637
|
-
denom?: string;
|
|
638
|
-
amount?: string;
|
|
639
|
-
} & { [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 {
|
|
640
|
-
denom?: string;
|
|
641
|
-
amount?: string;
|
|
642
|
-
}[]>]: never; };
|
|
643
|
-
} & { [K_6 in Exclude<keyof I["outputs"][number], keyof import("./bank/v1beta1/bank").Output>]: never; })[] & { [K_7 in Exclude<keyof I["outputs"], keyof {
|
|
644
|
-
address?: string;
|
|
645
|
-
coins?: {
|
|
646
|
-
denom?: string;
|
|
647
|
-
amount?: string;
|
|
648
|
-
}[];
|
|
649
|
-
}[]>]: never; };
|
|
650
|
-
} & { [K_8 in Exclude<keyof I, keyof MsgMultiSend>]: never; }>(object: I) => {
|
|
197
|
+
const MultiSend: (object: BankMsgs.MsgMultiSend) => {
|
|
651
198
|
typeUrl: string;
|
|
652
199
|
value: MsgMultiSend;
|
|
653
200
|
};
|
|
@@ -657,30 +204,7 @@ export declare namespace Bank {
|
|
|
657
204
|
* @param object Represents the properties available for this MsgSend message.
|
|
658
205
|
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
659
206
|
*/
|
|
660
|
-
const Send:
|
|
661
|
-
fromAddress?: string;
|
|
662
|
-
toAddress?: string;
|
|
663
|
-
amount?: {
|
|
664
|
-
denom?: string;
|
|
665
|
-
amount?: string;
|
|
666
|
-
}[];
|
|
667
|
-
} & {
|
|
668
|
-
fromAddress?: string;
|
|
669
|
-
toAddress?: string;
|
|
670
|
-
amount?: {
|
|
671
|
-
denom?: string;
|
|
672
|
-
amount?: string;
|
|
673
|
-
}[] & ({
|
|
674
|
-
denom?: string;
|
|
675
|
-
amount?: string;
|
|
676
|
-
} & {
|
|
677
|
-
denom?: string;
|
|
678
|
-
amount?: string;
|
|
679
|
-
} & { [K in Exclude<keyof I["amount"][number], keyof import("./base/v1beta1/coin").Coin>]: never; })[] & { [K_1 in Exclude<keyof I["amount"], keyof {
|
|
680
|
-
denom?: string;
|
|
681
|
-
amount?: string;
|
|
682
|
-
}[]>]: never; };
|
|
683
|
-
} & { [K_2 in Exclude<keyof I, keyof MsgSend>]: never; }>(object: I) => {
|
|
207
|
+
const Send: (object: BankMsgs.MsgSend) => {
|
|
684
208
|
typeUrl: string;
|
|
685
209
|
value: MsgSend;
|
|
686
210
|
};
|
|
@@ -689,30 +213,7 @@ export declare namespace Bank {
|
|
|
689
213
|
* @param object Represents the properties available for this MsgSetSendEnabled message.
|
|
690
214
|
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
691
215
|
*/
|
|
692
|
-
const SetSendEnabled:
|
|
693
|
-
authority?: string;
|
|
694
|
-
sendEnabled?: {
|
|
695
|
-
denom?: string;
|
|
696
|
-
enabled?: boolean;
|
|
697
|
-
}[];
|
|
698
|
-
useDefaultFor?: string[];
|
|
699
|
-
} & {
|
|
700
|
-
authority?: string;
|
|
701
|
-
sendEnabled?: {
|
|
702
|
-
denom?: string;
|
|
703
|
-
enabled?: boolean;
|
|
704
|
-
}[] & ({
|
|
705
|
-
denom?: string;
|
|
706
|
-
enabled?: boolean;
|
|
707
|
-
} & {
|
|
708
|
-
denom?: string;
|
|
709
|
-
enabled?: boolean;
|
|
710
|
-
} & { [K in Exclude<keyof I["sendEnabled"][number], keyof import("./bank/v1beta1/bank").SendEnabled>]: never; })[] & { [K_1 in Exclude<keyof I["sendEnabled"], keyof {
|
|
711
|
-
denom?: string;
|
|
712
|
-
enabled?: boolean;
|
|
713
|
-
}[]>]: never; };
|
|
714
|
-
useDefaultFor?: string[] & string[] & { [K_2 in Exclude<keyof I["useDefaultFor"], keyof string[]>]: never; };
|
|
715
|
-
} & { [K_3 in Exclude<keyof I, keyof MsgSetSendEnabled>]: never; }>(object: I) => {
|
|
216
|
+
const SetSendEnabled: (object: BankMsgs.MsgSetSendEnabled) => {
|
|
716
217
|
typeUrl: string;
|
|
717
218
|
value: MsgSetSendEnabled;
|
|
718
219
|
};
|
|
@@ -721,40 +222,7 @@ export declare namespace Bank {
|
|
|
721
222
|
* @param object Represents the properties available for this MsgUpdateParams message.
|
|
722
223
|
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
723
224
|
*/
|
|
724
|
-
const UpdateParams:
|
|
725
|
-
authority?: string;
|
|
726
|
-
params?: {
|
|
727
|
-
sendEnabled?: {
|
|
728
|
-
denom?: string;
|
|
729
|
-
enabled?: boolean;
|
|
730
|
-
}[];
|
|
731
|
-
defaultSendEnabled?: boolean;
|
|
732
|
-
};
|
|
733
|
-
} & {
|
|
734
|
-
authority?: string;
|
|
735
|
-
params?: {
|
|
736
|
-
sendEnabled?: {
|
|
737
|
-
denom?: string;
|
|
738
|
-
enabled?: boolean;
|
|
739
|
-
}[];
|
|
740
|
-
defaultSendEnabled?: boolean;
|
|
741
|
-
} & {
|
|
742
|
-
sendEnabled?: {
|
|
743
|
-
denom?: string;
|
|
744
|
-
enabled?: boolean;
|
|
745
|
-
}[] & ({
|
|
746
|
-
denom?: string;
|
|
747
|
-
enabled?: boolean;
|
|
748
|
-
} & {
|
|
749
|
-
denom?: string;
|
|
750
|
-
enabled?: boolean;
|
|
751
|
-
} & { [K in Exclude<keyof I["params"]["sendEnabled"][number], keyof import("./bank/v1beta1/bank").SendEnabled>]: never; })[] & { [K_1 in Exclude<keyof I["params"]["sendEnabled"], keyof {
|
|
752
|
-
denom?: string;
|
|
753
|
-
enabled?: boolean;
|
|
754
|
-
}[]>]: never; };
|
|
755
|
-
defaultSendEnabled?: boolean;
|
|
756
|
-
} & { [K_2 in Exclude<keyof I["params"], keyof import("./bank/v1beta1/bank").Params>]: never; };
|
|
757
|
-
} & { [K_3 in Exclude<keyof I, keyof MsgUpdateParams>]: never; }>(object: I) => {
|
|
225
|
+
const UpdateParams: (object: BankMsgs.MsgUpdateParams) => {
|
|
758
226
|
typeUrl: string;
|
|
759
227
|
value: MsgUpdateParams;
|
|
760
228
|
};
|
|
@@ -769,13 +237,7 @@ export declare namespace Distribution {
|
|
|
769
237
|
* @param object Represents the properties available for this MsgWithdrawDelegatorReward message.
|
|
770
238
|
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
771
239
|
*/
|
|
772
|
-
const WithdrawDelegatorReward:
|
|
773
|
-
delegatorAddress?: string;
|
|
774
|
-
validatorAddress?: string;
|
|
775
|
-
} & {
|
|
776
|
-
delegatorAddress?: string;
|
|
777
|
-
validatorAddress?: string;
|
|
778
|
-
} & { [K in Exclude<keyof I, keyof MsgWithdrawDelegatorReward>]: never; }>(object: I) => {
|
|
240
|
+
const WithdrawDelegatorReward: (object: DistributionMsgs.MsgWithdrawDelegatorReward) => {
|
|
779
241
|
typeUrl: string;
|
|
780
242
|
value: MsgWithdrawDelegatorReward;
|
|
781
243
|
};
|
|
@@ -784,28 +246,7 @@ export declare namespace Distribution {
|
|
|
784
246
|
* @param object Represents the properties available for this MsgUpdateParams message.
|
|
785
247
|
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
786
248
|
*/
|
|
787
|
-
const UpdateParams:
|
|
788
|
-
authority?: string;
|
|
789
|
-
params?: {
|
|
790
|
-
communityTax?: string;
|
|
791
|
-
baseProposerReward?: string;
|
|
792
|
-
bonusProposerReward?: string;
|
|
793
|
-
withdrawAddrEnabled?: boolean;
|
|
794
|
-
};
|
|
795
|
-
} & {
|
|
796
|
-
authority?: string;
|
|
797
|
-
params?: {
|
|
798
|
-
communityTax?: string;
|
|
799
|
-
baseProposerReward?: string;
|
|
800
|
-
bonusProposerReward?: string;
|
|
801
|
-
withdrawAddrEnabled?: boolean;
|
|
802
|
-
} & {
|
|
803
|
-
communityTax?: string;
|
|
804
|
-
baseProposerReward?: string;
|
|
805
|
-
bonusProposerReward?: string;
|
|
806
|
-
withdrawAddrEnabled?: boolean;
|
|
807
|
-
} & { [K in Exclude<keyof I["params"], keyof import("./distribution/v1beta1/distribution").Params>]: never; };
|
|
808
|
-
} & { [K_1 in Exclude<keyof I, keyof DMsgUpdateParams>]: never; }>(object: I) => {
|
|
249
|
+
const UpdateParams: (object: DistributionMsgs.MsgUpdateParams) => {
|
|
809
250
|
typeUrl: string;
|
|
810
251
|
value: DMsgUpdateParams;
|
|
811
252
|
};
|
|
@@ -815,11 +256,7 @@ export declare namespace Distribution {
|
|
|
815
256
|
* @param object Represents the properties available for this MsgWithdrawValidatorCommission message.
|
|
816
257
|
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
817
258
|
*/
|
|
818
|
-
const WithdrawValidatorCommission:
|
|
819
|
-
validatorAddress?: string;
|
|
820
|
-
} & {
|
|
821
|
-
validatorAddress?: string;
|
|
822
|
-
} & { [K in Exclude<keyof I, "validatorAddress">]: never; }>(object: I) => {
|
|
259
|
+
const WithdrawValidatorCommission: (object: DistributionMsgs.MsgWithdrawValidatorCommission) => {
|
|
823
260
|
typeUrl: string;
|
|
824
261
|
value: MsgWithdrawValidatorCommission;
|
|
825
262
|
};
|
|
@@ -828,30 +265,7 @@ export declare namespace Distribution {
|
|
|
828
265
|
* @param object Represents the properties available for this MsgCommunityPoolSpend message.
|
|
829
266
|
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
830
267
|
*/
|
|
831
|
-
const CommunityPoolSpend:
|
|
832
|
-
authority?: string;
|
|
833
|
-
recipient?: string;
|
|
834
|
-
amount?: {
|
|
835
|
-
denom?: string;
|
|
836
|
-
amount?: string;
|
|
837
|
-
}[];
|
|
838
|
-
} & {
|
|
839
|
-
authority?: string;
|
|
840
|
-
recipient?: string;
|
|
841
|
-
amount?: {
|
|
842
|
-
denom?: string;
|
|
843
|
-
amount?: string;
|
|
844
|
-
}[] & ({
|
|
845
|
-
denom?: string;
|
|
846
|
-
amount?: string;
|
|
847
|
-
} & {
|
|
848
|
-
denom?: string;
|
|
849
|
-
amount?: string;
|
|
850
|
-
} & { [K in Exclude<keyof I["amount"][number], keyof import("./base/v1beta1/coin").Coin>]: never; })[] & { [K_1 in Exclude<keyof I["amount"], keyof {
|
|
851
|
-
denom?: string;
|
|
852
|
-
amount?: string;
|
|
853
|
-
}[]>]: never; };
|
|
854
|
-
} & { [K_2 in Exclude<keyof I, keyof MsgCommunityPoolSpend>]: never; }>(object: I) => {
|
|
268
|
+
const CommunityPoolSpend: (object: DistributionMsgs.MsgCommunityPoolSpend) => {
|
|
855
269
|
typeUrl: string;
|
|
856
270
|
value: MsgCommunityPoolSpend;
|
|
857
271
|
};
|
|
@@ -860,30 +274,7 @@ export declare namespace Distribution {
|
|
|
860
274
|
* @param object Represents the properties available for this MsgDepositValidatorRewardsPool message.
|
|
861
275
|
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
862
276
|
*/
|
|
863
|
-
const DepositValidatorRewardsPool:
|
|
864
|
-
depositor?: string;
|
|
865
|
-
validatorAddress?: string;
|
|
866
|
-
amount?: {
|
|
867
|
-
denom?: string;
|
|
868
|
-
amount?: string;
|
|
869
|
-
}[];
|
|
870
|
-
} & {
|
|
871
|
-
depositor?: string;
|
|
872
|
-
validatorAddress?: string;
|
|
873
|
-
amount?: {
|
|
874
|
-
denom?: string;
|
|
875
|
-
amount?: string;
|
|
876
|
-
}[] & ({
|
|
877
|
-
denom?: string;
|
|
878
|
-
amount?: string;
|
|
879
|
-
} & {
|
|
880
|
-
denom?: string;
|
|
881
|
-
amount?: string;
|
|
882
|
-
} & { [K in Exclude<keyof I["amount"][number], keyof import("./base/v1beta1/coin").Coin>]: never; })[] & { [K_1 in Exclude<keyof I["amount"], keyof {
|
|
883
|
-
denom?: string;
|
|
884
|
-
amount?: string;
|
|
885
|
-
}[]>]: never; };
|
|
886
|
-
} & { [K_2 in Exclude<keyof I, keyof MsgDepositValidatorRewardsPool>]: never; }>(object: I) => {
|
|
277
|
+
const DepositValidatorRewardsPool: (object: DistributionMsgs.MsgDepositValidatorRewardsPool) => {
|
|
887
278
|
typeUrl: string;
|
|
888
279
|
value: MsgDepositValidatorRewardsPool;
|
|
889
280
|
};
|
|
@@ -893,28 +284,7 @@ export declare namespace Distribution {
|
|
|
893
284
|
* @param object Represents the properties available for this MsgUpdateParams message.
|
|
894
285
|
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
895
286
|
*/
|
|
896
|
-
const FundCommunityPool:
|
|
897
|
-
amount?: {
|
|
898
|
-
denom?: string;
|
|
899
|
-
amount?: string;
|
|
900
|
-
}[];
|
|
901
|
-
depositor?: string;
|
|
902
|
-
} & {
|
|
903
|
-
amount?: {
|
|
904
|
-
denom?: string;
|
|
905
|
-
amount?: string;
|
|
906
|
-
}[] & ({
|
|
907
|
-
denom?: string;
|
|
908
|
-
amount?: string;
|
|
909
|
-
} & {
|
|
910
|
-
denom?: string;
|
|
911
|
-
amount?: string;
|
|
912
|
-
} & { [K in Exclude<keyof I["amount"][number], keyof import("./base/v1beta1/coin").Coin>]: never; })[] & { [K_1 in Exclude<keyof I["amount"], keyof {
|
|
913
|
-
denom?: string;
|
|
914
|
-
amount?: string;
|
|
915
|
-
}[]>]: never; };
|
|
916
|
-
depositor?: string;
|
|
917
|
-
} & { [K_2 in Exclude<keyof I, keyof MsgFundCommunityPool>]: never; }>(object: I) => {
|
|
287
|
+
const FundCommunityPool: (object: DistributionMsgs.MsgFundCommunityPool) => {
|
|
918
288
|
typeUrl: string;
|
|
919
289
|
value: MsgFundCommunityPool;
|
|
920
290
|
};
|
|
@@ -924,13 +294,7 @@ export declare namespace Distribution {
|
|
|
924
294
|
* @param object Represents the properties available for this MsgSetWithdrawAddress message.
|
|
925
295
|
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
926
296
|
*/
|
|
927
|
-
const SetWithdrawAddress:
|
|
928
|
-
delegatorAddress?: string;
|
|
929
|
-
withdrawAddress?: string;
|
|
930
|
-
} & {
|
|
931
|
-
delegatorAddress?: string;
|
|
932
|
-
withdrawAddress?: string;
|
|
933
|
-
} & { [K in Exclude<keyof I, keyof MsgSetWithdrawAddress>]: never; }>(object: I) => {
|
|
297
|
+
const SetWithdrawAddress: (object: DistributionMsgs.MsgSetWithdrawAddress) => {
|
|
934
298
|
typeUrl: string;
|
|
935
299
|
value: MsgSetWithdrawAddress;
|
|
936
300
|
};
|
|
@@ -945,114 +309,15 @@ export declare namespace Vesting {
|
|
|
945
309
|
* @param object Represents the properties available for this MsgCreateVestingAccount message.
|
|
946
310
|
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
947
311
|
*/
|
|
948
|
-
const CreateVestingAccount:
|
|
949
|
-
fromAddress?: string;
|
|
950
|
-
toAddress?: string;
|
|
951
|
-
amount?: {
|
|
952
|
-
denom?: string;
|
|
953
|
-
amount?: string;
|
|
954
|
-
}[];
|
|
955
|
-
endTime?: number;
|
|
956
|
-
delayed?: boolean;
|
|
957
|
-
} & {
|
|
958
|
-
fromAddress?: string;
|
|
959
|
-
toAddress?: string;
|
|
960
|
-
amount?: {
|
|
961
|
-
denom?: string;
|
|
962
|
-
amount?: string;
|
|
963
|
-
}[] & ({
|
|
964
|
-
denom?: string;
|
|
965
|
-
amount?: string;
|
|
966
|
-
} & {
|
|
967
|
-
denom?: string;
|
|
968
|
-
amount?: string;
|
|
969
|
-
} & { [K in Exclude<keyof I["amount"][number], keyof import("./base/v1beta1/coin").Coin>]: never; })[] & { [K_1 in Exclude<keyof I["amount"], keyof {
|
|
970
|
-
denom?: string;
|
|
971
|
-
amount?: string;
|
|
972
|
-
}[]>]: never; };
|
|
973
|
-
endTime?: number;
|
|
974
|
-
delayed?: boolean;
|
|
975
|
-
} & { [K_2 in Exclude<keyof I, keyof MsgCreateVestingAccount>]: never; }>(object: I) => {
|
|
312
|
+
const CreateVestingAccount: (object: VestingMsgs.MsgCreateVestingAccount) => {
|
|
976
313
|
typeUrl: string;
|
|
977
314
|
value: MsgCreateVestingAccount;
|
|
978
315
|
};
|
|
979
|
-
const CreatePeriodicVestingAccount:
|
|
980
|
-
fromAddress?: string;
|
|
981
|
-
toAddress?: string;
|
|
982
|
-
startTime?: number;
|
|
983
|
-
vestingPeriods?: {
|
|
984
|
-
length?: number;
|
|
985
|
-
amount?: {
|
|
986
|
-
denom?: string;
|
|
987
|
-
amount?: string;
|
|
988
|
-
}[];
|
|
989
|
-
}[];
|
|
990
|
-
} & {
|
|
991
|
-
fromAddress?: string;
|
|
992
|
-
toAddress?: string;
|
|
993
|
-
startTime?: number;
|
|
994
|
-
vestingPeriods?: {
|
|
995
|
-
length?: number;
|
|
996
|
-
amount?: {
|
|
997
|
-
denom?: string;
|
|
998
|
-
amount?: string;
|
|
999
|
-
}[];
|
|
1000
|
-
}[] & ({
|
|
1001
|
-
length?: number;
|
|
1002
|
-
amount?: {
|
|
1003
|
-
denom?: string;
|
|
1004
|
-
amount?: string;
|
|
1005
|
-
}[];
|
|
1006
|
-
} & {
|
|
1007
|
-
length?: number;
|
|
1008
|
-
amount?: {
|
|
1009
|
-
denom?: string;
|
|
1010
|
-
amount?: string;
|
|
1011
|
-
}[] & ({
|
|
1012
|
-
denom?: string;
|
|
1013
|
-
amount?: string;
|
|
1014
|
-
} & {
|
|
1015
|
-
denom?: string;
|
|
1016
|
-
amount?: string;
|
|
1017
|
-
} & { [K in Exclude<keyof I["vestingPeriods"][number]["amount"][number], keyof import("./base/v1beta1/coin").Coin>]: never; })[] & { [K_1 in Exclude<keyof I["vestingPeriods"][number]["amount"], keyof {
|
|
1018
|
-
denom?: string;
|
|
1019
|
-
amount?: string;
|
|
1020
|
-
}[]>]: never; };
|
|
1021
|
-
} & { [K_2 in Exclude<keyof I["vestingPeriods"][number], keyof import("./vesting/v1beta1/vesting").Period>]: never; })[] & { [K_3 in Exclude<keyof I["vestingPeriods"], keyof {
|
|
1022
|
-
length?: number;
|
|
1023
|
-
amount?: {
|
|
1024
|
-
denom?: string;
|
|
1025
|
-
amount?: string;
|
|
1026
|
-
}[];
|
|
1027
|
-
}[]>]: never; };
|
|
1028
|
-
} & { [K_4 in Exclude<keyof I, keyof MsgCreatePeriodicVestingAccount>]: never; }>(object: I) => {
|
|
316
|
+
const CreatePeriodicVestingAccount: (object: VestingMsgs.MsgCreatePeriodicVestingAccount) => {
|
|
1029
317
|
typeUrl: string;
|
|
1030
318
|
value: MsgCreatePeriodicVestingAccount;
|
|
1031
319
|
};
|
|
1032
|
-
const CreatePermanentLockedAccount:
|
|
1033
|
-
fromAddress?: string;
|
|
1034
|
-
toAddress?: string;
|
|
1035
|
-
amount?: {
|
|
1036
|
-
denom?: string;
|
|
1037
|
-
amount?: string;
|
|
1038
|
-
}[];
|
|
1039
|
-
} & {
|
|
1040
|
-
fromAddress?: string;
|
|
1041
|
-
toAddress?: string;
|
|
1042
|
-
amount?: {
|
|
1043
|
-
denom?: string;
|
|
1044
|
-
amount?: string;
|
|
1045
|
-
}[] & ({
|
|
1046
|
-
denom?: string;
|
|
1047
|
-
amount?: string;
|
|
1048
|
-
} & {
|
|
1049
|
-
denom?: string;
|
|
1050
|
-
amount?: string;
|
|
1051
|
-
} & { [K in Exclude<keyof I["amount"][number], keyof import("./base/v1beta1/coin").Coin>]: never; })[] & { [K_1 in Exclude<keyof I["amount"], keyof {
|
|
1052
|
-
denom?: string;
|
|
1053
|
-
amount?: string;
|
|
1054
|
-
}[]>]: never; };
|
|
1055
|
-
} & { [K_2 in Exclude<keyof I, keyof MsgCreatePermanentLockedAccount>]: never; }>(object: I) => {
|
|
320
|
+
const CreatePermanentLockedAccount: (object: VestingMsgs.MsgCreatePermanentLockedAccount) => {
|
|
1056
321
|
typeUrl: string;
|
|
1057
322
|
value: MsgCreatePermanentLockedAccount;
|
|
1058
323
|
};
|