@suilend/springsui-cli 1.0.13 → 2.0.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/cli/src/bytecode.js +28 -30
- package/cli/src/index.js +51 -86
- package/package.json +1 -1
- package/sdk/src/_generated/_dependencies/source/0x1/ascii/structs.d.ts +7 -7
- package/sdk/src/_generated/_dependencies/source/0x1/ascii/structs.js +35 -75
- package/sdk/src/_generated/_dependencies/source/0x1/index.js +3 -6
- package/sdk/src/_generated/_dependencies/source/0x1/option/structs.d.ts +3 -3
- package/sdk/src/_generated/_dependencies/source/0x1/option/structs.js +31 -69
- package/sdk/src/_generated/_dependencies/source/0x1/string/structs.d.ts +4 -4
- package/sdk/src/_generated/_dependencies/source/0x1/string/structs.js +21 -59
- package/sdk/src/_generated/_dependencies/source/0x1/type-name/structs.d.ts +5 -5
- package/sdk/src/_generated/_dependencies/source/0x1/type-name/structs.js +20 -25
- package/sdk/src/_generated/_dependencies/source/0x2/bag/structs.d.ts +7 -7
- package/sdk/src/_generated/_dependencies/source/0x2/bag/structs.js +24 -29
- package/sdk/src/_generated/_dependencies/source/0x2/balance/structs.d.ts +7 -7
- package/sdk/src/_generated/_dependencies/source/0x2/balance/structs.js +49 -56
- package/sdk/src/_generated/_dependencies/source/0x2/coin/structs.d.ts +52 -52
- package/sdk/src/_generated/_dependencies/source/0x2/coin/structs.js +206 -223
- package/sdk/src/_generated/_dependencies/source/0x2/index.js +3 -6
- package/sdk/src/_generated/_dependencies/source/0x2/object/structs.d.ts +8 -8
- package/sdk/src/_generated/_dependencies/source/0x2/object/structs.js +34 -41
- package/sdk/src/_generated/_dependencies/source/0x2/sui/structs.d.ts +4 -4
- package/sdk/src/_generated/_dependencies/source/0x2/sui/structs.js +19 -24
- package/sdk/src/_generated/_dependencies/source/0x2/table/structs.d.ts +7 -7
- package/sdk/src/_generated/_dependencies/source/0x2/table/structs.js +31 -36
- package/sdk/src/_generated/_dependencies/source/0x2/url/structs.d.ts +5 -5
- package/sdk/src/_generated/_dependencies/source/0x2/url/structs.js +20 -25
- package/sdk/src/_generated/_dependencies/source/0x2/vec-map/structs.d.ts +5 -5
- package/sdk/src/_generated/_dependencies/source/0x2/vec-map/structs.js +57 -97
- package/sdk/src/_generated/_dependencies/source/0x3/index.js +3 -6
- package/sdk/src/_generated/_dependencies/source/0x3/staking-pool/structs.d.ts +60 -60
- package/sdk/src/_generated/_dependencies/source/0x3/staking-pool/structs.js +170 -218
- package/sdk/src/_generated/_framework/reified.d.ts +2 -2
- package/sdk/src/_generated/_framework/reified.js +27 -40
- package/sdk/src/_generated/_framework/util.d.ts +2 -14
- package/sdk/src/_generated/_framework/util.js +26 -40
- package/sdk/src/_generated/_framework/vector.d.ts +4 -4
- package/sdk/src/_generated/_framework/vector.js +16 -21
- package/sdk/src/_generated/liquid_staking/cell/structs.d.ts +4 -4
- package/sdk/src/_generated/liquid_staking/cell/structs.js +31 -36
- package/sdk/src/_generated/liquid_staking/fees/functions.js +55 -75
- package/sdk/src/_generated/liquid_staking/fees/structs.d.ts +21 -21
- package/sdk/src/_generated/liquid_staking/fees/structs.js +58 -65
- package/sdk/src/_generated/liquid_staking/index.js +6 -10
- package/sdk/src/_generated/liquid_staking/liquid-staking/functions.js +86 -107
- package/sdk/src/_generated/liquid_staking/liquid-staking/structs.d.ts +98 -98
- package/sdk/src/_generated/liquid_staking/liquid-staking/structs.js +264 -320
- package/sdk/src/_generated/liquid_staking/storage/structs.d.ts +31 -31
- package/sdk/src/_generated/liquid_staking/storage/structs.js +85 -125
- package/sdk/src/_generated/liquid_staking/version/structs.d.ts +4 -4
- package/sdk/src/_generated/liquid_staking/version/structs.js +19 -24
- package/sdk/src/_generated/liquid_staking/weight/functions.js +44 -56
- package/sdk/src/_generated/liquid_staking/weight/structs.d.ts +41 -41
- package/sdk/src/_generated/liquid_staking/weight/structs.js +128 -141
- package/sdk/src/client.d.ts +16 -16
- package/sdk/src/client.js +39 -82
- package/sdk/src/index.js +2 -18
- package/sdk/src/lib/index.js +1 -17
- package/sdk/src/lib/transactions.d.ts +1 -1
- package/sdk/src/lib/transactions.js +3 -8
|
@@ -12,7 +12,7 @@ import { FeeConfig } from "../fees/structs";
|
|
|
12
12
|
import { PKG_V1 } from "../index";
|
|
13
13
|
import { Storage } from "../storage/structs";
|
|
14
14
|
import { Version } from "../version/structs";
|
|
15
|
-
import {
|
|
15
|
+
import { SuiJsonRpcClient, SuiObjectData, SuiParsedData } from "@mysten/sui/jsonRpc";
|
|
16
16
|
export declare function isAdminCap(type: string): boolean;
|
|
17
17
|
export interface AdminCapFields<P extends PhantomTypeArgument> {
|
|
18
18
|
id: ToField<UID>;
|
|
@@ -33,10 +33,10 @@ 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/
|
|
37
|
-
id: import("@mysten/
|
|
38
|
-
id: import("@mysten/
|
|
39
|
-
bytes: import("@mysten/
|
|
36
|
+
static get bcs(): import("@mysten/bcs").BcsStruct<{
|
|
37
|
+
id: import("@mysten/bcs").BcsStruct<{
|
|
38
|
+
id: import("@mysten/bcs").BcsStruct<{
|
|
39
|
+
bytes: import("@mysten/bcs").BcsType<string, string, string>;
|
|
40
40
|
}, string>;
|
|
41
41
|
}, string>;
|
|
42
42
|
}, string>;
|
|
@@ -55,7 +55,7 @@ export declare class AdminCap<P extends PhantomTypeArgument> implements StructCl
|
|
|
55
55
|
static fromJSON<P extends PhantomReified<PhantomTypeArgument>>(typeArg: P, json: Record<string, any>): AdminCap<ToPhantomTypeArgument<P>>;
|
|
56
56
|
static fromSuiParsedData<P extends PhantomReified<PhantomTypeArgument>>(typeArg: P, content: SuiParsedData): AdminCap<ToPhantomTypeArgument<P>>;
|
|
57
57
|
static fromSuiObjectData<P extends PhantomReified<PhantomTypeArgument>>(typeArg: P, data: SuiObjectData): AdminCap<ToPhantomTypeArgument<P>>;
|
|
58
|
-
static fetch<P extends PhantomReified<PhantomTypeArgument>>(client:
|
|
58
|
+
static fetch<P extends PhantomReified<PhantomTypeArgument>>(client: SuiJsonRpcClient, typeArg: P, id: string): Promise<AdminCap<ToPhantomTypeArgument<P>>>;
|
|
59
59
|
}
|
|
60
60
|
export declare function isCollectFeesEvent(type: string): boolean;
|
|
61
61
|
export interface CollectFeesEventFields {
|
|
@@ -79,15 +79,15 @@ export declare class CollectFeesEvent implements StructClass {
|
|
|
79
79
|
static get r(): reified.StructClassReified<CollectFeesEvent, CollectFeesEventFields>;
|
|
80
80
|
static phantom(): PhantomReified<ToTypeStr<CollectFeesEvent>>;
|
|
81
81
|
static get p(): reified.PhantomReified<"0xb0575765166030556a6eafd3b1b970eba8183ff748860680245b9edd41c716e7::liquid_staking::CollectFeesEvent">;
|
|
82
|
-
static get bcs(): import("@mysten/
|
|
83
|
-
typename: import("@mysten/
|
|
84
|
-
name: import("@mysten/
|
|
85
|
-
bytes: import("@mysten/
|
|
82
|
+
static get bcs(): import("@mysten/bcs").BcsStruct<{
|
|
83
|
+
typename: import("@mysten/bcs").BcsStruct<{
|
|
84
|
+
name: import("@mysten/bcs").BcsStruct<{
|
|
85
|
+
bytes: import("@mysten/bcs").BcsType<number[], Iterable<number> & {
|
|
86
86
|
length: number;
|
|
87
87
|
}, string>;
|
|
88
88
|
}, string>;
|
|
89
89
|
}, string>;
|
|
90
|
-
amount: import("@mysten/
|
|
90
|
+
amount: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
91
91
|
}, string>;
|
|
92
92
|
static fromFields(fields: Record<string, any>): CollectFeesEvent;
|
|
93
93
|
static fromFieldsWithTypes(item: FieldsWithTypes): CollectFeesEvent;
|
|
@@ -110,7 +110,7 @@ export declare class CollectFeesEvent implements StructClass {
|
|
|
110
110
|
static fromJSON(json: Record<string, any>): CollectFeesEvent;
|
|
111
111
|
static fromSuiParsedData(content: SuiParsedData): CollectFeesEvent;
|
|
112
112
|
static fromSuiObjectData(data: SuiObjectData): CollectFeesEvent;
|
|
113
|
-
static fetch(client:
|
|
113
|
+
static fetch(client: SuiJsonRpcClient, id: string): Promise<CollectFeesEvent>;
|
|
114
114
|
}
|
|
115
115
|
export declare function isCreateEvent(type: string): boolean;
|
|
116
116
|
export interface CreateEventFields {
|
|
@@ -134,16 +134,16 @@ export declare class CreateEvent implements StructClass {
|
|
|
134
134
|
static get r(): reified.StructClassReified<CreateEvent, CreateEventFields>;
|
|
135
135
|
static phantom(): PhantomReified<ToTypeStr<CreateEvent>>;
|
|
136
136
|
static get p(): reified.PhantomReified<"0xb0575765166030556a6eafd3b1b970eba8183ff748860680245b9edd41c716e7::liquid_staking::CreateEvent">;
|
|
137
|
-
static get bcs(): import("@mysten/
|
|
138
|
-
typename: import("@mysten/
|
|
139
|
-
name: import("@mysten/
|
|
140
|
-
bytes: import("@mysten/
|
|
137
|
+
static get bcs(): import("@mysten/bcs").BcsStruct<{
|
|
138
|
+
typename: import("@mysten/bcs").BcsStruct<{
|
|
139
|
+
name: import("@mysten/bcs").BcsStruct<{
|
|
140
|
+
bytes: import("@mysten/bcs").BcsType<number[], Iterable<number> & {
|
|
141
141
|
length: number;
|
|
142
142
|
}, string>;
|
|
143
143
|
}, string>;
|
|
144
144
|
}, string>;
|
|
145
|
-
liquid_staking_info_id: import("@mysten/
|
|
146
|
-
bytes: import("@mysten/
|
|
145
|
+
liquid_staking_info_id: import("@mysten/bcs").BcsStruct<{
|
|
146
|
+
bytes: import("@mysten/bcs").BcsType<string, string, string>;
|
|
147
147
|
}, string>;
|
|
148
148
|
}, string>;
|
|
149
149
|
static fromFields(fields: Record<string, any>): CreateEvent;
|
|
@@ -167,7 +167,7 @@ export declare class CreateEvent implements StructClass {
|
|
|
167
167
|
static fromJSON(json: Record<string, any>): CreateEvent;
|
|
168
168
|
static fromSuiParsedData(content: SuiParsedData): CreateEvent;
|
|
169
169
|
static fromSuiObjectData(data: SuiObjectData): CreateEvent;
|
|
170
|
-
static fetch(client:
|
|
170
|
+
static fetch(client: SuiJsonRpcClient, id: string): Promise<CreateEvent>;
|
|
171
171
|
}
|
|
172
172
|
export declare function isDecreaseValidatorStakeEvent(type: string): boolean;
|
|
173
173
|
export interface DecreaseValidatorStakeEventFields {
|
|
@@ -193,18 +193,18 @@ export declare class DecreaseValidatorStakeEvent implements StructClass {
|
|
|
193
193
|
static get r(): reified.StructClassReified<DecreaseValidatorStakeEvent, DecreaseValidatorStakeEventFields>;
|
|
194
194
|
static phantom(): PhantomReified<ToTypeStr<DecreaseValidatorStakeEvent>>;
|
|
195
195
|
static get p(): reified.PhantomReified<"0xb0575765166030556a6eafd3b1b970eba8183ff748860680245b9edd41c716e7::liquid_staking::DecreaseValidatorStakeEvent">;
|
|
196
|
-
static get bcs(): import("@mysten/
|
|
197
|
-
typename: import("@mysten/
|
|
198
|
-
name: import("@mysten/
|
|
199
|
-
bytes: import("@mysten/
|
|
196
|
+
static get bcs(): import("@mysten/bcs").BcsStruct<{
|
|
197
|
+
typename: import("@mysten/bcs").BcsStruct<{
|
|
198
|
+
name: import("@mysten/bcs").BcsStruct<{
|
|
199
|
+
bytes: import("@mysten/bcs").BcsType<number[], Iterable<number> & {
|
|
200
200
|
length: number;
|
|
201
201
|
}, string>;
|
|
202
202
|
}, string>;
|
|
203
203
|
}, string>;
|
|
204
|
-
staking_pool_id: import("@mysten/
|
|
205
|
-
bytes: import("@mysten/
|
|
204
|
+
staking_pool_id: import("@mysten/bcs").BcsStruct<{
|
|
205
|
+
bytes: import("@mysten/bcs").BcsType<string, string, string>;
|
|
206
206
|
}, string>;
|
|
207
|
-
amount: import("@mysten/
|
|
207
|
+
amount: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
208
208
|
}, string>;
|
|
209
209
|
static fromFields(fields: Record<string, any>): DecreaseValidatorStakeEvent;
|
|
210
210
|
static fromFieldsWithTypes(item: FieldsWithTypes): DecreaseValidatorStakeEvent;
|
|
@@ -229,7 +229,7 @@ export declare class DecreaseValidatorStakeEvent implements StructClass {
|
|
|
229
229
|
static fromJSON(json: Record<string, any>): DecreaseValidatorStakeEvent;
|
|
230
230
|
static fromSuiParsedData(content: SuiParsedData): DecreaseValidatorStakeEvent;
|
|
231
231
|
static fromSuiObjectData(data: SuiObjectData): DecreaseValidatorStakeEvent;
|
|
232
|
-
static fetch(client:
|
|
232
|
+
static fetch(client: SuiJsonRpcClient, id: string): Promise<DecreaseValidatorStakeEvent>;
|
|
233
233
|
}
|
|
234
234
|
export declare function isEpochChangedEvent(type: string): boolean;
|
|
235
235
|
export interface EpochChangedEventFields {
|
|
@@ -259,18 +259,18 @@ export declare class EpochChangedEvent implements StructClass {
|
|
|
259
259
|
static get r(): reified.StructClassReified<EpochChangedEvent, EpochChangedEventFields>;
|
|
260
260
|
static phantom(): PhantomReified<ToTypeStr<EpochChangedEvent>>;
|
|
261
261
|
static get p(): reified.PhantomReified<"0xb0575765166030556a6eafd3b1b970eba8183ff748860680245b9edd41c716e7::liquid_staking::EpochChangedEvent">;
|
|
262
|
-
static get bcs(): import("@mysten/
|
|
263
|
-
typename: import("@mysten/
|
|
264
|
-
name: import("@mysten/
|
|
265
|
-
bytes: import("@mysten/
|
|
262
|
+
static get bcs(): import("@mysten/bcs").BcsStruct<{
|
|
263
|
+
typename: import("@mysten/bcs").BcsStruct<{
|
|
264
|
+
name: import("@mysten/bcs").BcsStruct<{
|
|
265
|
+
bytes: import("@mysten/bcs").BcsType<number[], Iterable<number> & {
|
|
266
266
|
length: number;
|
|
267
267
|
}, string>;
|
|
268
268
|
}, string>;
|
|
269
269
|
}, string>;
|
|
270
|
-
old_sui_supply: import("@mysten/
|
|
271
|
-
new_sui_supply: import("@mysten/
|
|
272
|
-
lst_supply: import("@mysten/
|
|
273
|
-
spread_fee: import("@mysten/
|
|
270
|
+
old_sui_supply: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
271
|
+
new_sui_supply: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
272
|
+
lst_supply: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
273
|
+
spread_fee: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
274
274
|
}, string>;
|
|
275
275
|
static fromFields(fields: Record<string, any>): EpochChangedEvent;
|
|
276
276
|
static fromFieldsWithTypes(item: FieldsWithTypes): EpochChangedEvent;
|
|
@@ -299,7 +299,7 @@ export declare class EpochChangedEvent implements StructClass {
|
|
|
299
299
|
static fromJSON(json: Record<string, any>): EpochChangedEvent;
|
|
300
300
|
static fromSuiParsedData(content: SuiParsedData): EpochChangedEvent;
|
|
301
301
|
static fromSuiObjectData(data: SuiObjectData): EpochChangedEvent;
|
|
302
|
-
static fetch(client:
|
|
302
|
+
static fetch(client: SuiJsonRpcClient, id: string): Promise<EpochChangedEvent>;
|
|
303
303
|
}
|
|
304
304
|
export declare function isIncreaseValidatorStakeEvent(type: string): boolean;
|
|
305
305
|
export interface IncreaseValidatorStakeEventFields {
|
|
@@ -325,18 +325,18 @@ export declare class IncreaseValidatorStakeEvent implements StructClass {
|
|
|
325
325
|
static get r(): reified.StructClassReified<IncreaseValidatorStakeEvent, IncreaseValidatorStakeEventFields>;
|
|
326
326
|
static phantom(): PhantomReified<ToTypeStr<IncreaseValidatorStakeEvent>>;
|
|
327
327
|
static get p(): reified.PhantomReified<"0xb0575765166030556a6eafd3b1b970eba8183ff748860680245b9edd41c716e7::liquid_staking::IncreaseValidatorStakeEvent">;
|
|
328
|
-
static get bcs(): import("@mysten/
|
|
329
|
-
typename: import("@mysten/
|
|
330
|
-
name: import("@mysten/
|
|
331
|
-
bytes: import("@mysten/
|
|
328
|
+
static get bcs(): import("@mysten/bcs").BcsStruct<{
|
|
329
|
+
typename: import("@mysten/bcs").BcsStruct<{
|
|
330
|
+
name: import("@mysten/bcs").BcsStruct<{
|
|
331
|
+
bytes: import("@mysten/bcs").BcsType<number[], Iterable<number> & {
|
|
332
332
|
length: number;
|
|
333
333
|
}, string>;
|
|
334
334
|
}, string>;
|
|
335
335
|
}, string>;
|
|
336
|
-
staking_pool_id: import("@mysten/
|
|
337
|
-
bytes: import("@mysten/
|
|
336
|
+
staking_pool_id: import("@mysten/bcs").BcsStruct<{
|
|
337
|
+
bytes: import("@mysten/bcs").BcsType<string, string, string>;
|
|
338
338
|
}, string>;
|
|
339
|
-
amount: import("@mysten/
|
|
339
|
+
amount: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
340
340
|
}, string>;
|
|
341
341
|
static fromFields(fields: Record<string, any>): IncreaseValidatorStakeEvent;
|
|
342
342
|
static fromFieldsWithTypes(item: FieldsWithTypes): IncreaseValidatorStakeEvent;
|
|
@@ -361,7 +361,7 @@ export declare class IncreaseValidatorStakeEvent implements StructClass {
|
|
|
361
361
|
static fromJSON(json: Record<string, any>): IncreaseValidatorStakeEvent;
|
|
362
362
|
static fromSuiParsedData(content: SuiParsedData): IncreaseValidatorStakeEvent;
|
|
363
363
|
static fromSuiObjectData(data: SuiObjectData): IncreaseValidatorStakeEvent;
|
|
364
|
-
static fetch(client:
|
|
364
|
+
static fetch(client: SuiJsonRpcClient, id: string): Promise<IncreaseValidatorStakeEvent>;
|
|
365
365
|
}
|
|
366
366
|
export declare function isLIQUID_STAKING(type: string): boolean;
|
|
367
367
|
export interface LIQUID_STAKINGFields {
|
|
@@ -383,8 +383,8 @@ export declare class LIQUID_STAKING implements StructClass {
|
|
|
383
383
|
static get r(): reified.StructClassReified<LIQUID_STAKING, LIQUID_STAKINGFields>;
|
|
384
384
|
static phantom(): PhantomReified<ToTypeStr<LIQUID_STAKING>>;
|
|
385
385
|
static get p(): reified.PhantomReified<"0xb0575765166030556a6eafd3b1b970eba8183ff748860680245b9edd41c716e7::liquid_staking::LIQUID_STAKING">;
|
|
386
|
-
static get bcs(): import("@mysten/
|
|
387
|
-
dummy_field: import("@mysten/
|
|
386
|
+
static get bcs(): import("@mysten/bcs").BcsStruct<{
|
|
387
|
+
dummy_field: import("@mysten/bcs").BcsType<boolean, boolean, "bool">;
|
|
388
388
|
}, string>;
|
|
389
389
|
static fromFields(fields: Record<string, any>): LIQUID_STAKING;
|
|
390
390
|
static fromFieldsWithTypes(item: FieldsWithTypes): LIQUID_STAKING;
|
|
@@ -401,7 +401,7 @@ export declare class LIQUID_STAKING implements StructClass {
|
|
|
401
401
|
static fromJSON(json: Record<string, any>): LIQUID_STAKING;
|
|
402
402
|
static fromSuiParsedData(content: SuiParsedData): LIQUID_STAKING;
|
|
403
403
|
static fromSuiObjectData(data: SuiObjectData): LIQUID_STAKING;
|
|
404
|
-
static fetch(client:
|
|
404
|
+
static fetch(client: SuiJsonRpcClient, id: string): Promise<LIQUID_STAKING>;
|
|
405
405
|
}
|
|
406
406
|
export declare function isLiquidStakingInfo(type: string): boolean;
|
|
407
407
|
export interface LiquidStakingInfoFields<P extends PhantomTypeArgument> {
|
|
@@ -437,25 +437,25 @@ export declare class LiquidStakingInfo<P extends PhantomTypeArgument> implements
|
|
|
437
437
|
static get r(): typeof LiquidStakingInfo.reified;
|
|
438
438
|
static phantom<P extends PhantomReified<PhantomTypeArgument>>(P: P): PhantomReified<ToTypeStr<LiquidStakingInfo<ToPhantomTypeArgument<P>>>>;
|
|
439
439
|
static get p(): typeof LiquidStakingInfo.phantom;
|
|
440
|
-
static get bcs(): import("@mysten/
|
|
441
|
-
id: import("@mysten/
|
|
442
|
-
id: import("@mysten/
|
|
443
|
-
bytes: import("@mysten/
|
|
440
|
+
static get bcs(): import("@mysten/bcs").BcsStruct<{
|
|
441
|
+
id: import("@mysten/bcs").BcsStruct<{
|
|
442
|
+
id: import("@mysten/bcs").BcsStruct<{
|
|
443
|
+
bytes: import("@mysten/bcs").BcsType<string, string, string>;
|
|
444
444
|
}, string>;
|
|
445
445
|
}, string>;
|
|
446
|
-
lst_treasury_cap: import("@mysten/
|
|
447
|
-
id: import("@mysten/
|
|
448
|
-
id: import("@mysten/
|
|
449
|
-
bytes: import("@mysten/
|
|
446
|
+
lst_treasury_cap: import("@mysten/bcs").BcsStruct<{
|
|
447
|
+
id: import("@mysten/bcs").BcsStruct<{
|
|
448
|
+
id: import("@mysten/bcs").BcsStruct<{
|
|
449
|
+
bytes: import("@mysten/bcs").BcsType<string, string, string>;
|
|
450
450
|
}, string>;
|
|
451
451
|
}, string>;
|
|
452
|
-
total_supply: import("@mysten/
|
|
453
|
-
value: import("@mysten/
|
|
452
|
+
total_supply: import("@mysten/bcs").BcsStruct<{
|
|
453
|
+
value: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
454
454
|
}, string>;
|
|
455
455
|
}, string>;
|
|
456
|
-
fee_config: import("@mysten/
|
|
457
|
-
element: import("@mysten/
|
|
458
|
-
vec: import("@mysten/
|
|
456
|
+
fee_config: import("@mysten/bcs").BcsStruct<{
|
|
457
|
+
element: import("@mysten/bcs").BcsStruct<{
|
|
458
|
+
vec: import("@mysten/bcs").BcsType<{
|
|
459
459
|
sui_mint_fee_bps: string;
|
|
460
460
|
staked_sui_mint_fee_bps: string;
|
|
461
461
|
redeem_fee_bps: string;
|
|
@@ -490,15 +490,15 @@ export declare class LiquidStakingInfo<P extends PhantomTypeArgument> implements
|
|
|
490
490
|
}, string>;
|
|
491
491
|
}, string>;
|
|
492
492
|
}, string>;
|
|
493
|
-
fees: import("@mysten/
|
|
494
|
-
value: import("@mysten/
|
|
493
|
+
fees: import("@mysten/bcs").BcsStruct<{
|
|
494
|
+
value: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
495
495
|
}, string>;
|
|
496
|
-
accrued_spread_fees: import("@mysten/
|
|
497
|
-
storage: import("@mysten/
|
|
498
|
-
sui_pool: import("@mysten/
|
|
499
|
-
value: import("@mysten/
|
|
496
|
+
accrued_spread_fees: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
497
|
+
storage: import("@mysten/bcs").BcsStruct<{
|
|
498
|
+
sui_pool: import("@mysten/bcs").BcsStruct<{
|
|
499
|
+
value: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
500
500
|
}, string>;
|
|
501
|
-
validator_infos: import("@mysten/
|
|
501
|
+
validator_infos: import("@mysten/bcs").BcsType<{
|
|
502
502
|
staking_pool_id: {
|
|
503
503
|
bytes: string;
|
|
504
504
|
};
|
|
@@ -599,27 +599,27 @@ export declare class LiquidStakingInfo<P extends PhantomTypeArgument> implements
|
|
|
599
599
|
}> & {
|
|
600
600
|
length: number;
|
|
601
601
|
}, string>;
|
|
602
|
-
total_sui_supply: import("@mysten/
|
|
603
|
-
last_refresh_epoch: import("@mysten/
|
|
604
|
-
extra_fields: import("@mysten/
|
|
605
|
-
id: import("@mysten/
|
|
606
|
-
id: import("@mysten/
|
|
607
|
-
bytes: import("@mysten/
|
|
602
|
+
total_sui_supply: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
603
|
+
last_refresh_epoch: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
604
|
+
extra_fields: import("@mysten/bcs").BcsStruct<{
|
|
605
|
+
id: import("@mysten/bcs").BcsStruct<{
|
|
606
|
+
id: import("@mysten/bcs").BcsStruct<{
|
|
607
|
+
bytes: import("@mysten/bcs").BcsType<string, string, string>;
|
|
608
608
|
}, string>;
|
|
609
609
|
}, string>;
|
|
610
|
-
size: import("@mysten/
|
|
610
|
+
size: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
611
611
|
}, string>;
|
|
612
612
|
}, string>;
|
|
613
|
-
version: import("@mysten/
|
|
614
|
-
pos0: import("@mysten/
|
|
613
|
+
version: import("@mysten/bcs").BcsStruct<{
|
|
614
|
+
pos0: import("@mysten/bcs").BcsType<number, number, "u16">;
|
|
615
615
|
}, string>;
|
|
616
|
-
extra_fields: import("@mysten/
|
|
617
|
-
id: import("@mysten/
|
|
618
|
-
id: import("@mysten/
|
|
619
|
-
bytes: import("@mysten/
|
|
616
|
+
extra_fields: import("@mysten/bcs").BcsStruct<{
|
|
617
|
+
id: import("@mysten/bcs").BcsStruct<{
|
|
618
|
+
id: import("@mysten/bcs").BcsStruct<{
|
|
619
|
+
bytes: import("@mysten/bcs").BcsType<string, string, string>;
|
|
620
620
|
}, string>;
|
|
621
621
|
}, string>;
|
|
622
|
-
size: import("@mysten/
|
|
622
|
+
size: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
623
623
|
}, string>;
|
|
624
624
|
}, string>;
|
|
625
625
|
static fromFields<P extends PhantomReified<PhantomTypeArgument>>(typeArg: P, fields: Record<string, any>): LiquidStakingInfo<ToPhantomTypeArgument<P>>;
|
|
@@ -773,7 +773,7 @@ export declare class LiquidStakingInfo<P extends PhantomTypeArgument> implements
|
|
|
773
773
|
static fromJSON<P extends PhantomReified<PhantomTypeArgument>>(typeArg: P, json: Record<string, any>): LiquidStakingInfo<ToPhantomTypeArgument<P>>;
|
|
774
774
|
static fromSuiParsedData<P extends PhantomReified<PhantomTypeArgument>>(typeArg: P, content: SuiParsedData): LiquidStakingInfo<ToPhantomTypeArgument<P>>;
|
|
775
775
|
static fromSuiObjectData<P extends PhantomReified<PhantomTypeArgument>>(typeArg: P, data: SuiObjectData): LiquidStakingInfo<ToPhantomTypeArgument<P>>;
|
|
776
|
-
static fetch<P extends PhantomReified<PhantomTypeArgument>>(client:
|
|
776
|
+
static fetch<P extends PhantomReified<PhantomTypeArgument>>(client: SuiJsonRpcClient, typeArg: P, id: string): Promise<LiquidStakingInfo<ToPhantomTypeArgument<P>>>;
|
|
777
777
|
}
|
|
778
778
|
export declare function isMintEvent(type: string): boolean;
|
|
779
779
|
export interface MintEventFields {
|
|
@@ -801,17 +801,17 @@ export declare class MintEvent implements StructClass {
|
|
|
801
801
|
static get r(): reified.StructClassReified<MintEvent, MintEventFields>;
|
|
802
802
|
static phantom(): PhantomReified<ToTypeStr<MintEvent>>;
|
|
803
803
|
static get p(): reified.PhantomReified<"0xb0575765166030556a6eafd3b1b970eba8183ff748860680245b9edd41c716e7::liquid_staking::MintEvent">;
|
|
804
|
-
static get bcs(): import("@mysten/
|
|
805
|
-
typename: import("@mysten/
|
|
806
|
-
name: import("@mysten/
|
|
807
|
-
bytes: import("@mysten/
|
|
804
|
+
static get bcs(): import("@mysten/bcs").BcsStruct<{
|
|
805
|
+
typename: import("@mysten/bcs").BcsStruct<{
|
|
806
|
+
name: import("@mysten/bcs").BcsStruct<{
|
|
807
|
+
bytes: import("@mysten/bcs").BcsType<number[], Iterable<number> & {
|
|
808
808
|
length: number;
|
|
809
809
|
}, string>;
|
|
810
810
|
}, string>;
|
|
811
811
|
}, string>;
|
|
812
|
-
sui_amount_in: import("@mysten/
|
|
813
|
-
lst_amount_out: import("@mysten/
|
|
814
|
-
fee_amount: import("@mysten/
|
|
812
|
+
sui_amount_in: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
813
|
+
lst_amount_out: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
814
|
+
fee_amount: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
815
815
|
}, string>;
|
|
816
816
|
static fromFields(fields: Record<string, any>): MintEvent;
|
|
817
817
|
static fromFieldsWithTypes(item: FieldsWithTypes): MintEvent;
|
|
@@ -838,7 +838,7 @@ export declare class MintEvent implements StructClass {
|
|
|
838
838
|
static fromJSON(json: Record<string, any>): MintEvent;
|
|
839
839
|
static fromSuiParsedData(content: SuiParsedData): MintEvent;
|
|
840
840
|
static fromSuiObjectData(data: SuiObjectData): MintEvent;
|
|
841
|
-
static fetch(client:
|
|
841
|
+
static fetch(client: SuiJsonRpcClient, id: string): Promise<MintEvent>;
|
|
842
842
|
}
|
|
843
843
|
export declare function isRedeemEvent(type: string): boolean;
|
|
844
844
|
export interface RedeemEventFields {
|
|
@@ -866,17 +866,17 @@ export declare class RedeemEvent implements StructClass {
|
|
|
866
866
|
static get r(): reified.StructClassReified<RedeemEvent, RedeemEventFields>;
|
|
867
867
|
static phantom(): PhantomReified<ToTypeStr<RedeemEvent>>;
|
|
868
868
|
static get p(): reified.PhantomReified<"0xb0575765166030556a6eafd3b1b970eba8183ff748860680245b9edd41c716e7::liquid_staking::RedeemEvent">;
|
|
869
|
-
static get bcs(): import("@mysten/
|
|
870
|
-
typename: import("@mysten/
|
|
871
|
-
name: import("@mysten/
|
|
872
|
-
bytes: import("@mysten/
|
|
869
|
+
static get bcs(): import("@mysten/bcs").BcsStruct<{
|
|
870
|
+
typename: import("@mysten/bcs").BcsStruct<{
|
|
871
|
+
name: import("@mysten/bcs").BcsStruct<{
|
|
872
|
+
bytes: import("@mysten/bcs").BcsType<number[], Iterable<number> & {
|
|
873
873
|
length: number;
|
|
874
874
|
}, string>;
|
|
875
875
|
}, string>;
|
|
876
876
|
}, string>;
|
|
877
|
-
lst_amount_in: import("@mysten/
|
|
878
|
-
sui_amount_out: import("@mysten/
|
|
879
|
-
fee_amount: import("@mysten/
|
|
877
|
+
lst_amount_in: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
878
|
+
sui_amount_out: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
879
|
+
fee_amount: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
880
880
|
}, string>;
|
|
881
881
|
static fromFields(fields: Record<string, any>): RedeemEvent;
|
|
882
882
|
static fromFieldsWithTypes(item: FieldsWithTypes): RedeemEvent;
|
|
@@ -903,5 +903,5 @@ export declare class RedeemEvent implements StructClass {
|
|
|
903
903
|
static fromJSON(json: Record<string, any>): RedeemEvent;
|
|
904
904
|
static fromSuiParsedData(content: SuiParsedData): RedeemEvent;
|
|
905
905
|
static fromSuiObjectData(data: SuiObjectData): RedeemEvent;
|
|
906
|
-
static fetch(client:
|
|
906
|
+
static fetch(client: SuiJsonRpcClient, id: string): Promise<RedeemEvent>;
|
|
907
907
|
}
|