coreum-js 2.5.10 → 2.5.11
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/dist/main/cosmos/auth/v1beta1/auth.d.ts +229 -0
- package/dist/main/cosmos/auth/v1beta1/auth.js +438 -0
- package/dist/main/cosmos/index.d.ts +114 -0
- package/dist/main/cosmos/index.js +25 -2
- package/dist/main/cosmos/vesting/v1beta1/tx.d.ts +350 -0
- package/dist/main/cosmos/vesting/v1beta1/tx.js +455 -0
- package/dist/main/cosmos/vesting/v1beta1/vesting.d.ts +1305 -0
- package/dist/main/cosmos/vesting/v1beta1/vesting.js +499 -0
- package/dist/module/cosmos/auth/v1beta1/auth.d.ts +229 -0
- package/dist/module/cosmos/auth/v1beta1/auth.js +428 -0
- package/dist/module/cosmos/index.d.ts +114 -0
- package/dist/module/cosmos/index.js +24 -1
- package/dist/module/cosmos/vesting/v1beta1/tx.d.ts +350 -0
- package/dist/module/cosmos/vesting/v1beta1/tx.js +447 -0
- package/dist/module/cosmos/vesting/v1beta1/vesting.d.ts +1305 -0
- package/dist/module/cosmos/vesting/v1beta1/vesting.js +489 -0
- package/package.json +1 -1
|
@@ -0,0 +1,1305 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
import { BaseAccount } from "../../auth/v1beta1/auth";
|
|
3
|
+
import { Coin } from "../../base/v1beta1/coin";
|
|
4
|
+
export declare const protobufPackage = "cosmos.vesting.v1beta1";
|
|
5
|
+
/**
|
|
6
|
+
* BaseVestingAccount implements the VestingAccount interface. It contains all
|
|
7
|
+
* the necessary fields needed for any vesting account implementation.
|
|
8
|
+
*/
|
|
9
|
+
export interface BaseVestingAccount {
|
|
10
|
+
baseAccount: BaseAccount | undefined;
|
|
11
|
+
originalVesting: Coin[];
|
|
12
|
+
delegatedFree: Coin[];
|
|
13
|
+
delegatedVesting: Coin[];
|
|
14
|
+
/** Vesting end time, as unix timestamp (in seconds). */
|
|
15
|
+
endTime: number;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* ContinuousVestingAccount implements the VestingAccount interface. It
|
|
19
|
+
* continuously vests by unlocking coins linearly with respect to time.
|
|
20
|
+
*/
|
|
21
|
+
export interface ContinuousVestingAccount {
|
|
22
|
+
baseVestingAccount: BaseVestingAccount | undefined;
|
|
23
|
+
/** Vesting start time, as unix timestamp (in seconds). */
|
|
24
|
+
startTime: number;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* DelayedVestingAccount implements the VestingAccount interface. It vests all
|
|
28
|
+
* coins after a specific time, but non prior. In other words, it keeps them
|
|
29
|
+
* locked until a specified time.
|
|
30
|
+
*/
|
|
31
|
+
export interface DelayedVestingAccount {
|
|
32
|
+
baseVestingAccount: BaseVestingAccount | undefined;
|
|
33
|
+
}
|
|
34
|
+
/** Period defines a length of time and amount of coins that will vest. */
|
|
35
|
+
export interface Period {
|
|
36
|
+
/** Period duration in seconds. */
|
|
37
|
+
length: number;
|
|
38
|
+
amount: Coin[];
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* PeriodicVestingAccount implements the VestingAccount interface. It
|
|
42
|
+
* periodically vests by unlocking coins during each specified period.
|
|
43
|
+
*/
|
|
44
|
+
export interface PeriodicVestingAccount {
|
|
45
|
+
baseVestingAccount: BaseVestingAccount | undefined;
|
|
46
|
+
startTime: number;
|
|
47
|
+
vestingPeriods: Period[];
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* PermanentLockedAccount implements the VestingAccount interface. It does
|
|
51
|
+
* not ever release coins, locking them indefinitely. Coins in this account can
|
|
52
|
+
* still be used for delegating and for governance votes even while locked.
|
|
53
|
+
*
|
|
54
|
+
* Since: cosmos-sdk 0.43
|
|
55
|
+
*/
|
|
56
|
+
export interface PermanentLockedAccount {
|
|
57
|
+
baseVestingAccount: BaseVestingAccount | undefined;
|
|
58
|
+
}
|
|
59
|
+
export declare const BaseVestingAccount: {
|
|
60
|
+
encode(message: BaseVestingAccount, writer?: _m0.Writer): _m0.Writer;
|
|
61
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): BaseVestingAccount;
|
|
62
|
+
fromJSON(object: any): BaseVestingAccount;
|
|
63
|
+
toJSON(message: BaseVestingAccount): unknown;
|
|
64
|
+
create<I extends {
|
|
65
|
+
baseAccount?: {
|
|
66
|
+
address?: string;
|
|
67
|
+
pubKey?: {
|
|
68
|
+
typeUrl?: string;
|
|
69
|
+
value?: Uint8Array;
|
|
70
|
+
};
|
|
71
|
+
accountNumber?: number;
|
|
72
|
+
sequence?: number;
|
|
73
|
+
};
|
|
74
|
+
originalVesting?: {
|
|
75
|
+
denom?: string;
|
|
76
|
+
amount?: string;
|
|
77
|
+
}[];
|
|
78
|
+
delegatedFree?: {
|
|
79
|
+
denom?: string;
|
|
80
|
+
amount?: string;
|
|
81
|
+
}[];
|
|
82
|
+
delegatedVesting?: {
|
|
83
|
+
denom?: string;
|
|
84
|
+
amount?: string;
|
|
85
|
+
}[];
|
|
86
|
+
endTime?: number;
|
|
87
|
+
} & {
|
|
88
|
+
baseAccount?: {
|
|
89
|
+
address?: string;
|
|
90
|
+
pubKey?: {
|
|
91
|
+
typeUrl?: string;
|
|
92
|
+
value?: Uint8Array;
|
|
93
|
+
};
|
|
94
|
+
accountNumber?: number;
|
|
95
|
+
sequence?: number;
|
|
96
|
+
} & {
|
|
97
|
+
address?: string;
|
|
98
|
+
pubKey?: {
|
|
99
|
+
typeUrl?: string;
|
|
100
|
+
value?: Uint8Array;
|
|
101
|
+
} & {
|
|
102
|
+
typeUrl?: string;
|
|
103
|
+
value?: Uint8Array;
|
|
104
|
+
} & { [K in Exclude<keyof I["baseAccount"]["pubKey"], keyof import("../../../google/protobuf/any").Any>]: never; };
|
|
105
|
+
accountNumber?: number;
|
|
106
|
+
sequence?: number;
|
|
107
|
+
} & { [K_1 in Exclude<keyof I["baseAccount"], keyof BaseAccount>]: never; };
|
|
108
|
+
originalVesting?: {
|
|
109
|
+
denom?: string;
|
|
110
|
+
amount?: string;
|
|
111
|
+
}[] & ({
|
|
112
|
+
denom?: string;
|
|
113
|
+
amount?: string;
|
|
114
|
+
} & {
|
|
115
|
+
denom?: string;
|
|
116
|
+
amount?: string;
|
|
117
|
+
} & { [K_2 in Exclude<keyof I["originalVesting"][number], keyof Coin>]: never; })[] & { [K_3 in Exclude<keyof I["originalVesting"], keyof {
|
|
118
|
+
denom?: string;
|
|
119
|
+
amount?: string;
|
|
120
|
+
}[]>]: never; };
|
|
121
|
+
delegatedFree?: {
|
|
122
|
+
denom?: string;
|
|
123
|
+
amount?: string;
|
|
124
|
+
}[] & ({
|
|
125
|
+
denom?: string;
|
|
126
|
+
amount?: string;
|
|
127
|
+
} & {
|
|
128
|
+
denom?: string;
|
|
129
|
+
amount?: string;
|
|
130
|
+
} & { [K_4 in Exclude<keyof I["delegatedFree"][number], keyof Coin>]: never; })[] & { [K_5 in Exclude<keyof I["delegatedFree"], keyof {
|
|
131
|
+
denom?: string;
|
|
132
|
+
amount?: string;
|
|
133
|
+
}[]>]: never; };
|
|
134
|
+
delegatedVesting?: {
|
|
135
|
+
denom?: string;
|
|
136
|
+
amount?: string;
|
|
137
|
+
}[] & ({
|
|
138
|
+
denom?: string;
|
|
139
|
+
amount?: string;
|
|
140
|
+
} & {
|
|
141
|
+
denom?: string;
|
|
142
|
+
amount?: string;
|
|
143
|
+
} & { [K_6 in Exclude<keyof I["delegatedVesting"][number], keyof Coin>]: never; })[] & { [K_7 in Exclude<keyof I["delegatedVesting"], keyof {
|
|
144
|
+
denom?: string;
|
|
145
|
+
amount?: string;
|
|
146
|
+
}[]>]: never; };
|
|
147
|
+
endTime?: number;
|
|
148
|
+
} & { [K_8 in Exclude<keyof I, keyof BaseVestingAccount>]: never; }>(base?: I): BaseVestingAccount;
|
|
149
|
+
fromPartial<I_1 extends {
|
|
150
|
+
baseAccount?: {
|
|
151
|
+
address?: string;
|
|
152
|
+
pubKey?: {
|
|
153
|
+
typeUrl?: string;
|
|
154
|
+
value?: Uint8Array;
|
|
155
|
+
};
|
|
156
|
+
accountNumber?: number;
|
|
157
|
+
sequence?: number;
|
|
158
|
+
};
|
|
159
|
+
originalVesting?: {
|
|
160
|
+
denom?: string;
|
|
161
|
+
amount?: string;
|
|
162
|
+
}[];
|
|
163
|
+
delegatedFree?: {
|
|
164
|
+
denom?: string;
|
|
165
|
+
amount?: string;
|
|
166
|
+
}[];
|
|
167
|
+
delegatedVesting?: {
|
|
168
|
+
denom?: string;
|
|
169
|
+
amount?: string;
|
|
170
|
+
}[];
|
|
171
|
+
endTime?: number;
|
|
172
|
+
} & {
|
|
173
|
+
baseAccount?: {
|
|
174
|
+
address?: string;
|
|
175
|
+
pubKey?: {
|
|
176
|
+
typeUrl?: string;
|
|
177
|
+
value?: Uint8Array;
|
|
178
|
+
};
|
|
179
|
+
accountNumber?: number;
|
|
180
|
+
sequence?: number;
|
|
181
|
+
} & {
|
|
182
|
+
address?: string;
|
|
183
|
+
pubKey?: {
|
|
184
|
+
typeUrl?: string;
|
|
185
|
+
value?: Uint8Array;
|
|
186
|
+
} & {
|
|
187
|
+
typeUrl?: string;
|
|
188
|
+
value?: Uint8Array;
|
|
189
|
+
} & { [K_9 in Exclude<keyof I_1["baseAccount"]["pubKey"], keyof import("../../../google/protobuf/any").Any>]: never; };
|
|
190
|
+
accountNumber?: number;
|
|
191
|
+
sequence?: number;
|
|
192
|
+
} & { [K_10 in Exclude<keyof I_1["baseAccount"], keyof BaseAccount>]: never; };
|
|
193
|
+
originalVesting?: {
|
|
194
|
+
denom?: string;
|
|
195
|
+
amount?: string;
|
|
196
|
+
}[] & ({
|
|
197
|
+
denom?: string;
|
|
198
|
+
amount?: string;
|
|
199
|
+
} & {
|
|
200
|
+
denom?: string;
|
|
201
|
+
amount?: string;
|
|
202
|
+
} & { [K_11 in Exclude<keyof I_1["originalVesting"][number], keyof Coin>]: never; })[] & { [K_12 in Exclude<keyof I_1["originalVesting"], keyof {
|
|
203
|
+
denom?: string;
|
|
204
|
+
amount?: string;
|
|
205
|
+
}[]>]: never; };
|
|
206
|
+
delegatedFree?: {
|
|
207
|
+
denom?: string;
|
|
208
|
+
amount?: string;
|
|
209
|
+
}[] & ({
|
|
210
|
+
denom?: string;
|
|
211
|
+
amount?: string;
|
|
212
|
+
} & {
|
|
213
|
+
denom?: string;
|
|
214
|
+
amount?: string;
|
|
215
|
+
} & { [K_13 in Exclude<keyof I_1["delegatedFree"][number], keyof Coin>]: never; })[] & { [K_14 in Exclude<keyof I_1["delegatedFree"], keyof {
|
|
216
|
+
denom?: string;
|
|
217
|
+
amount?: string;
|
|
218
|
+
}[]>]: never; };
|
|
219
|
+
delegatedVesting?: {
|
|
220
|
+
denom?: string;
|
|
221
|
+
amount?: string;
|
|
222
|
+
}[] & ({
|
|
223
|
+
denom?: string;
|
|
224
|
+
amount?: string;
|
|
225
|
+
} & {
|
|
226
|
+
denom?: string;
|
|
227
|
+
amount?: string;
|
|
228
|
+
} & { [K_15 in Exclude<keyof I_1["delegatedVesting"][number], keyof Coin>]: never; })[] & { [K_16 in Exclude<keyof I_1["delegatedVesting"], keyof {
|
|
229
|
+
denom?: string;
|
|
230
|
+
amount?: string;
|
|
231
|
+
}[]>]: never; };
|
|
232
|
+
endTime?: number;
|
|
233
|
+
} & { [K_17 in Exclude<keyof I_1, keyof BaseVestingAccount>]: never; }>(object: I_1): BaseVestingAccount;
|
|
234
|
+
};
|
|
235
|
+
export declare const ContinuousVestingAccount: {
|
|
236
|
+
encode(message: ContinuousVestingAccount, writer?: _m0.Writer): _m0.Writer;
|
|
237
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ContinuousVestingAccount;
|
|
238
|
+
fromJSON(object: any): ContinuousVestingAccount;
|
|
239
|
+
toJSON(message: ContinuousVestingAccount): unknown;
|
|
240
|
+
create<I extends {
|
|
241
|
+
baseVestingAccount?: {
|
|
242
|
+
baseAccount?: {
|
|
243
|
+
address?: string;
|
|
244
|
+
pubKey?: {
|
|
245
|
+
typeUrl?: string;
|
|
246
|
+
value?: Uint8Array;
|
|
247
|
+
};
|
|
248
|
+
accountNumber?: number;
|
|
249
|
+
sequence?: number;
|
|
250
|
+
};
|
|
251
|
+
originalVesting?: {
|
|
252
|
+
denom?: string;
|
|
253
|
+
amount?: string;
|
|
254
|
+
}[];
|
|
255
|
+
delegatedFree?: {
|
|
256
|
+
denom?: string;
|
|
257
|
+
amount?: string;
|
|
258
|
+
}[];
|
|
259
|
+
delegatedVesting?: {
|
|
260
|
+
denom?: string;
|
|
261
|
+
amount?: string;
|
|
262
|
+
}[];
|
|
263
|
+
endTime?: number;
|
|
264
|
+
};
|
|
265
|
+
startTime?: number;
|
|
266
|
+
} & {
|
|
267
|
+
baseVestingAccount?: {
|
|
268
|
+
baseAccount?: {
|
|
269
|
+
address?: string;
|
|
270
|
+
pubKey?: {
|
|
271
|
+
typeUrl?: string;
|
|
272
|
+
value?: Uint8Array;
|
|
273
|
+
};
|
|
274
|
+
accountNumber?: number;
|
|
275
|
+
sequence?: number;
|
|
276
|
+
};
|
|
277
|
+
originalVesting?: {
|
|
278
|
+
denom?: string;
|
|
279
|
+
amount?: string;
|
|
280
|
+
}[];
|
|
281
|
+
delegatedFree?: {
|
|
282
|
+
denom?: string;
|
|
283
|
+
amount?: string;
|
|
284
|
+
}[];
|
|
285
|
+
delegatedVesting?: {
|
|
286
|
+
denom?: string;
|
|
287
|
+
amount?: string;
|
|
288
|
+
}[];
|
|
289
|
+
endTime?: number;
|
|
290
|
+
} & {
|
|
291
|
+
baseAccount?: {
|
|
292
|
+
address?: string;
|
|
293
|
+
pubKey?: {
|
|
294
|
+
typeUrl?: string;
|
|
295
|
+
value?: Uint8Array;
|
|
296
|
+
};
|
|
297
|
+
accountNumber?: number;
|
|
298
|
+
sequence?: number;
|
|
299
|
+
} & {
|
|
300
|
+
address?: string;
|
|
301
|
+
pubKey?: {
|
|
302
|
+
typeUrl?: string;
|
|
303
|
+
value?: Uint8Array;
|
|
304
|
+
} & {
|
|
305
|
+
typeUrl?: string;
|
|
306
|
+
value?: Uint8Array;
|
|
307
|
+
} & { [K in Exclude<keyof I["baseVestingAccount"]["baseAccount"]["pubKey"], keyof import("../../../google/protobuf/any").Any>]: never; };
|
|
308
|
+
accountNumber?: number;
|
|
309
|
+
sequence?: number;
|
|
310
|
+
} & { [K_1 in Exclude<keyof I["baseVestingAccount"]["baseAccount"], keyof BaseAccount>]: never; };
|
|
311
|
+
originalVesting?: {
|
|
312
|
+
denom?: string;
|
|
313
|
+
amount?: string;
|
|
314
|
+
}[] & ({
|
|
315
|
+
denom?: string;
|
|
316
|
+
amount?: string;
|
|
317
|
+
} & {
|
|
318
|
+
denom?: string;
|
|
319
|
+
amount?: string;
|
|
320
|
+
} & { [K_2 in Exclude<keyof I["baseVestingAccount"]["originalVesting"][number], keyof Coin>]: never; })[] & { [K_3 in Exclude<keyof I["baseVestingAccount"]["originalVesting"], keyof {
|
|
321
|
+
denom?: string;
|
|
322
|
+
amount?: string;
|
|
323
|
+
}[]>]: never; };
|
|
324
|
+
delegatedFree?: {
|
|
325
|
+
denom?: string;
|
|
326
|
+
amount?: string;
|
|
327
|
+
}[] & ({
|
|
328
|
+
denom?: string;
|
|
329
|
+
amount?: string;
|
|
330
|
+
} & {
|
|
331
|
+
denom?: string;
|
|
332
|
+
amount?: string;
|
|
333
|
+
} & { [K_4 in Exclude<keyof I["baseVestingAccount"]["delegatedFree"][number], keyof Coin>]: never; })[] & { [K_5 in Exclude<keyof I["baseVestingAccount"]["delegatedFree"], keyof {
|
|
334
|
+
denom?: string;
|
|
335
|
+
amount?: string;
|
|
336
|
+
}[]>]: never; };
|
|
337
|
+
delegatedVesting?: {
|
|
338
|
+
denom?: string;
|
|
339
|
+
amount?: string;
|
|
340
|
+
}[] & ({
|
|
341
|
+
denom?: string;
|
|
342
|
+
amount?: string;
|
|
343
|
+
} & {
|
|
344
|
+
denom?: string;
|
|
345
|
+
amount?: string;
|
|
346
|
+
} & { [K_6 in Exclude<keyof I["baseVestingAccount"]["delegatedVesting"][number], keyof Coin>]: never; })[] & { [K_7 in Exclude<keyof I["baseVestingAccount"]["delegatedVesting"], keyof {
|
|
347
|
+
denom?: string;
|
|
348
|
+
amount?: string;
|
|
349
|
+
}[]>]: never; };
|
|
350
|
+
endTime?: number;
|
|
351
|
+
} & { [K_8 in Exclude<keyof I["baseVestingAccount"], keyof BaseVestingAccount>]: never; };
|
|
352
|
+
startTime?: number;
|
|
353
|
+
} & { [K_9 in Exclude<keyof I, keyof ContinuousVestingAccount>]: never; }>(base?: I): ContinuousVestingAccount;
|
|
354
|
+
fromPartial<I_1 extends {
|
|
355
|
+
baseVestingAccount?: {
|
|
356
|
+
baseAccount?: {
|
|
357
|
+
address?: string;
|
|
358
|
+
pubKey?: {
|
|
359
|
+
typeUrl?: string;
|
|
360
|
+
value?: Uint8Array;
|
|
361
|
+
};
|
|
362
|
+
accountNumber?: number;
|
|
363
|
+
sequence?: number;
|
|
364
|
+
};
|
|
365
|
+
originalVesting?: {
|
|
366
|
+
denom?: string;
|
|
367
|
+
amount?: string;
|
|
368
|
+
}[];
|
|
369
|
+
delegatedFree?: {
|
|
370
|
+
denom?: string;
|
|
371
|
+
amount?: string;
|
|
372
|
+
}[];
|
|
373
|
+
delegatedVesting?: {
|
|
374
|
+
denom?: string;
|
|
375
|
+
amount?: string;
|
|
376
|
+
}[];
|
|
377
|
+
endTime?: number;
|
|
378
|
+
};
|
|
379
|
+
startTime?: number;
|
|
380
|
+
} & {
|
|
381
|
+
baseVestingAccount?: {
|
|
382
|
+
baseAccount?: {
|
|
383
|
+
address?: string;
|
|
384
|
+
pubKey?: {
|
|
385
|
+
typeUrl?: string;
|
|
386
|
+
value?: Uint8Array;
|
|
387
|
+
};
|
|
388
|
+
accountNumber?: number;
|
|
389
|
+
sequence?: number;
|
|
390
|
+
};
|
|
391
|
+
originalVesting?: {
|
|
392
|
+
denom?: string;
|
|
393
|
+
amount?: string;
|
|
394
|
+
}[];
|
|
395
|
+
delegatedFree?: {
|
|
396
|
+
denom?: string;
|
|
397
|
+
amount?: string;
|
|
398
|
+
}[];
|
|
399
|
+
delegatedVesting?: {
|
|
400
|
+
denom?: string;
|
|
401
|
+
amount?: string;
|
|
402
|
+
}[];
|
|
403
|
+
endTime?: number;
|
|
404
|
+
} & {
|
|
405
|
+
baseAccount?: {
|
|
406
|
+
address?: string;
|
|
407
|
+
pubKey?: {
|
|
408
|
+
typeUrl?: string;
|
|
409
|
+
value?: Uint8Array;
|
|
410
|
+
};
|
|
411
|
+
accountNumber?: number;
|
|
412
|
+
sequence?: number;
|
|
413
|
+
} & {
|
|
414
|
+
address?: string;
|
|
415
|
+
pubKey?: {
|
|
416
|
+
typeUrl?: string;
|
|
417
|
+
value?: Uint8Array;
|
|
418
|
+
} & {
|
|
419
|
+
typeUrl?: string;
|
|
420
|
+
value?: Uint8Array;
|
|
421
|
+
} & { [K_10 in Exclude<keyof I_1["baseVestingAccount"]["baseAccount"]["pubKey"], keyof import("../../../google/protobuf/any").Any>]: never; };
|
|
422
|
+
accountNumber?: number;
|
|
423
|
+
sequence?: number;
|
|
424
|
+
} & { [K_11 in Exclude<keyof I_1["baseVestingAccount"]["baseAccount"], keyof BaseAccount>]: never; };
|
|
425
|
+
originalVesting?: {
|
|
426
|
+
denom?: string;
|
|
427
|
+
amount?: string;
|
|
428
|
+
}[] & ({
|
|
429
|
+
denom?: string;
|
|
430
|
+
amount?: string;
|
|
431
|
+
} & {
|
|
432
|
+
denom?: string;
|
|
433
|
+
amount?: string;
|
|
434
|
+
} & { [K_12 in Exclude<keyof I_1["baseVestingAccount"]["originalVesting"][number], keyof Coin>]: never; })[] & { [K_13 in Exclude<keyof I_1["baseVestingAccount"]["originalVesting"], keyof {
|
|
435
|
+
denom?: string;
|
|
436
|
+
amount?: string;
|
|
437
|
+
}[]>]: never; };
|
|
438
|
+
delegatedFree?: {
|
|
439
|
+
denom?: string;
|
|
440
|
+
amount?: string;
|
|
441
|
+
}[] & ({
|
|
442
|
+
denom?: string;
|
|
443
|
+
amount?: string;
|
|
444
|
+
} & {
|
|
445
|
+
denom?: string;
|
|
446
|
+
amount?: string;
|
|
447
|
+
} & { [K_14 in Exclude<keyof I_1["baseVestingAccount"]["delegatedFree"][number], keyof Coin>]: never; })[] & { [K_15 in Exclude<keyof I_1["baseVestingAccount"]["delegatedFree"], keyof {
|
|
448
|
+
denom?: string;
|
|
449
|
+
amount?: string;
|
|
450
|
+
}[]>]: never; };
|
|
451
|
+
delegatedVesting?: {
|
|
452
|
+
denom?: string;
|
|
453
|
+
amount?: string;
|
|
454
|
+
}[] & ({
|
|
455
|
+
denom?: string;
|
|
456
|
+
amount?: string;
|
|
457
|
+
} & {
|
|
458
|
+
denom?: string;
|
|
459
|
+
amount?: string;
|
|
460
|
+
} & { [K_16 in Exclude<keyof I_1["baseVestingAccount"]["delegatedVesting"][number], keyof Coin>]: never; })[] & { [K_17 in Exclude<keyof I_1["baseVestingAccount"]["delegatedVesting"], keyof {
|
|
461
|
+
denom?: string;
|
|
462
|
+
amount?: string;
|
|
463
|
+
}[]>]: never; };
|
|
464
|
+
endTime?: number;
|
|
465
|
+
} & { [K_18 in Exclude<keyof I_1["baseVestingAccount"], keyof BaseVestingAccount>]: never; };
|
|
466
|
+
startTime?: number;
|
|
467
|
+
} & { [K_19 in Exclude<keyof I_1, keyof ContinuousVestingAccount>]: never; }>(object: I_1): ContinuousVestingAccount;
|
|
468
|
+
};
|
|
469
|
+
export declare const DelayedVestingAccount: {
|
|
470
|
+
encode(message: DelayedVestingAccount, writer?: _m0.Writer): _m0.Writer;
|
|
471
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): DelayedVestingAccount;
|
|
472
|
+
fromJSON(object: any): DelayedVestingAccount;
|
|
473
|
+
toJSON(message: DelayedVestingAccount): unknown;
|
|
474
|
+
create<I extends {
|
|
475
|
+
baseVestingAccount?: {
|
|
476
|
+
baseAccount?: {
|
|
477
|
+
address?: string;
|
|
478
|
+
pubKey?: {
|
|
479
|
+
typeUrl?: string;
|
|
480
|
+
value?: Uint8Array;
|
|
481
|
+
};
|
|
482
|
+
accountNumber?: number;
|
|
483
|
+
sequence?: number;
|
|
484
|
+
};
|
|
485
|
+
originalVesting?: {
|
|
486
|
+
denom?: string;
|
|
487
|
+
amount?: string;
|
|
488
|
+
}[];
|
|
489
|
+
delegatedFree?: {
|
|
490
|
+
denom?: string;
|
|
491
|
+
amount?: string;
|
|
492
|
+
}[];
|
|
493
|
+
delegatedVesting?: {
|
|
494
|
+
denom?: string;
|
|
495
|
+
amount?: string;
|
|
496
|
+
}[];
|
|
497
|
+
endTime?: number;
|
|
498
|
+
};
|
|
499
|
+
} & {
|
|
500
|
+
baseVestingAccount?: {
|
|
501
|
+
baseAccount?: {
|
|
502
|
+
address?: string;
|
|
503
|
+
pubKey?: {
|
|
504
|
+
typeUrl?: string;
|
|
505
|
+
value?: Uint8Array;
|
|
506
|
+
};
|
|
507
|
+
accountNumber?: number;
|
|
508
|
+
sequence?: number;
|
|
509
|
+
};
|
|
510
|
+
originalVesting?: {
|
|
511
|
+
denom?: string;
|
|
512
|
+
amount?: string;
|
|
513
|
+
}[];
|
|
514
|
+
delegatedFree?: {
|
|
515
|
+
denom?: string;
|
|
516
|
+
amount?: string;
|
|
517
|
+
}[];
|
|
518
|
+
delegatedVesting?: {
|
|
519
|
+
denom?: string;
|
|
520
|
+
amount?: string;
|
|
521
|
+
}[];
|
|
522
|
+
endTime?: number;
|
|
523
|
+
} & {
|
|
524
|
+
baseAccount?: {
|
|
525
|
+
address?: string;
|
|
526
|
+
pubKey?: {
|
|
527
|
+
typeUrl?: string;
|
|
528
|
+
value?: Uint8Array;
|
|
529
|
+
};
|
|
530
|
+
accountNumber?: number;
|
|
531
|
+
sequence?: number;
|
|
532
|
+
} & {
|
|
533
|
+
address?: string;
|
|
534
|
+
pubKey?: {
|
|
535
|
+
typeUrl?: string;
|
|
536
|
+
value?: Uint8Array;
|
|
537
|
+
} & {
|
|
538
|
+
typeUrl?: string;
|
|
539
|
+
value?: Uint8Array;
|
|
540
|
+
} & { [K in Exclude<keyof I["baseVestingAccount"]["baseAccount"]["pubKey"], keyof import("../../../google/protobuf/any").Any>]: never; };
|
|
541
|
+
accountNumber?: number;
|
|
542
|
+
sequence?: number;
|
|
543
|
+
} & { [K_1 in Exclude<keyof I["baseVestingAccount"]["baseAccount"], keyof BaseAccount>]: never; };
|
|
544
|
+
originalVesting?: {
|
|
545
|
+
denom?: string;
|
|
546
|
+
amount?: string;
|
|
547
|
+
}[] & ({
|
|
548
|
+
denom?: string;
|
|
549
|
+
amount?: string;
|
|
550
|
+
} & {
|
|
551
|
+
denom?: string;
|
|
552
|
+
amount?: string;
|
|
553
|
+
} & { [K_2 in Exclude<keyof I["baseVestingAccount"]["originalVesting"][number], keyof Coin>]: never; })[] & { [K_3 in Exclude<keyof I["baseVestingAccount"]["originalVesting"], keyof {
|
|
554
|
+
denom?: string;
|
|
555
|
+
amount?: string;
|
|
556
|
+
}[]>]: never; };
|
|
557
|
+
delegatedFree?: {
|
|
558
|
+
denom?: string;
|
|
559
|
+
amount?: string;
|
|
560
|
+
}[] & ({
|
|
561
|
+
denom?: string;
|
|
562
|
+
amount?: string;
|
|
563
|
+
} & {
|
|
564
|
+
denom?: string;
|
|
565
|
+
amount?: string;
|
|
566
|
+
} & { [K_4 in Exclude<keyof I["baseVestingAccount"]["delegatedFree"][number], keyof Coin>]: never; })[] & { [K_5 in Exclude<keyof I["baseVestingAccount"]["delegatedFree"], keyof {
|
|
567
|
+
denom?: string;
|
|
568
|
+
amount?: string;
|
|
569
|
+
}[]>]: never; };
|
|
570
|
+
delegatedVesting?: {
|
|
571
|
+
denom?: string;
|
|
572
|
+
amount?: string;
|
|
573
|
+
}[] & ({
|
|
574
|
+
denom?: string;
|
|
575
|
+
amount?: string;
|
|
576
|
+
} & {
|
|
577
|
+
denom?: string;
|
|
578
|
+
amount?: string;
|
|
579
|
+
} & { [K_6 in Exclude<keyof I["baseVestingAccount"]["delegatedVesting"][number], keyof Coin>]: never; })[] & { [K_7 in Exclude<keyof I["baseVestingAccount"]["delegatedVesting"], keyof {
|
|
580
|
+
denom?: string;
|
|
581
|
+
amount?: string;
|
|
582
|
+
}[]>]: never; };
|
|
583
|
+
endTime?: number;
|
|
584
|
+
} & { [K_8 in Exclude<keyof I["baseVestingAccount"], keyof BaseVestingAccount>]: never; };
|
|
585
|
+
} & { [K_9 in Exclude<keyof I, "baseVestingAccount">]: never; }>(base?: I): DelayedVestingAccount;
|
|
586
|
+
fromPartial<I_1 extends {
|
|
587
|
+
baseVestingAccount?: {
|
|
588
|
+
baseAccount?: {
|
|
589
|
+
address?: string;
|
|
590
|
+
pubKey?: {
|
|
591
|
+
typeUrl?: string;
|
|
592
|
+
value?: Uint8Array;
|
|
593
|
+
};
|
|
594
|
+
accountNumber?: number;
|
|
595
|
+
sequence?: number;
|
|
596
|
+
};
|
|
597
|
+
originalVesting?: {
|
|
598
|
+
denom?: string;
|
|
599
|
+
amount?: string;
|
|
600
|
+
}[];
|
|
601
|
+
delegatedFree?: {
|
|
602
|
+
denom?: string;
|
|
603
|
+
amount?: string;
|
|
604
|
+
}[];
|
|
605
|
+
delegatedVesting?: {
|
|
606
|
+
denom?: string;
|
|
607
|
+
amount?: string;
|
|
608
|
+
}[];
|
|
609
|
+
endTime?: number;
|
|
610
|
+
};
|
|
611
|
+
} & {
|
|
612
|
+
baseVestingAccount?: {
|
|
613
|
+
baseAccount?: {
|
|
614
|
+
address?: string;
|
|
615
|
+
pubKey?: {
|
|
616
|
+
typeUrl?: string;
|
|
617
|
+
value?: Uint8Array;
|
|
618
|
+
};
|
|
619
|
+
accountNumber?: number;
|
|
620
|
+
sequence?: number;
|
|
621
|
+
};
|
|
622
|
+
originalVesting?: {
|
|
623
|
+
denom?: string;
|
|
624
|
+
amount?: string;
|
|
625
|
+
}[];
|
|
626
|
+
delegatedFree?: {
|
|
627
|
+
denom?: string;
|
|
628
|
+
amount?: string;
|
|
629
|
+
}[];
|
|
630
|
+
delegatedVesting?: {
|
|
631
|
+
denom?: string;
|
|
632
|
+
amount?: string;
|
|
633
|
+
}[];
|
|
634
|
+
endTime?: number;
|
|
635
|
+
} & {
|
|
636
|
+
baseAccount?: {
|
|
637
|
+
address?: string;
|
|
638
|
+
pubKey?: {
|
|
639
|
+
typeUrl?: string;
|
|
640
|
+
value?: Uint8Array;
|
|
641
|
+
};
|
|
642
|
+
accountNumber?: number;
|
|
643
|
+
sequence?: number;
|
|
644
|
+
} & {
|
|
645
|
+
address?: string;
|
|
646
|
+
pubKey?: {
|
|
647
|
+
typeUrl?: string;
|
|
648
|
+
value?: Uint8Array;
|
|
649
|
+
} & {
|
|
650
|
+
typeUrl?: string;
|
|
651
|
+
value?: Uint8Array;
|
|
652
|
+
} & { [K_10 in Exclude<keyof I_1["baseVestingAccount"]["baseAccount"]["pubKey"], keyof import("../../../google/protobuf/any").Any>]: never; };
|
|
653
|
+
accountNumber?: number;
|
|
654
|
+
sequence?: number;
|
|
655
|
+
} & { [K_11 in Exclude<keyof I_1["baseVestingAccount"]["baseAccount"], keyof BaseAccount>]: never; };
|
|
656
|
+
originalVesting?: {
|
|
657
|
+
denom?: string;
|
|
658
|
+
amount?: string;
|
|
659
|
+
}[] & ({
|
|
660
|
+
denom?: string;
|
|
661
|
+
amount?: string;
|
|
662
|
+
} & {
|
|
663
|
+
denom?: string;
|
|
664
|
+
amount?: string;
|
|
665
|
+
} & { [K_12 in Exclude<keyof I_1["baseVestingAccount"]["originalVesting"][number], keyof Coin>]: never; })[] & { [K_13 in Exclude<keyof I_1["baseVestingAccount"]["originalVesting"], keyof {
|
|
666
|
+
denom?: string;
|
|
667
|
+
amount?: string;
|
|
668
|
+
}[]>]: never; };
|
|
669
|
+
delegatedFree?: {
|
|
670
|
+
denom?: string;
|
|
671
|
+
amount?: string;
|
|
672
|
+
}[] & ({
|
|
673
|
+
denom?: string;
|
|
674
|
+
amount?: string;
|
|
675
|
+
} & {
|
|
676
|
+
denom?: string;
|
|
677
|
+
amount?: string;
|
|
678
|
+
} & { [K_14 in Exclude<keyof I_1["baseVestingAccount"]["delegatedFree"][number], keyof Coin>]: never; })[] & { [K_15 in Exclude<keyof I_1["baseVestingAccount"]["delegatedFree"], keyof {
|
|
679
|
+
denom?: string;
|
|
680
|
+
amount?: string;
|
|
681
|
+
}[]>]: never; };
|
|
682
|
+
delegatedVesting?: {
|
|
683
|
+
denom?: string;
|
|
684
|
+
amount?: string;
|
|
685
|
+
}[] & ({
|
|
686
|
+
denom?: string;
|
|
687
|
+
amount?: string;
|
|
688
|
+
} & {
|
|
689
|
+
denom?: string;
|
|
690
|
+
amount?: string;
|
|
691
|
+
} & { [K_16 in Exclude<keyof I_1["baseVestingAccount"]["delegatedVesting"][number], keyof Coin>]: never; })[] & { [K_17 in Exclude<keyof I_1["baseVestingAccount"]["delegatedVesting"], keyof {
|
|
692
|
+
denom?: string;
|
|
693
|
+
amount?: string;
|
|
694
|
+
}[]>]: never; };
|
|
695
|
+
endTime?: number;
|
|
696
|
+
} & { [K_18 in Exclude<keyof I_1["baseVestingAccount"], keyof BaseVestingAccount>]: never; };
|
|
697
|
+
} & { [K_19 in Exclude<keyof I_1, "baseVestingAccount">]: never; }>(object: I_1): DelayedVestingAccount;
|
|
698
|
+
};
|
|
699
|
+
export declare const Period: {
|
|
700
|
+
encode(message: Period, writer?: _m0.Writer): _m0.Writer;
|
|
701
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Period;
|
|
702
|
+
fromJSON(object: any): Period;
|
|
703
|
+
toJSON(message: Period): unknown;
|
|
704
|
+
create<I extends {
|
|
705
|
+
length?: number;
|
|
706
|
+
amount?: {
|
|
707
|
+
denom?: string;
|
|
708
|
+
amount?: string;
|
|
709
|
+
}[];
|
|
710
|
+
} & {
|
|
711
|
+
length?: number;
|
|
712
|
+
amount?: {
|
|
713
|
+
denom?: string;
|
|
714
|
+
amount?: string;
|
|
715
|
+
}[] & ({
|
|
716
|
+
denom?: string;
|
|
717
|
+
amount?: string;
|
|
718
|
+
} & {
|
|
719
|
+
denom?: string;
|
|
720
|
+
amount?: string;
|
|
721
|
+
} & { [K in Exclude<keyof I["amount"][number], keyof Coin>]: never; })[] & { [K_1 in Exclude<keyof I["amount"], keyof {
|
|
722
|
+
denom?: string;
|
|
723
|
+
amount?: string;
|
|
724
|
+
}[]>]: never; };
|
|
725
|
+
} & { [K_2 in Exclude<keyof I, keyof Period>]: never; }>(base?: I): Period;
|
|
726
|
+
fromPartial<I_1 extends {
|
|
727
|
+
length?: number;
|
|
728
|
+
amount?: {
|
|
729
|
+
denom?: string;
|
|
730
|
+
amount?: string;
|
|
731
|
+
}[];
|
|
732
|
+
} & {
|
|
733
|
+
length?: number;
|
|
734
|
+
amount?: {
|
|
735
|
+
denom?: string;
|
|
736
|
+
amount?: string;
|
|
737
|
+
}[] & ({
|
|
738
|
+
denom?: string;
|
|
739
|
+
amount?: string;
|
|
740
|
+
} & {
|
|
741
|
+
denom?: string;
|
|
742
|
+
amount?: string;
|
|
743
|
+
} & { [K_3 in Exclude<keyof I_1["amount"][number], keyof Coin>]: never; })[] & { [K_4 in Exclude<keyof I_1["amount"], keyof {
|
|
744
|
+
denom?: string;
|
|
745
|
+
amount?: string;
|
|
746
|
+
}[]>]: never; };
|
|
747
|
+
} & { [K_5 in Exclude<keyof I_1, keyof Period>]: never; }>(object: I_1): Period;
|
|
748
|
+
};
|
|
749
|
+
export declare const PeriodicVestingAccount: {
|
|
750
|
+
encode(message: PeriodicVestingAccount, writer?: _m0.Writer): _m0.Writer;
|
|
751
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): PeriodicVestingAccount;
|
|
752
|
+
fromJSON(object: any): PeriodicVestingAccount;
|
|
753
|
+
toJSON(message: PeriodicVestingAccount): unknown;
|
|
754
|
+
create<I extends {
|
|
755
|
+
baseVestingAccount?: {
|
|
756
|
+
baseAccount?: {
|
|
757
|
+
address?: string;
|
|
758
|
+
pubKey?: {
|
|
759
|
+
typeUrl?: string;
|
|
760
|
+
value?: Uint8Array;
|
|
761
|
+
};
|
|
762
|
+
accountNumber?: number;
|
|
763
|
+
sequence?: number;
|
|
764
|
+
};
|
|
765
|
+
originalVesting?: {
|
|
766
|
+
denom?: string;
|
|
767
|
+
amount?: string;
|
|
768
|
+
}[];
|
|
769
|
+
delegatedFree?: {
|
|
770
|
+
denom?: string;
|
|
771
|
+
amount?: string;
|
|
772
|
+
}[];
|
|
773
|
+
delegatedVesting?: {
|
|
774
|
+
denom?: string;
|
|
775
|
+
amount?: string;
|
|
776
|
+
}[];
|
|
777
|
+
endTime?: number;
|
|
778
|
+
};
|
|
779
|
+
startTime?: number;
|
|
780
|
+
vestingPeriods?: {
|
|
781
|
+
length?: number;
|
|
782
|
+
amount?: {
|
|
783
|
+
denom?: string;
|
|
784
|
+
amount?: string;
|
|
785
|
+
}[];
|
|
786
|
+
}[];
|
|
787
|
+
} & {
|
|
788
|
+
baseVestingAccount?: {
|
|
789
|
+
baseAccount?: {
|
|
790
|
+
address?: string;
|
|
791
|
+
pubKey?: {
|
|
792
|
+
typeUrl?: string;
|
|
793
|
+
value?: Uint8Array;
|
|
794
|
+
};
|
|
795
|
+
accountNumber?: number;
|
|
796
|
+
sequence?: number;
|
|
797
|
+
};
|
|
798
|
+
originalVesting?: {
|
|
799
|
+
denom?: string;
|
|
800
|
+
amount?: string;
|
|
801
|
+
}[];
|
|
802
|
+
delegatedFree?: {
|
|
803
|
+
denom?: string;
|
|
804
|
+
amount?: string;
|
|
805
|
+
}[];
|
|
806
|
+
delegatedVesting?: {
|
|
807
|
+
denom?: string;
|
|
808
|
+
amount?: string;
|
|
809
|
+
}[];
|
|
810
|
+
endTime?: number;
|
|
811
|
+
} & {
|
|
812
|
+
baseAccount?: {
|
|
813
|
+
address?: string;
|
|
814
|
+
pubKey?: {
|
|
815
|
+
typeUrl?: string;
|
|
816
|
+
value?: Uint8Array;
|
|
817
|
+
};
|
|
818
|
+
accountNumber?: number;
|
|
819
|
+
sequence?: number;
|
|
820
|
+
} & {
|
|
821
|
+
address?: string;
|
|
822
|
+
pubKey?: {
|
|
823
|
+
typeUrl?: string;
|
|
824
|
+
value?: Uint8Array;
|
|
825
|
+
} & {
|
|
826
|
+
typeUrl?: string;
|
|
827
|
+
value?: Uint8Array;
|
|
828
|
+
} & { [K in Exclude<keyof I["baseVestingAccount"]["baseAccount"]["pubKey"], keyof import("../../../google/protobuf/any").Any>]: never; };
|
|
829
|
+
accountNumber?: number;
|
|
830
|
+
sequence?: number;
|
|
831
|
+
} & { [K_1 in Exclude<keyof I["baseVestingAccount"]["baseAccount"], keyof BaseAccount>]: never; };
|
|
832
|
+
originalVesting?: {
|
|
833
|
+
denom?: string;
|
|
834
|
+
amount?: string;
|
|
835
|
+
}[] & ({
|
|
836
|
+
denom?: string;
|
|
837
|
+
amount?: string;
|
|
838
|
+
} & {
|
|
839
|
+
denom?: string;
|
|
840
|
+
amount?: string;
|
|
841
|
+
} & { [K_2 in Exclude<keyof I["baseVestingAccount"]["originalVesting"][number], keyof Coin>]: never; })[] & { [K_3 in Exclude<keyof I["baseVestingAccount"]["originalVesting"], keyof {
|
|
842
|
+
denom?: string;
|
|
843
|
+
amount?: string;
|
|
844
|
+
}[]>]: never; };
|
|
845
|
+
delegatedFree?: {
|
|
846
|
+
denom?: string;
|
|
847
|
+
amount?: string;
|
|
848
|
+
}[] & ({
|
|
849
|
+
denom?: string;
|
|
850
|
+
amount?: string;
|
|
851
|
+
} & {
|
|
852
|
+
denom?: string;
|
|
853
|
+
amount?: string;
|
|
854
|
+
} & { [K_4 in Exclude<keyof I["baseVestingAccount"]["delegatedFree"][number], keyof Coin>]: never; })[] & { [K_5 in Exclude<keyof I["baseVestingAccount"]["delegatedFree"], keyof {
|
|
855
|
+
denom?: string;
|
|
856
|
+
amount?: string;
|
|
857
|
+
}[]>]: never; };
|
|
858
|
+
delegatedVesting?: {
|
|
859
|
+
denom?: string;
|
|
860
|
+
amount?: string;
|
|
861
|
+
}[] & ({
|
|
862
|
+
denom?: string;
|
|
863
|
+
amount?: string;
|
|
864
|
+
} & {
|
|
865
|
+
denom?: string;
|
|
866
|
+
amount?: string;
|
|
867
|
+
} & { [K_6 in Exclude<keyof I["baseVestingAccount"]["delegatedVesting"][number], keyof Coin>]: never; })[] & { [K_7 in Exclude<keyof I["baseVestingAccount"]["delegatedVesting"], keyof {
|
|
868
|
+
denom?: string;
|
|
869
|
+
amount?: string;
|
|
870
|
+
}[]>]: never; };
|
|
871
|
+
endTime?: number;
|
|
872
|
+
} & { [K_8 in Exclude<keyof I["baseVestingAccount"], keyof BaseVestingAccount>]: never; };
|
|
873
|
+
startTime?: number;
|
|
874
|
+
vestingPeriods?: {
|
|
875
|
+
length?: number;
|
|
876
|
+
amount?: {
|
|
877
|
+
denom?: string;
|
|
878
|
+
amount?: string;
|
|
879
|
+
}[];
|
|
880
|
+
}[] & ({
|
|
881
|
+
length?: number;
|
|
882
|
+
amount?: {
|
|
883
|
+
denom?: string;
|
|
884
|
+
amount?: string;
|
|
885
|
+
}[];
|
|
886
|
+
} & {
|
|
887
|
+
length?: number;
|
|
888
|
+
amount?: {
|
|
889
|
+
denom?: string;
|
|
890
|
+
amount?: string;
|
|
891
|
+
}[] & ({
|
|
892
|
+
denom?: string;
|
|
893
|
+
amount?: string;
|
|
894
|
+
} & {
|
|
895
|
+
denom?: string;
|
|
896
|
+
amount?: string;
|
|
897
|
+
} & { [K_9 in Exclude<keyof I["vestingPeriods"][number]["amount"][number], keyof Coin>]: never; })[] & { [K_10 in Exclude<keyof I["vestingPeriods"][number]["amount"], keyof {
|
|
898
|
+
denom?: string;
|
|
899
|
+
amount?: string;
|
|
900
|
+
}[]>]: never; };
|
|
901
|
+
} & { [K_11 in Exclude<keyof I["vestingPeriods"][number], keyof Period>]: never; })[] & { [K_12 in Exclude<keyof I["vestingPeriods"], keyof {
|
|
902
|
+
length?: number;
|
|
903
|
+
amount?: {
|
|
904
|
+
denom?: string;
|
|
905
|
+
amount?: string;
|
|
906
|
+
}[];
|
|
907
|
+
}[]>]: never; };
|
|
908
|
+
} & { [K_13 in Exclude<keyof I, keyof PeriodicVestingAccount>]: never; }>(base?: I): PeriodicVestingAccount;
|
|
909
|
+
fromPartial<I_1 extends {
|
|
910
|
+
baseVestingAccount?: {
|
|
911
|
+
baseAccount?: {
|
|
912
|
+
address?: string;
|
|
913
|
+
pubKey?: {
|
|
914
|
+
typeUrl?: string;
|
|
915
|
+
value?: Uint8Array;
|
|
916
|
+
};
|
|
917
|
+
accountNumber?: number;
|
|
918
|
+
sequence?: number;
|
|
919
|
+
};
|
|
920
|
+
originalVesting?: {
|
|
921
|
+
denom?: string;
|
|
922
|
+
amount?: string;
|
|
923
|
+
}[];
|
|
924
|
+
delegatedFree?: {
|
|
925
|
+
denom?: string;
|
|
926
|
+
amount?: string;
|
|
927
|
+
}[];
|
|
928
|
+
delegatedVesting?: {
|
|
929
|
+
denom?: string;
|
|
930
|
+
amount?: string;
|
|
931
|
+
}[];
|
|
932
|
+
endTime?: number;
|
|
933
|
+
};
|
|
934
|
+
startTime?: number;
|
|
935
|
+
vestingPeriods?: {
|
|
936
|
+
length?: number;
|
|
937
|
+
amount?: {
|
|
938
|
+
denom?: string;
|
|
939
|
+
amount?: string;
|
|
940
|
+
}[];
|
|
941
|
+
}[];
|
|
942
|
+
} & {
|
|
943
|
+
baseVestingAccount?: {
|
|
944
|
+
baseAccount?: {
|
|
945
|
+
address?: string;
|
|
946
|
+
pubKey?: {
|
|
947
|
+
typeUrl?: string;
|
|
948
|
+
value?: Uint8Array;
|
|
949
|
+
};
|
|
950
|
+
accountNumber?: number;
|
|
951
|
+
sequence?: number;
|
|
952
|
+
};
|
|
953
|
+
originalVesting?: {
|
|
954
|
+
denom?: string;
|
|
955
|
+
amount?: string;
|
|
956
|
+
}[];
|
|
957
|
+
delegatedFree?: {
|
|
958
|
+
denom?: string;
|
|
959
|
+
amount?: string;
|
|
960
|
+
}[];
|
|
961
|
+
delegatedVesting?: {
|
|
962
|
+
denom?: string;
|
|
963
|
+
amount?: string;
|
|
964
|
+
}[];
|
|
965
|
+
endTime?: number;
|
|
966
|
+
} & {
|
|
967
|
+
baseAccount?: {
|
|
968
|
+
address?: string;
|
|
969
|
+
pubKey?: {
|
|
970
|
+
typeUrl?: string;
|
|
971
|
+
value?: Uint8Array;
|
|
972
|
+
};
|
|
973
|
+
accountNumber?: number;
|
|
974
|
+
sequence?: number;
|
|
975
|
+
} & {
|
|
976
|
+
address?: string;
|
|
977
|
+
pubKey?: {
|
|
978
|
+
typeUrl?: string;
|
|
979
|
+
value?: Uint8Array;
|
|
980
|
+
} & {
|
|
981
|
+
typeUrl?: string;
|
|
982
|
+
value?: Uint8Array;
|
|
983
|
+
} & { [K_14 in Exclude<keyof I_1["baseVestingAccount"]["baseAccount"]["pubKey"], keyof import("../../../google/protobuf/any").Any>]: never; };
|
|
984
|
+
accountNumber?: number;
|
|
985
|
+
sequence?: number;
|
|
986
|
+
} & { [K_15 in Exclude<keyof I_1["baseVestingAccount"]["baseAccount"], keyof BaseAccount>]: never; };
|
|
987
|
+
originalVesting?: {
|
|
988
|
+
denom?: string;
|
|
989
|
+
amount?: string;
|
|
990
|
+
}[] & ({
|
|
991
|
+
denom?: string;
|
|
992
|
+
amount?: string;
|
|
993
|
+
} & {
|
|
994
|
+
denom?: string;
|
|
995
|
+
amount?: string;
|
|
996
|
+
} & { [K_16 in Exclude<keyof I_1["baseVestingAccount"]["originalVesting"][number], keyof Coin>]: never; })[] & { [K_17 in Exclude<keyof I_1["baseVestingAccount"]["originalVesting"], keyof {
|
|
997
|
+
denom?: string;
|
|
998
|
+
amount?: string;
|
|
999
|
+
}[]>]: never; };
|
|
1000
|
+
delegatedFree?: {
|
|
1001
|
+
denom?: string;
|
|
1002
|
+
amount?: string;
|
|
1003
|
+
}[] & ({
|
|
1004
|
+
denom?: string;
|
|
1005
|
+
amount?: string;
|
|
1006
|
+
} & {
|
|
1007
|
+
denom?: string;
|
|
1008
|
+
amount?: string;
|
|
1009
|
+
} & { [K_18 in Exclude<keyof I_1["baseVestingAccount"]["delegatedFree"][number], keyof Coin>]: never; })[] & { [K_19 in Exclude<keyof I_1["baseVestingAccount"]["delegatedFree"], keyof {
|
|
1010
|
+
denom?: string;
|
|
1011
|
+
amount?: string;
|
|
1012
|
+
}[]>]: never; };
|
|
1013
|
+
delegatedVesting?: {
|
|
1014
|
+
denom?: string;
|
|
1015
|
+
amount?: string;
|
|
1016
|
+
}[] & ({
|
|
1017
|
+
denom?: string;
|
|
1018
|
+
amount?: string;
|
|
1019
|
+
} & {
|
|
1020
|
+
denom?: string;
|
|
1021
|
+
amount?: string;
|
|
1022
|
+
} & { [K_20 in Exclude<keyof I_1["baseVestingAccount"]["delegatedVesting"][number], keyof Coin>]: never; })[] & { [K_21 in Exclude<keyof I_1["baseVestingAccount"]["delegatedVesting"], keyof {
|
|
1023
|
+
denom?: string;
|
|
1024
|
+
amount?: string;
|
|
1025
|
+
}[]>]: never; };
|
|
1026
|
+
endTime?: number;
|
|
1027
|
+
} & { [K_22 in Exclude<keyof I_1["baseVestingAccount"], keyof BaseVestingAccount>]: never; };
|
|
1028
|
+
startTime?: number;
|
|
1029
|
+
vestingPeriods?: {
|
|
1030
|
+
length?: number;
|
|
1031
|
+
amount?: {
|
|
1032
|
+
denom?: string;
|
|
1033
|
+
amount?: string;
|
|
1034
|
+
}[];
|
|
1035
|
+
}[] & ({
|
|
1036
|
+
length?: number;
|
|
1037
|
+
amount?: {
|
|
1038
|
+
denom?: string;
|
|
1039
|
+
amount?: string;
|
|
1040
|
+
}[];
|
|
1041
|
+
} & {
|
|
1042
|
+
length?: number;
|
|
1043
|
+
amount?: {
|
|
1044
|
+
denom?: string;
|
|
1045
|
+
amount?: string;
|
|
1046
|
+
}[] & ({
|
|
1047
|
+
denom?: string;
|
|
1048
|
+
amount?: string;
|
|
1049
|
+
} & {
|
|
1050
|
+
denom?: string;
|
|
1051
|
+
amount?: string;
|
|
1052
|
+
} & { [K_23 in Exclude<keyof I_1["vestingPeriods"][number]["amount"][number], keyof Coin>]: never; })[] & { [K_24 in Exclude<keyof I_1["vestingPeriods"][number]["amount"], keyof {
|
|
1053
|
+
denom?: string;
|
|
1054
|
+
amount?: string;
|
|
1055
|
+
}[]>]: never; };
|
|
1056
|
+
} & { [K_25 in Exclude<keyof I_1["vestingPeriods"][number], keyof Period>]: never; })[] & { [K_26 in Exclude<keyof I_1["vestingPeriods"], keyof {
|
|
1057
|
+
length?: number;
|
|
1058
|
+
amount?: {
|
|
1059
|
+
denom?: string;
|
|
1060
|
+
amount?: string;
|
|
1061
|
+
}[];
|
|
1062
|
+
}[]>]: never; };
|
|
1063
|
+
} & { [K_27 in Exclude<keyof I_1, keyof PeriodicVestingAccount>]: never; }>(object: I_1): PeriodicVestingAccount;
|
|
1064
|
+
};
|
|
1065
|
+
export declare const PermanentLockedAccount: {
|
|
1066
|
+
encode(message: PermanentLockedAccount, writer?: _m0.Writer): _m0.Writer;
|
|
1067
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): PermanentLockedAccount;
|
|
1068
|
+
fromJSON(object: any): PermanentLockedAccount;
|
|
1069
|
+
toJSON(message: PermanentLockedAccount): unknown;
|
|
1070
|
+
create<I extends {
|
|
1071
|
+
baseVestingAccount?: {
|
|
1072
|
+
baseAccount?: {
|
|
1073
|
+
address?: string;
|
|
1074
|
+
pubKey?: {
|
|
1075
|
+
typeUrl?: string;
|
|
1076
|
+
value?: Uint8Array;
|
|
1077
|
+
};
|
|
1078
|
+
accountNumber?: number;
|
|
1079
|
+
sequence?: number;
|
|
1080
|
+
};
|
|
1081
|
+
originalVesting?: {
|
|
1082
|
+
denom?: string;
|
|
1083
|
+
amount?: string;
|
|
1084
|
+
}[];
|
|
1085
|
+
delegatedFree?: {
|
|
1086
|
+
denom?: string;
|
|
1087
|
+
amount?: string;
|
|
1088
|
+
}[];
|
|
1089
|
+
delegatedVesting?: {
|
|
1090
|
+
denom?: string;
|
|
1091
|
+
amount?: string;
|
|
1092
|
+
}[];
|
|
1093
|
+
endTime?: number;
|
|
1094
|
+
};
|
|
1095
|
+
} & {
|
|
1096
|
+
baseVestingAccount?: {
|
|
1097
|
+
baseAccount?: {
|
|
1098
|
+
address?: string;
|
|
1099
|
+
pubKey?: {
|
|
1100
|
+
typeUrl?: string;
|
|
1101
|
+
value?: Uint8Array;
|
|
1102
|
+
};
|
|
1103
|
+
accountNumber?: number;
|
|
1104
|
+
sequence?: number;
|
|
1105
|
+
};
|
|
1106
|
+
originalVesting?: {
|
|
1107
|
+
denom?: string;
|
|
1108
|
+
amount?: string;
|
|
1109
|
+
}[];
|
|
1110
|
+
delegatedFree?: {
|
|
1111
|
+
denom?: string;
|
|
1112
|
+
amount?: string;
|
|
1113
|
+
}[];
|
|
1114
|
+
delegatedVesting?: {
|
|
1115
|
+
denom?: string;
|
|
1116
|
+
amount?: string;
|
|
1117
|
+
}[];
|
|
1118
|
+
endTime?: number;
|
|
1119
|
+
} & {
|
|
1120
|
+
baseAccount?: {
|
|
1121
|
+
address?: string;
|
|
1122
|
+
pubKey?: {
|
|
1123
|
+
typeUrl?: string;
|
|
1124
|
+
value?: Uint8Array;
|
|
1125
|
+
};
|
|
1126
|
+
accountNumber?: number;
|
|
1127
|
+
sequence?: number;
|
|
1128
|
+
} & {
|
|
1129
|
+
address?: string;
|
|
1130
|
+
pubKey?: {
|
|
1131
|
+
typeUrl?: string;
|
|
1132
|
+
value?: Uint8Array;
|
|
1133
|
+
} & {
|
|
1134
|
+
typeUrl?: string;
|
|
1135
|
+
value?: Uint8Array;
|
|
1136
|
+
} & { [K in Exclude<keyof I["baseVestingAccount"]["baseAccount"]["pubKey"], keyof import("../../../google/protobuf/any").Any>]: never; };
|
|
1137
|
+
accountNumber?: number;
|
|
1138
|
+
sequence?: number;
|
|
1139
|
+
} & { [K_1 in Exclude<keyof I["baseVestingAccount"]["baseAccount"], keyof BaseAccount>]: never; };
|
|
1140
|
+
originalVesting?: {
|
|
1141
|
+
denom?: string;
|
|
1142
|
+
amount?: string;
|
|
1143
|
+
}[] & ({
|
|
1144
|
+
denom?: string;
|
|
1145
|
+
amount?: string;
|
|
1146
|
+
} & {
|
|
1147
|
+
denom?: string;
|
|
1148
|
+
amount?: string;
|
|
1149
|
+
} & { [K_2 in Exclude<keyof I["baseVestingAccount"]["originalVesting"][number], keyof Coin>]: never; })[] & { [K_3 in Exclude<keyof I["baseVestingAccount"]["originalVesting"], keyof {
|
|
1150
|
+
denom?: string;
|
|
1151
|
+
amount?: string;
|
|
1152
|
+
}[]>]: never; };
|
|
1153
|
+
delegatedFree?: {
|
|
1154
|
+
denom?: string;
|
|
1155
|
+
amount?: string;
|
|
1156
|
+
}[] & ({
|
|
1157
|
+
denom?: string;
|
|
1158
|
+
amount?: string;
|
|
1159
|
+
} & {
|
|
1160
|
+
denom?: string;
|
|
1161
|
+
amount?: string;
|
|
1162
|
+
} & { [K_4 in Exclude<keyof I["baseVestingAccount"]["delegatedFree"][number], keyof Coin>]: never; })[] & { [K_5 in Exclude<keyof I["baseVestingAccount"]["delegatedFree"], keyof {
|
|
1163
|
+
denom?: string;
|
|
1164
|
+
amount?: string;
|
|
1165
|
+
}[]>]: never; };
|
|
1166
|
+
delegatedVesting?: {
|
|
1167
|
+
denom?: string;
|
|
1168
|
+
amount?: string;
|
|
1169
|
+
}[] & ({
|
|
1170
|
+
denom?: string;
|
|
1171
|
+
amount?: string;
|
|
1172
|
+
} & {
|
|
1173
|
+
denom?: string;
|
|
1174
|
+
amount?: string;
|
|
1175
|
+
} & { [K_6 in Exclude<keyof I["baseVestingAccount"]["delegatedVesting"][number], keyof Coin>]: never; })[] & { [K_7 in Exclude<keyof I["baseVestingAccount"]["delegatedVesting"], keyof {
|
|
1176
|
+
denom?: string;
|
|
1177
|
+
amount?: string;
|
|
1178
|
+
}[]>]: never; };
|
|
1179
|
+
endTime?: number;
|
|
1180
|
+
} & { [K_8 in Exclude<keyof I["baseVestingAccount"], keyof BaseVestingAccount>]: never; };
|
|
1181
|
+
} & { [K_9 in Exclude<keyof I, "baseVestingAccount">]: never; }>(base?: I): PermanentLockedAccount;
|
|
1182
|
+
fromPartial<I_1 extends {
|
|
1183
|
+
baseVestingAccount?: {
|
|
1184
|
+
baseAccount?: {
|
|
1185
|
+
address?: string;
|
|
1186
|
+
pubKey?: {
|
|
1187
|
+
typeUrl?: string;
|
|
1188
|
+
value?: Uint8Array;
|
|
1189
|
+
};
|
|
1190
|
+
accountNumber?: number;
|
|
1191
|
+
sequence?: number;
|
|
1192
|
+
};
|
|
1193
|
+
originalVesting?: {
|
|
1194
|
+
denom?: string;
|
|
1195
|
+
amount?: string;
|
|
1196
|
+
}[];
|
|
1197
|
+
delegatedFree?: {
|
|
1198
|
+
denom?: string;
|
|
1199
|
+
amount?: string;
|
|
1200
|
+
}[];
|
|
1201
|
+
delegatedVesting?: {
|
|
1202
|
+
denom?: string;
|
|
1203
|
+
amount?: string;
|
|
1204
|
+
}[];
|
|
1205
|
+
endTime?: number;
|
|
1206
|
+
};
|
|
1207
|
+
} & {
|
|
1208
|
+
baseVestingAccount?: {
|
|
1209
|
+
baseAccount?: {
|
|
1210
|
+
address?: string;
|
|
1211
|
+
pubKey?: {
|
|
1212
|
+
typeUrl?: string;
|
|
1213
|
+
value?: Uint8Array;
|
|
1214
|
+
};
|
|
1215
|
+
accountNumber?: number;
|
|
1216
|
+
sequence?: number;
|
|
1217
|
+
};
|
|
1218
|
+
originalVesting?: {
|
|
1219
|
+
denom?: string;
|
|
1220
|
+
amount?: string;
|
|
1221
|
+
}[];
|
|
1222
|
+
delegatedFree?: {
|
|
1223
|
+
denom?: string;
|
|
1224
|
+
amount?: string;
|
|
1225
|
+
}[];
|
|
1226
|
+
delegatedVesting?: {
|
|
1227
|
+
denom?: string;
|
|
1228
|
+
amount?: string;
|
|
1229
|
+
}[];
|
|
1230
|
+
endTime?: number;
|
|
1231
|
+
} & {
|
|
1232
|
+
baseAccount?: {
|
|
1233
|
+
address?: string;
|
|
1234
|
+
pubKey?: {
|
|
1235
|
+
typeUrl?: string;
|
|
1236
|
+
value?: Uint8Array;
|
|
1237
|
+
};
|
|
1238
|
+
accountNumber?: number;
|
|
1239
|
+
sequence?: number;
|
|
1240
|
+
} & {
|
|
1241
|
+
address?: string;
|
|
1242
|
+
pubKey?: {
|
|
1243
|
+
typeUrl?: string;
|
|
1244
|
+
value?: Uint8Array;
|
|
1245
|
+
} & {
|
|
1246
|
+
typeUrl?: string;
|
|
1247
|
+
value?: Uint8Array;
|
|
1248
|
+
} & { [K_10 in Exclude<keyof I_1["baseVestingAccount"]["baseAccount"]["pubKey"], keyof import("../../../google/protobuf/any").Any>]: never; };
|
|
1249
|
+
accountNumber?: number;
|
|
1250
|
+
sequence?: number;
|
|
1251
|
+
} & { [K_11 in Exclude<keyof I_1["baseVestingAccount"]["baseAccount"], keyof BaseAccount>]: never; };
|
|
1252
|
+
originalVesting?: {
|
|
1253
|
+
denom?: string;
|
|
1254
|
+
amount?: string;
|
|
1255
|
+
}[] & ({
|
|
1256
|
+
denom?: string;
|
|
1257
|
+
amount?: string;
|
|
1258
|
+
} & {
|
|
1259
|
+
denom?: string;
|
|
1260
|
+
amount?: string;
|
|
1261
|
+
} & { [K_12 in Exclude<keyof I_1["baseVestingAccount"]["originalVesting"][number], keyof Coin>]: never; })[] & { [K_13 in Exclude<keyof I_1["baseVestingAccount"]["originalVesting"], keyof {
|
|
1262
|
+
denom?: string;
|
|
1263
|
+
amount?: string;
|
|
1264
|
+
}[]>]: never; };
|
|
1265
|
+
delegatedFree?: {
|
|
1266
|
+
denom?: string;
|
|
1267
|
+
amount?: string;
|
|
1268
|
+
}[] & ({
|
|
1269
|
+
denom?: string;
|
|
1270
|
+
amount?: string;
|
|
1271
|
+
} & {
|
|
1272
|
+
denom?: string;
|
|
1273
|
+
amount?: string;
|
|
1274
|
+
} & { [K_14 in Exclude<keyof I_1["baseVestingAccount"]["delegatedFree"][number], keyof Coin>]: never; })[] & { [K_15 in Exclude<keyof I_1["baseVestingAccount"]["delegatedFree"], keyof {
|
|
1275
|
+
denom?: string;
|
|
1276
|
+
amount?: string;
|
|
1277
|
+
}[]>]: never; };
|
|
1278
|
+
delegatedVesting?: {
|
|
1279
|
+
denom?: string;
|
|
1280
|
+
amount?: string;
|
|
1281
|
+
}[] & ({
|
|
1282
|
+
denom?: string;
|
|
1283
|
+
amount?: string;
|
|
1284
|
+
} & {
|
|
1285
|
+
denom?: string;
|
|
1286
|
+
amount?: string;
|
|
1287
|
+
} & { [K_16 in Exclude<keyof I_1["baseVestingAccount"]["delegatedVesting"][number], keyof Coin>]: never; })[] & { [K_17 in Exclude<keyof I_1["baseVestingAccount"]["delegatedVesting"], keyof {
|
|
1288
|
+
denom?: string;
|
|
1289
|
+
amount?: string;
|
|
1290
|
+
}[]>]: never; };
|
|
1291
|
+
endTime?: number;
|
|
1292
|
+
} & { [K_18 in Exclude<keyof I_1["baseVestingAccount"], keyof BaseVestingAccount>]: never; };
|
|
1293
|
+
} & { [K_19 in Exclude<keyof I_1, "baseVestingAccount">]: never; }>(object: I_1): PermanentLockedAccount;
|
|
1294
|
+
};
|
|
1295
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
1296
|
+
export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
1297
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
1298
|
+
} : Partial<T>;
|
|
1299
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
1300
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
1301
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
1302
|
+
} & {
|
|
1303
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
1304
|
+
};
|
|
1305
|
+
export {};
|