@suilend/springsui-cli 1.0.11 → 1.0.13
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/cli/src/bytecode.js +4 -8
- package/package.json +1 -1
- package/sdk/src/_generated/_dependencies/source/0x1/ascii/structs.d.ts +7 -11
- package/sdk/src/_generated/_dependencies/source/0x1/option/structs.d.ts +4 -6
- package/sdk/src/_generated/_dependencies/source/0x1/string/structs.d.ts +4 -6
- package/sdk/src/_generated/_dependencies/source/0x1/type-name/structs.d.ts +6 -10
- package/sdk/src/_generated/_dependencies/source/0x2/bag/structs.d.ts +8 -15
- package/sdk/src/_generated/_dependencies/source/0x2/balance/structs.d.ts +6 -10
- package/sdk/src/_generated/_dependencies/source/0x2/coin/structs.d.ts +85 -139
- package/sdk/src/_generated/_dependencies/source/0x2/object/structs.d.ts +8 -14
- package/sdk/src/_generated/_dependencies/source/0x2/sui/structs.d.ts +3 -5
- package/sdk/src/_generated/_dependencies/source/0x2/table/structs.d.ts +8 -15
- package/sdk/src/_generated/_dependencies/source/0x2/url/structs.d.ts +6 -10
- package/sdk/src/_generated/_dependencies/source/0x2/vec-map/structs.d.ts +13 -18
- package/sdk/src/_generated/_dependencies/source/0x3/staking-pool/structs.d.ts +82 -156
- package/sdk/src/_generated/_framework/util.d.ts +2 -2
- package/sdk/src/_generated/_framework/vector.d.ts +12 -5
- package/sdk/src/_generated/liquid_staking/cell/structs.d.ts +6 -10
- package/sdk/src/_generated/liquid_staking/fees/structs.d.ts +26 -50
- package/sdk/src/_generated/liquid_staking/liquid-staking/structs.d.ts +225 -273
- package/sdk/src/_generated/liquid_staking/storage/structs.d.ts +136 -83
- package/sdk/src/_generated/liquid_staking/version/structs.d.ts +3 -5
- package/sdk/src/_generated/liquid_staking/weight/structs.d.ts +60 -112
- package/sdk/src/client.d.ts +10 -7
- package/sdk/src/client.js +50 -26
- package/sdk/src/lib/transactions.d.ts +3 -3
- package/sdk/src/lib/transactions.js +18 -9
|
@@ -33,19 +33,13 @@ export declare class AdminCap<P extends PhantomTypeArgument> implements StructCl
|
|
|
33
33
|
static get r(): typeof AdminCap.reified;
|
|
34
34
|
static phantom<P extends PhantomReified<PhantomTypeArgument>>(P: P): PhantomReified<ToTypeStr<AdminCap<ToPhantomTypeArgument<P>>>>;
|
|
35
35
|
static get p(): typeof AdminCap.phantom;
|
|
36
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
37
|
-
id: {
|
|
38
|
-
id: {
|
|
39
|
-
bytes: string
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
id: {
|
|
44
|
-
id: {
|
|
45
|
-
bytes: string;
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
}>;
|
|
36
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
37
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
38
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
39
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
40
|
+
}, string>;
|
|
41
|
+
}, string>;
|
|
42
|
+
}, string>;
|
|
49
43
|
static fromFields<P extends PhantomReified<PhantomTypeArgument>>(typeArg: P, fields: Record<string, any>): AdminCap<ToPhantomTypeArgument<P>>;
|
|
50
44
|
static fromFieldsWithTypes<P extends PhantomReified<PhantomTypeArgument>>(typeArg: P, item: FieldsWithTypes): AdminCap<ToPhantomTypeArgument<P>>;
|
|
51
45
|
static fromBcs<P extends PhantomReified<PhantomTypeArgument>>(typeArg: P, data: Uint8Array): AdminCap<ToPhantomTypeArgument<P>>;
|
|
@@ -85,23 +79,16 @@ export declare class CollectFeesEvent implements StructClass {
|
|
|
85
79
|
static get r(): reified.StructClassReified<CollectFeesEvent, CollectFeesEventFields>;
|
|
86
80
|
static phantom(): PhantomReified<ToTypeStr<CollectFeesEvent>>;
|
|
87
81
|
static get p(): reified.PhantomReified<"0xb0575765166030556a6eafd3b1b970eba8183ff748860680245b9edd41c716e7::liquid_staking::CollectFeesEvent">;
|
|
88
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
89
|
-
typename: {
|
|
90
|
-
name: {
|
|
91
|
-
bytes: number[]
|
|
92
|
-
};
|
|
93
|
-
};
|
|
94
|
-
amount: string;
|
|
95
|
-
}, {
|
|
96
|
-
typename: {
|
|
97
|
-
name: {
|
|
98
|
-
bytes: Iterable<number> & {
|
|
82
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
83
|
+
typename: import("@mysten/sui/bcs").BcsStruct<{
|
|
84
|
+
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
85
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
99
86
|
length: number;
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
amount: string | number | bigint
|
|
104
|
-
}>;
|
|
87
|
+
}, string>;
|
|
88
|
+
}, string>;
|
|
89
|
+
}, string>;
|
|
90
|
+
amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
91
|
+
}, string>;
|
|
105
92
|
static fromFields(fields: Record<string, any>): CollectFeesEvent;
|
|
106
93
|
static fromFieldsWithTypes(item: FieldsWithTypes): CollectFeesEvent;
|
|
107
94
|
static fromBcs(data: Uint8Array): CollectFeesEvent;
|
|
@@ -147,27 +134,18 @@ export declare class CreateEvent implements StructClass {
|
|
|
147
134
|
static get r(): reified.StructClassReified<CreateEvent, CreateEventFields>;
|
|
148
135
|
static phantom(): PhantomReified<ToTypeStr<CreateEvent>>;
|
|
149
136
|
static get p(): reified.PhantomReified<"0xb0575765166030556a6eafd3b1b970eba8183ff748860680245b9edd41c716e7::liquid_staking::CreateEvent">;
|
|
150
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
151
|
-
typename: {
|
|
152
|
-
name: {
|
|
153
|
-
bytes: number[]
|
|
154
|
-
};
|
|
155
|
-
};
|
|
156
|
-
liquid_staking_info_id: {
|
|
157
|
-
bytes: string;
|
|
158
|
-
};
|
|
159
|
-
}, {
|
|
160
|
-
typename: {
|
|
161
|
-
name: {
|
|
162
|
-
bytes: Iterable<number> & {
|
|
137
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
138
|
+
typename: import("@mysten/sui/bcs").BcsStruct<{
|
|
139
|
+
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
140
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
163
141
|
length: number;
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
liquid_staking_info_id: {
|
|
168
|
-
bytes: string
|
|
169
|
-
}
|
|
170
|
-
}>;
|
|
142
|
+
}, string>;
|
|
143
|
+
}, string>;
|
|
144
|
+
}, string>;
|
|
145
|
+
liquid_staking_info_id: import("@mysten/sui/bcs").BcsStruct<{
|
|
146
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
147
|
+
}, string>;
|
|
148
|
+
}, string>;
|
|
171
149
|
static fromFields(fields: Record<string, any>): CreateEvent;
|
|
172
150
|
static fromFieldsWithTypes(item: FieldsWithTypes): CreateEvent;
|
|
173
151
|
static fromBcs(data: Uint8Array): CreateEvent;
|
|
@@ -215,29 +193,19 @@ export declare class DecreaseValidatorStakeEvent implements StructClass {
|
|
|
215
193
|
static get r(): reified.StructClassReified<DecreaseValidatorStakeEvent, DecreaseValidatorStakeEventFields>;
|
|
216
194
|
static phantom(): PhantomReified<ToTypeStr<DecreaseValidatorStakeEvent>>;
|
|
217
195
|
static get p(): reified.PhantomReified<"0xb0575765166030556a6eafd3b1b970eba8183ff748860680245b9edd41c716e7::liquid_staking::DecreaseValidatorStakeEvent">;
|
|
218
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
219
|
-
typename: {
|
|
220
|
-
name: {
|
|
221
|
-
bytes: number[]
|
|
222
|
-
};
|
|
223
|
-
};
|
|
224
|
-
staking_pool_id: {
|
|
225
|
-
bytes: string;
|
|
226
|
-
};
|
|
227
|
-
amount: string;
|
|
228
|
-
}, {
|
|
229
|
-
typename: {
|
|
230
|
-
name: {
|
|
231
|
-
bytes: Iterable<number> & {
|
|
196
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
197
|
+
typename: import("@mysten/sui/bcs").BcsStruct<{
|
|
198
|
+
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
199
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
232
200
|
length: number;
|
|
233
|
-
}
|
|
234
|
-
}
|
|
235
|
-
}
|
|
236
|
-
staking_pool_id: {
|
|
237
|
-
bytes: string
|
|
238
|
-
}
|
|
239
|
-
amount: string | number | bigint
|
|
240
|
-
}>;
|
|
201
|
+
}, string>;
|
|
202
|
+
}, string>;
|
|
203
|
+
}, string>;
|
|
204
|
+
staking_pool_id: import("@mysten/sui/bcs").BcsStruct<{
|
|
205
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
206
|
+
}, string>;
|
|
207
|
+
amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
208
|
+
}, string>;
|
|
241
209
|
static fromFields(fields: Record<string, any>): DecreaseValidatorStakeEvent;
|
|
242
210
|
static fromFieldsWithTypes(item: FieldsWithTypes): DecreaseValidatorStakeEvent;
|
|
243
211
|
static fromBcs(data: Uint8Array): DecreaseValidatorStakeEvent;
|
|
@@ -291,29 +259,19 @@ export declare class EpochChangedEvent implements StructClass {
|
|
|
291
259
|
static get r(): reified.StructClassReified<EpochChangedEvent, EpochChangedEventFields>;
|
|
292
260
|
static phantom(): PhantomReified<ToTypeStr<EpochChangedEvent>>;
|
|
293
261
|
static get p(): reified.PhantomReified<"0xb0575765166030556a6eafd3b1b970eba8183ff748860680245b9edd41c716e7::liquid_staking::EpochChangedEvent">;
|
|
294
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
295
|
-
typename: {
|
|
296
|
-
name: {
|
|
297
|
-
bytes: number[]
|
|
298
|
-
};
|
|
299
|
-
};
|
|
300
|
-
old_sui_supply: string;
|
|
301
|
-
new_sui_supply: string;
|
|
302
|
-
lst_supply: string;
|
|
303
|
-
spread_fee: string;
|
|
304
|
-
}, {
|
|
305
|
-
typename: {
|
|
306
|
-
name: {
|
|
307
|
-
bytes: Iterable<number> & {
|
|
262
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
263
|
+
typename: import("@mysten/sui/bcs").BcsStruct<{
|
|
264
|
+
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
265
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
308
266
|
length: number;
|
|
309
|
-
}
|
|
310
|
-
}
|
|
311
|
-
}
|
|
312
|
-
old_sui_supply: string | number | bigint
|
|
313
|
-
new_sui_supply: string | number | bigint
|
|
314
|
-
lst_supply: string | number | bigint
|
|
315
|
-
spread_fee: string | number | bigint
|
|
316
|
-
}>;
|
|
267
|
+
}, string>;
|
|
268
|
+
}, string>;
|
|
269
|
+
}, string>;
|
|
270
|
+
old_sui_supply: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
271
|
+
new_sui_supply: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
272
|
+
lst_supply: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
273
|
+
spread_fee: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
274
|
+
}, string>;
|
|
317
275
|
static fromFields(fields: Record<string, any>): EpochChangedEvent;
|
|
318
276
|
static fromFieldsWithTypes(item: FieldsWithTypes): EpochChangedEvent;
|
|
319
277
|
static fromBcs(data: Uint8Array): EpochChangedEvent;
|
|
@@ -367,29 +325,19 @@ export declare class IncreaseValidatorStakeEvent implements StructClass {
|
|
|
367
325
|
static get r(): reified.StructClassReified<IncreaseValidatorStakeEvent, IncreaseValidatorStakeEventFields>;
|
|
368
326
|
static phantom(): PhantomReified<ToTypeStr<IncreaseValidatorStakeEvent>>;
|
|
369
327
|
static get p(): reified.PhantomReified<"0xb0575765166030556a6eafd3b1b970eba8183ff748860680245b9edd41c716e7::liquid_staking::IncreaseValidatorStakeEvent">;
|
|
370
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
371
|
-
typename: {
|
|
372
|
-
name: {
|
|
373
|
-
bytes: number[]
|
|
374
|
-
};
|
|
375
|
-
};
|
|
376
|
-
staking_pool_id: {
|
|
377
|
-
bytes: string;
|
|
378
|
-
};
|
|
379
|
-
amount: string;
|
|
380
|
-
}, {
|
|
381
|
-
typename: {
|
|
382
|
-
name: {
|
|
383
|
-
bytes: Iterable<number> & {
|
|
328
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
329
|
+
typename: import("@mysten/sui/bcs").BcsStruct<{
|
|
330
|
+
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
331
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
384
332
|
length: number;
|
|
385
|
-
}
|
|
386
|
-
}
|
|
387
|
-
}
|
|
388
|
-
staking_pool_id: {
|
|
389
|
-
bytes: string
|
|
390
|
-
}
|
|
391
|
-
amount: string | number | bigint
|
|
392
|
-
}>;
|
|
333
|
+
}, string>;
|
|
334
|
+
}, string>;
|
|
335
|
+
}, string>;
|
|
336
|
+
staking_pool_id: import("@mysten/sui/bcs").BcsStruct<{
|
|
337
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
338
|
+
}, string>;
|
|
339
|
+
amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
340
|
+
}, string>;
|
|
393
341
|
static fromFields(fields: Record<string, any>): IncreaseValidatorStakeEvent;
|
|
394
342
|
static fromFieldsWithTypes(item: FieldsWithTypes): IncreaseValidatorStakeEvent;
|
|
395
343
|
static fromBcs(data: Uint8Array): IncreaseValidatorStakeEvent;
|
|
@@ -435,11 +383,9 @@ export declare class LIQUID_STAKING implements StructClass {
|
|
|
435
383
|
static get r(): reified.StructClassReified<LIQUID_STAKING, LIQUID_STAKINGFields>;
|
|
436
384
|
static phantom(): PhantomReified<ToTypeStr<LIQUID_STAKING>>;
|
|
437
385
|
static get p(): reified.PhantomReified<"0xb0575765166030556a6eafd3b1b970eba8183ff748860680245b9edd41c716e7::liquid_staking::LIQUID_STAKING">;
|
|
438
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
439
|
-
dummy_field: boolean
|
|
440
|
-
},
|
|
441
|
-
dummy_field: boolean;
|
|
442
|
-
}>;
|
|
386
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
387
|
+
dummy_field: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
|
|
388
|
+
}, string>;
|
|
443
389
|
static fromFields(fields: Record<string, any>): LIQUID_STAKING;
|
|
444
390
|
static fromFieldsWithTypes(item: FieldsWithTypes): LIQUID_STAKING;
|
|
445
391
|
static fromBcs(data: Uint8Array): LIQUID_STAKING;
|
|
@@ -491,45 +437,100 @@ export declare class LiquidStakingInfo<P extends PhantomTypeArgument> implements
|
|
|
491
437
|
static get r(): typeof LiquidStakingInfo.reified;
|
|
492
438
|
static phantom<P extends PhantomReified<PhantomTypeArgument>>(P: P): PhantomReified<ToTypeStr<LiquidStakingInfo<ToPhantomTypeArgument<P>>>>;
|
|
493
439
|
static get p(): typeof LiquidStakingInfo.phantom;
|
|
494
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
495
|
-
id: {
|
|
496
|
-
id: {
|
|
497
|
-
bytes: string
|
|
498
|
-
}
|
|
499
|
-
}
|
|
500
|
-
lst_treasury_cap: {
|
|
501
|
-
id: {
|
|
502
|
-
id: {
|
|
503
|
-
bytes: string
|
|
504
|
-
}
|
|
505
|
-
}
|
|
506
|
-
total_supply: {
|
|
507
|
-
value: string
|
|
508
|
-
}
|
|
509
|
-
}
|
|
510
|
-
fee_config: {
|
|
511
|
-
element: {
|
|
512
|
-
vec:
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
440
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
441
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
442
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
443
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
444
|
+
}, string>;
|
|
445
|
+
}, string>;
|
|
446
|
+
lst_treasury_cap: import("@mysten/sui/bcs").BcsStruct<{
|
|
447
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
448
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
449
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
450
|
+
}, string>;
|
|
451
|
+
}, string>;
|
|
452
|
+
total_supply: import("@mysten/sui/bcs").BcsStruct<{
|
|
453
|
+
value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
454
|
+
}, string>;
|
|
455
|
+
}, string>;
|
|
456
|
+
fee_config: import("@mysten/sui/bcs").BcsStruct<{
|
|
457
|
+
element: import("@mysten/sui/bcs").BcsStruct<{
|
|
458
|
+
vec: import("@mysten/sui/bcs").BcsType<{
|
|
459
|
+
sui_mint_fee_bps: string;
|
|
460
|
+
staked_sui_mint_fee_bps: string;
|
|
461
|
+
redeem_fee_bps: string;
|
|
462
|
+
staked_sui_redeem_fee_bps: string;
|
|
463
|
+
spread_fee_bps: string;
|
|
464
|
+
custom_redeem_fee_bps: string;
|
|
465
|
+
extra_fields: {
|
|
466
|
+
id: {
|
|
467
|
+
id: {
|
|
468
|
+
bytes: string;
|
|
469
|
+
};
|
|
470
|
+
};
|
|
471
|
+
size: string;
|
|
472
|
+
};
|
|
473
|
+
}[], Iterable<{
|
|
474
|
+
sui_mint_fee_bps: string | number | bigint;
|
|
475
|
+
staked_sui_mint_fee_bps: string | number | bigint;
|
|
476
|
+
redeem_fee_bps: string | number | bigint;
|
|
477
|
+
staked_sui_redeem_fee_bps: string | number | bigint;
|
|
478
|
+
spread_fee_bps: string | number | bigint;
|
|
479
|
+
custom_redeem_fee_bps: string | number | bigint;
|
|
480
|
+
extra_fields: {
|
|
481
|
+
id: {
|
|
482
|
+
id: {
|
|
483
|
+
bytes: string;
|
|
484
|
+
};
|
|
485
|
+
};
|
|
486
|
+
size: string | number | bigint;
|
|
487
|
+
};
|
|
488
|
+
}> & {
|
|
489
|
+
length: number;
|
|
490
|
+
}, string>;
|
|
491
|
+
}, string>;
|
|
492
|
+
}, string>;
|
|
493
|
+
fees: import("@mysten/sui/bcs").BcsStruct<{
|
|
494
|
+
value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
495
|
+
}, string>;
|
|
496
|
+
accrued_spread_fees: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
497
|
+
storage: import("@mysten/sui/bcs").BcsStruct<{
|
|
498
|
+
sui_pool: import("@mysten/sui/bcs").BcsStruct<{
|
|
499
|
+
value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
500
|
+
}, string>;
|
|
501
|
+
validator_infos: import("@mysten/sui/bcs").BcsType<{
|
|
524
502
|
staking_pool_id: {
|
|
525
503
|
bytes: string;
|
|
526
504
|
};
|
|
527
505
|
validator_address: string;
|
|
528
506
|
active_stake: {
|
|
529
|
-
vec:
|
|
507
|
+
vec: {
|
|
508
|
+
id: {
|
|
509
|
+
id: {
|
|
510
|
+
bytes: string;
|
|
511
|
+
};
|
|
512
|
+
};
|
|
513
|
+
pool_id: {
|
|
514
|
+
bytes: string;
|
|
515
|
+
};
|
|
516
|
+
value: string;
|
|
517
|
+
}[];
|
|
530
518
|
};
|
|
531
519
|
inactive_stake: {
|
|
532
|
-
vec:
|
|
520
|
+
vec: {
|
|
521
|
+
id: {
|
|
522
|
+
id: {
|
|
523
|
+
bytes: string;
|
|
524
|
+
};
|
|
525
|
+
};
|
|
526
|
+
pool_id: {
|
|
527
|
+
bytes: string;
|
|
528
|
+
};
|
|
529
|
+
stake_activation_epoch: string;
|
|
530
|
+
principal: {
|
|
531
|
+
value: string;
|
|
532
|
+
};
|
|
533
|
+
}[];
|
|
533
534
|
};
|
|
534
535
|
exchange_rate: {
|
|
535
536
|
sui_amount: string;
|
|
@@ -544,72 +545,41 @@ export declare class LiquidStakingInfo<P extends PhantomTypeArgument> implements
|
|
|
544
545
|
};
|
|
545
546
|
size: string;
|
|
546
547
|
};
|
|
547
|
-
}[]
|
|
548
|
-
total_sui_supply: string;
|
|
549
|
-
last_refresh_epoch: string;
|
|
550
|
-
extra_fields: {
|
|
551
|
-
id: {
|
|
552
|
-
id: {
|
|
553
|
-
bytes: string;
|
|
554
|
-
};
|
|
555
|
-
};
|
|
556
|
-
size: string;
|
|
557
|
-
};
|
|
558
|
-
};
|
|
559
|
-
version: {
|
|
560
|
-
pos0: number;
|
|
561
|
-
};
|
|
562
|
-
extra_fields: {
|
|
563
|
-
id: {
|
|
564
|
-
id: {
|
|
565
|
-
bytes: string;
|
|
566
|
-
};
|
|
567
|
-
};
|
|
568
|
-
size: string;
|
|
569
|
-
};
|
|
570
|
-
}, {
|
|
571
|
-
id: {
|
|
572
|
-
id: {
|
|
573
|
-
bytes: string;
|
|
574
|
-
};
|
|
575
|
-
};
|
|
576
|
-
lst_treasury_cap: {
|
|
577
|
-
id: {
|
|
578
|
-
id: {
|
|
579
|
-
bytes: string;
|
|
580
|
-
};
|
|
581
|
-
};
|
|
582
|
-
total_supply: {
|
|
583
|
-
value: string | number | bigint;
|
|
584
|
-
};
|
|
585
|
-
};
|
|
586
|
-
fee_config: {
|
|
587
|
-
element: {
|
|
588
|
-
vec: Iterable<any> & {
|
|
589
|
-
length: number;
|
|
590
|
-
};
|
|
591
|
-
};
|
|
592
|
-
};
|
|
593
|
-
fees: {
|
|
594
|
-
value: string | number | bigint;
|
|
595
|
-
};
|
|
596
|
-
accrued_spread_fees: string | number | bigint;
|
|
597
|
-
storage: {
|
|
598
|
-
sui_pool: {
|
|
599
|
-
value: string | number | bigint;
|
|
600
|
-
};
|
|
601
|
-
validator_infos: Iterable<{
|
|
548
|
+
}[], Iterable<{
|
|
602
549
|
staking_pool_id: {
|
|
603
550
|
bytes: string;
|
|
604
551
|
};
|
|
605
552
|
validator_address: string;
|
|
606
553
|
active_stake: {
|
|
607
|
-
vec: Iterable<
|
|
554
|
+
vec: Iterable<{
|
|
555
|
+
id: {
|
|
556
|
+
id: {
|
|
557
|
+
bytes: string;
|
|
558
|
+
};
|
|
559
|
+
};
|
|
560
|
+
pool_id: {
|
|
561
|
+
bytes: string;
|
|
562
|
+
};
|
|
563
|
+
value: string | number | bigint;
|
|
564
|
+
}> & {
|
|
608
565
|
length: number;
|
|
609
566
|
};
|
|
610
567
|
};
|
|
611
568
|
inactive_stake: {
|
|
612
|
-
vec: Iterable<
|
|
569
|
+
vec: Iterable<{
|
|
570
|
+
id: {
|
|
571
|
+
id: {
|
|
572
|
+
bytes: string;
|
|
573
|
+
};
|
|
574
|
+
};
|
|
575
|
+
pool_id: {
|
|
576
|
+
bytes: string;
|
|
577
|
+
};
|
|
578
|
+
stake_activation_epoch: string | number | bigint;
|
|
579
|
+
principal: {
|
|
580
|
+
value: string | number | bigint;
|
|
581
|
+
};
|
|
582
|
+
}> & {
|
|
613
583
|
length: number;
|
|
614
584
|
};
|
|
615
585
|
};
|
|
@@ -628,30 +598,30 @@ export declare class LiquidStakingInfo<P extends PhantomTypeArgument> implements
|
|
|
628
598
|
};
|
|
629
599
|
}> & {
|
|
630
600
|
length: number;
|
|
631
|
-
}
|
|
632
|
-
total_sui_supply: string | number | bigint
|
|
633
|
-
last_refresh_epoch: string | number | bigint
|
|
634
|
-
extra_fields: {
|
|
635
|
-
id: {
|
|
636
|
-
id: {
|
|
637
|
-
bytes: string
|
|
638
|
-
}
|
|
639
|
-
}
|
|
640
|
-
size: string | number | bigint
|
|
641
|
-
}
|
|
642
|
-
}
|
|
643
|
-
version: {
|
|
644
|
-
pos0: number
|
|
645
|
-
}
|
|
646
|
-
extra_fields: {
|
|
647
|
-
id: {
|
|
648
|
-
id: {
|
|
649
|
-
bytes: string
|
|
650
|
-
}
|
|
651
|
-
}
|
|
652
|
-
size: string | number | bigint
|
|
653
|
-
}
|
|
654
|
-
}>;
|
|
601
|
+
}, string>;
|
|
602
|
+
total_sui_supply: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
603
|
+
last_refresh_epoch: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
604
|
+
extra_fields: import("@mysten/sui/bcs").BcsStruct<{
|
|
605
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
606
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
607
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
608
|
+
}, string>;
|
|
609
|
+
}, string>;
|
|
610
|
+
size: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
611
|
+
}, string>;
|
|
612
|
+
}, string>;
|
|
613
|
+
version: import("@mysten/sui/bcs").BcsStruct<{
|
|
614
|
+
pos0: import("@mysten/sui/bcs").BcsType<number, number, "u16">;
|
|
615
|
+
}, string>;
|
|
616
|
+
extra_fields: import("@mysten/sui/bcs").BcsStruct<{
|
|
617
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
618
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
619
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
620
|
+
}, string>;
|
|
621
|
+
}, string>;
|
|
622
|
+
size: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
623
|
+
}, string>;
|
|
624
|
+
}, string>;
|
|
655
625
|
static fromFields<P extends PhantomReified<PhantomTypeArgument>>(typeArg: P, fields: Record<string, any>): LiquidStakingInfo<ToPhantomTypeArgument<P>>;
|
|
656
626
|
static fromFieldsWithTypes<P extends PhantomReified<PhantomTypeArgument>>(typeArg: P, item: FieldsWithTypes): LiquidStakingInfo<ToPhantomTypeArgument<P>>;
|
|
657
627
|
static fromBcs<P extends PhantomReified<PhantomTypeArgument>>(typeArg: P, data: Uint8Array): LiquidStakingInfo<ToPhantomTypeArgument<P>>;
|
|
@@ -831,27 +801,18 @@ export declare class MintEvent implements StructClass {
|
|
|
831
801
|
static get r(): reified.StructClassReified<MintEvent, MintEventFields>;
|
|
832
802
|
static phantom(): PhantomReified<ToTypeStr<MintEvent>>;
|
|
833
803
|
static get p(): reified.PhantomReified<"0xb0575765166030556a6eafd3b1b970eba8183ff748860680245b9edd41c716e7::liquid_staking::MintEvent">;
|
|
834
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
835
|
-
typename: {
|
|
836
|
-
name: {
|
|
837
|
-
bytes: number[]
|
|
838
|
-
};
|
|
839
|
-
};
|
|
840
|
-
sui_amount_in: string;
|
|
841
|
-
lst_amount_out: string;
|
|
842
|
-
fee_amount: string;
|
|
843
|
-
}, {
|
|
844
|
-
typename: {
|
|
845
|
-
name: {
|
|
846
|
-
bytes: Iterable<number> & {
|
|
804
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
805
|
+
typename: import("@mysten/sui/bcs").BcsStruct<{
|
|
806
|
+
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
807
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
847
808
|
length: number;
|
|
848
|
-
}
|
|
849
|
-
}
|
|
850
|
-
}
|
|
851
|
-
sui_amount_in: string | number | bigint
|
|
852
|
-
lst_amount_out: string | number | bigint
|
|
853
|
-
fee_amount: string | number | bigint
|
|
854
|
-
}>;
|
|
809
|
+
}, string>;
|
|
810
|
+
}, string>;
|
|
811
|
+
}, string>;
|
|
812
|
+
sui_amount_in: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
813
|
+
lst_amount_out: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
814
|
+
fee_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
815
|
+
}, string>;
|
|
855
816
|
static fromFields(fields: Record<string, any>): MintEvent;
|
|
856
817
|
static fromFieldsWithTypes(item: FieldsWithTypes): MintEvent;
|
|
857
818
|
static fromBcs(data: Uint8Array): MintEvent;
|
|
@@ -905,27 +866,18 @@ export declare class RedeemEvent implements StructClass {
|
|
|
905
866
|
static get r(): reified.StructClassReified<RedeemEvent, RedeemEventFields>;
|
|
906
867
|
static phantom(): PhantomReified<ToTypeStr<RedeemEvent>>;
|
|
907
868
|
static get p(): reified.PhantomReified<"0xb0575765166030556a6eafd3b1b970eba8183ff748860680245b9edd41c716e7::liquid_staking::RedeemEvent">;
|
|
908
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
909
|
-
typename: {
|
|
910
|
-
name: {
|
|
911
|
-
bytes: number[]
|
|
912
|
-
};
|
|
913
|
-
};
|
|
914
|
-
lst_amount_in: string;
|
|
915
|
-
sui_amount_out: string;
|
|
916
|
-
fee_amount: string;
|
|
917
|
-
}, {
|
|
918
|
-
typename: {
|
|
919
|
-
name: {
|
|
920
|
-
bytes: Iterable<number> & {
|
|
869
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
870
|
+
typename: import("@mysten/sui/bcs").BcsStruct<{
|
|
871
|
+
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
872
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
921
873
|
length: number;
|
|
922
|
-
}
|
|
923
|
-
}
|
|
924
|
-
}
|
|
925
|
-
lst_amount_in: string | number | bigint
|
|
926
|
-
sui_amount_out: string | number | bigint
|
|
927
|
-
fee_amount: string | number | bigint
|
|
928
|
-
}>;
|
|
874
|
+
}, string>;
|
|
875
|
+
}, string>;
|
|
876
|
+
}, string>;
|
|
877
|
+
lst_amount_in: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
878
|
+
sui_amount_out: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
879
|
+
fee_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
880
|
+
}, string>;
|
|
929
881
|
static fromFields(fields: Record<string, any>): RedeemEvent;
|
|
930
882
|
static fromFieldsWithTypes(item: FieldsWithTypes): RedeemEvent;
|
|
931
883
|
static fromBcs(data: Uint8Array): RedeemEvent;
|