@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.
Files changed (60) hide show
  1. package/cli/src/bytecode.js +28 -30
  2. package/cli/src/index.js +51 -86
  3. package/package.json +1 -1
  4. package/sdk/src/_generated/_dependencies/source/0x1/ascii/structs.d.ts +7 -7
  5. package/sdk/src/_generated/_dependencies/source/0x1/ascii/structs.js +35 -75
  6. package/sdk/src/_generated/_dependencies/source/0x1/index.js +3 -6
  7. package/sdk/src/_generated/_dependencies/source/0x1/option/structs.d.ts +3 -3
  8. package/sdk/src/_generated/_dependencies/source/0x1/option/structs.js +31 -69
  9. package/sdk/src/_generated/_dependencies/source/0x1/string/structs.d.ts +4 -4
  10. package/sdk/src/_generated/_dependencies/source/0x1/string/structs.js +21 -59
  11. package/sdk/src/_generated/_dependencies/source/0x1/type-name/structs.d.ts +5 -5
  12. package/sdk/src/_generated/_dependencies/source/0x1/type-name/structs.js +20 -25
  13. package/sdk/src/_generated/_dependencies/source/0x2/bag/structs.d.ts +7 -7
  14. package/sdk/src/_generated/_dependencies/source/0x2/bag/structs.js +24 -29
  15. package/sdk/src/_generated/_dependencies/source/0x2/balance/structs.d.ts +7 -7
  16. package/sdk/src/_generated/_dependencies/source/0x2/balance/structs.js +49 -56
  17. package/sdk/src/_generated/_dependencies/source/0x2/coin/structs.d.ts +52 -52
  18. package/sdk/src/_generated/_dependencies/source/0x2/coin/structs.js +206 -223
  19. package/sdk/src/_generated/_dependencies/source/0x2/index.js +3 -6
  20. package/sdk/src/_generated/_dependencies/source/0x2/object/structs.d.ts +8 -8
  21. package/sdk/src/_generated/_dependencies/source/0x2/object/structs.js +34 -41
  22. package/sdk/src/_generated/_dependencies/source/0x2/sui/structs.d.ts +4 -4
  23. package/sdk/src/_generated/_dependencies/source/0x2/sui/structs.js +19 -24
  24. package/sdk/src/_generated/_dependencies/source/0x2/table/structs.d.ts +7 -7
  25. package/sdk/src/_generated/_dependencies/source/0x2/table/structs.js +31 -36
  26. package/sdk/src/_generated/_dependencies/source/0x2/url/structs.d.ts +5 -5
  27. package/sdk/src/_generated/_dependencies/source/0x2/url/structs.js +20 -25
  28. package/sdk/src/_generated/_dependencies/source/0x2/vec-map/structs.d.ts +5 -5
  29. package/sdk/src/_generated/_dependencies/source/0x2/vec-map/structs.js +57 -97
  30. package/sdk/src/_generated/_dependencies/source/0x3/index.js +3 -6
  31. package/sdk/src/_generated/_dependencies/source/0x3/staking-pool/structs.d.ts +60 -60
  32. package/sdk/src/_generated/_dependencies/source/0x3/staking-pool/structs.js +170 -218
  33. package/sdk/src/_generated/_framework/reified.d.ts +2 -2
  34. package/sdk/src/_generated/_framework/reified.js +27 -40
  35. package/sdk/src/_generated/_framework/util.d.ts +2 -14
  36. package/sdk/src/_generated/_framework/util.js +26 -40
  37. package/sdk/src/_generated/_framework/vector.d.ts +4 -4
  38. package/sdk/src/_generated/_framework/vector.js +16 -21
  39. package/sdk/src/_generated/liquid_staking/cell/structs.d.ts +4 -4
  40. package/sdk/src/_generated/liquid_staking/cell/structs.js +31 -36
  41. package/sdk/src/_generated/liquid_staking/fees/functions.js +55 -75
  42. package/sdk/src/_generated/liquid_staking/fees/structs.d.ts +21 -21
  43. package/sdk/src/_generated/liquid_staking/fees/structs.js +58 -65
  44. package/sdk/src/_generated/liquid_staking/index.js +6 -10
  45. package/sdk/src/_generated/liquid_staking/liquid-staking/functions.js +86 -107
  46. package/sdk/src/_generated/liquid_staking/liquid-staking/structs.d.ts +98 -98
  47. package/sdk/src/_generated/liquid_staking/liquid-staking/structs.js +264 -320
  48. package/sdk/src/_generated/liquid_staking/storage/structs.d.ts +31 -31
  49. package/sdk/src/_generated/liquid_staking/storage/structs.js +85 -125
  50. package/sdk/src/_generated/liquid_staking/version/structs.d.ts +4 -4
  51. package/sdk/src/_generated/liquid_staking/version/structs.js +19 -24
  52. package/sdk/src/_generated/liquid_staking/weight/functions.js +44 -56
  53. package/sdk/src/_generated/liquid_staking/weight/structs.d.ts +41 -41
  54. package/sdk/src/_generated/liquid_staking/weight/structs.js +128 -141
  55. package/sdk/src/client.d.ts +16 -16
  56. package/sdk/src/client.js +39 -82
  57. package/sdk/src/index.js +2 -18
  58. package/sdk/src/lib/index.js +1 -17
  59. package/sdk/src/lib/transactions.d.ts +1 -1
  60. 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 { SuiClient, SuiObjectData, SuiParsedData } from "@mysten/sui/client";
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/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>;
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: SuiClient, typeArg: P, id: string): Promise<AdminCap<ToPhantomTypeArgument<P>>>;
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/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> & {
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/sui/bcs").BcsType<string, string | number | bigint, "u64">;
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: SuiClient, id: string): Promise<CollectFeesEvent>;
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/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> & {
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/sui/bcs").BcsStruct<{
146
- bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
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: SuiClient, id: string): Promise<CreateEvent>;
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/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> & {
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/sui/bcs").BcsStruct<{
205
- bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
204
+ staking_pool_id: import("@mysten/bcs").BcsStruct<{
205
+ bytes: import("@mysten/bcs").BcsType<string, string, string>;
206
206
  }, string>;
207
- amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
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: SuiClient, id: string): Promise<DecreaseValidatorStakeEvent>;
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/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> & {
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/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">;
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: SuiClient, id: string): Promise<EpochChangedEvent>;
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/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> & {
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/sui/bcs").BcsStruct<{
337
- bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
336
+ staking_pool_id: import("@mysten/bcs").BcsStruct<{
337
+ bytes: import("@mysten/bcs").BcsType<string, string, string>;
338
338
  }, string>;
339
- amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
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: SuiClient, id: string): Promise<IncreaseValidatorStakeEvent>;
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/sui/bcs").BcsStruct<{
387
- dummy_field: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
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: SuiClient, id: string): Promise<LIQUID_STAKING>;
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/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>;
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/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>;
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/sui/bcs").BcsStruct<{
453
- value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
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/sui/bcs").BcsStruct<{
457
- element: import("@mysten/sui/bcs").BcsStruct<{
458
- vec: import("@mysten/sui/bcs").BcsType<{
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/sui/bcs").BcsStruct<{
494
- value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
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/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">;
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/sui/bcs").BcsType<{
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/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>;
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/sui/bcs").BcsType<string, string | number | bigint, "u64">;
610
+ size: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
611
611
  }, string>;
612
612
  }, string>;
613
- version: import("@mysten/sui/bcs").BcsStruct<{
614
- pos0: import("@mysten/sui/bcs").BcsType<number, number, "u16">;
613
+ version: import("@mysten/bcs").BcsStruct<{
614
+ pos0: import("@mysten/bcs").BcsType<number, number, "u16">;
615
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>;
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/sui/bcs").BcsType<string, string | number | bigint, "u64">;
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: SuiClient, typeArg: P, id: string): Promise<LiquidStakingInfo<ToPhantomTypeArgument<P>>>;
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/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> & {
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/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">;
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: SuiClient, id: string): Promise<MintEvent>;
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/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> & {
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/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">;
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: SuiClient, id: string): Promise<RedeemEvent>;
906
+ static fetch(client: SuiJsonRpcClient, id: string): Promise<RedeemEvent>;
907
907
  }