@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
@@ -7,7 +7,7 @@ import { Balance, Supply } from "../balance/structs";
7
7
  import { PKG_V31 } from "../index";
8
8
  import { ID, UID } from "../object/structs";
9
9
  import { Url } from "../url/structs";
10
- import { SuiClient, SuiObjectData, SuiParsedData } from "@mysten/sui/client";
10
+ import { SuiJsonRpcClient, SuiObjectData, SuiParsedData } from "@mysten/sui/jsonRpc";
11
11
  export declare function isCoin(type: string): boolean;
12
12
  export interface CoinFields<T extends PhantomTypeArgument> {
13
13
  id: ToField<UID>;
@@ -30,14 +30,14 @@ export declare class Coin<T extends PhantomTypeArgument> implements StructClass
30
30
  static get r(): typeof Coin.reified;
31
31
  static phantom<T extends PhantomReified<PhantomTypeArgument>>(T: T): PhantomReified<ToTypeStr<Coin<ToPhantomTypeArgument<T>>>>;
32
32
  static get p(): typeof Coin.phantom;
33
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
34
- id: import("@mysten/sui/bcs").BcsStruct<{
35
- id: import("@mysten/sui/bcs").BcsStruct<{
36
- bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
33
+ static get bcs(): import("@mysten/bcs").BcsStruct<{
34
+ id: import("@mysten/bcs").BcsStruct<{
35
+ id: import("@mysten/bcs").BcsStruct<{
36
+ bytes: import("@mysten/bcs").BcsType<string, string, string>;
37
37
  }, string>;
38
38
  }, string>;
39
- balance: import("@mysten/sui/bcs").BcsStruct<{
40
- value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
39
+ balance: import("@mysten/bcs").BcsStruct<{
40
+ value: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
41
41
  }, string>;
42
42
  }, string>;
43
43
  static fromFields<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, fields: Record<string, any>): Coin<ToPhantomTypeArgument<T>>;
@@ -61,7 +61,7 @@ export declare class Coin<T extends PhantomTypeArgument> implements StructClass
61
61
  static fromJSON<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, json: Record<string, any>): Coin<ToPhantomTypeArgument<T>>;
62
62
  static fromSuiParsedData<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, content: SuiParsedData): Coin<ToPhantomTypeArgument<T>>;
63
63
  static fromSuiObjectData<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, data: SuiObjectData): Coin<ToPhantomTypeArgument<T>>;
64
- static fetch<T extends PhantomReified<PhantomTypeArgument>>(client: SuiClient, typeArg: T, id: string): Promise<Coin<ToPhantomTypeArgument<T>>>;
64
+ static fetch<T extends PhantomReified<PhantomTypeArgument>>(client: SuiJsonRpcClient, typeArg: T, id: string): Promise<Coin<ToPhantomTypeArgument<T>>>;
65
65
  }
66
66
  export declare function isCoinMetadata(type: string): boolean;
67
67
  export interface CoinMetadataFields<T extends PhantomTypeArgument> {
@@ -93,30 +93,30 @@ export declare class CoinMetadata<T extends PhantomTypeArgument> implements Stru
93
93
  static get r(): typeof CoinMetadata.reified;
94
94
  static phantom<T extends PhantomReified<PhantomTypeArgument>>(T: T): PhantomReified<ToTypeStr<CoinMetadata<ToPhantomTypeArgument<T>>>>;
95
95
  static get p(): typeof CoinMetadata.phantom;
96
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
97
- id: import("@mysten/sui/bcs").BcsStruct<{
98
- id: import("@mysten/sui/bcs").BcsStruct<{
99
- bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
96
+ static get bcs(): import("@mysten/bcs").BcsStruct<{
97
+ id: import("@mysten/bcs").BcsStruct<{
98
+ id: import("@mysten/bcs").BcsStruct<{
99
+ bytes: import("@mysten/bcs").BcsType<string, string, string>;
100
100
  }, string>;
101
101
  }, string>;
102
- decimals: import("@mysten/sui/bcs").BcsType<number, number, "u8">;
103
- name: import("@mysten/sui/bcs").BcsStruct<{
104
- bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
102
+ decimals: import("@mysten/bcs").BcsType<number, number, "u8">;
103
+ name: import("@mysten/bcs").BcsStruct<{
104
+ bytes: import("@mysten/bcs").BcsType<number[], Iterable<number> & {
105
105
  length: number;
106
106
  }, string>;
107
107
  }, string>;
108
- symbol: import("@mysten/sui/bcs").BcsStruct<{
109
- bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
108
+ symbol: import("@mysten/bcs").BcsStruct<{
109
+ bytes: import("@mysten/bcs").BcsType<number[], Iterable<number> & {
110
110
  length: number;
111
111
  }, string>;
112
112
  }, string>;
113
- description: import("@mysten/sui/bcs").BcsStruct<{
114
- bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
113
+ description: import("@mysten/bcs").BcsStruct<{
114
+ bytes: import("@mysten/bcs").BcsType<number[], Iterable<number> & {
115
115
  length: number;
116
116
  }, string>;
117
117
  }, string>;
118
- icon_url: import("@mysten/sui/bcs").BcsStruct<{
119
- vec: import("@mysten/sui/bcs").BcsType<{
118
+ icon_url: import("@mysten/bcs").BcsStruct<{
119
+ vec: import("@mysten/bcs").BcsType<{
120
120
  url: {
121
121
  bytes: number[];
122
122
  };
@@ -156,7 +156,7 @@ export declare class CoinMetadata<T extends PhantomTypeArgument> implements Stru
156
156
  static fromJSON<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, json: Record<string, any>): CoinMetadata<ToPhantomTypeArgument<T>>;
157
157
  static fromSuiParsedData<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, content: SuiParsedData): CoinMetadata<ToPhantomTypeArgument<T>>;
158
158
  static fromSuiObjectData<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, data: SuiObjectData): CoinMetadata<ToPhantomTypeArgument<T>>;
159
- static fetch<T extends PhantomReified<PhantomTypeArgument>>(client: SuiClient, typeArg: T, id: string): Promise<CoinMetadata<ToPhantomTypeArgument<T>>>;
159
+ static fetch<T extends PhantomReified<PhantomTypeArgument>>(client: SuiJsonRpcClient, typeArg: T, id: string): Promise<CoinMetadata<ToPhantomTypeArgument<T>>>;
160
160
  }
161
161
  export declare function isCurrencyCreated(type: string): boolean;
162
162
  export interface CurrencyCreatedFields<T extends PhantomTypeArgument> {
@@ -178,8 +178,8 @@ export declare class CurrencyCreated<T extends PhantomTypeArgument> implements S
178
178
  static get r(): typeof CurrencyCreated.reified;
179
179
  static phantom<T extends PhantomReified<PhantomTypeArgument>>(T: T): PhantomReified<ToTypeStr<CurrencyCreated<ToPhantomTypeArgument<T>>>>;
180
180
  static get p(): typeof CurrencyCreated.phantom;
181
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
182
- decimals: import("@mysten/sui/bcs").BcsType<number, number, "u8">;
181
+ static get bcs(): import("@mysten/bcs").BcsStruct<{
182
+ decimals: import("@mysten/bcs").BcsType<number, number, "u8">;
183
183
  }, string>;
184
184
  static fromFields<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, fields: Record<string, any>): CurrencyCreated<ToPhantomTypeArgument<T>>;
185
185
  static fromFieldsWithTypes<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, item: FieldsWithTypes): CurrencyCreated<ToPhantomTypeArgument<T>>;
@@ -196,7 +196,7 @@ export declare class CurrencyCreated<T extends PhantomTypeArgument> implements S
196
196
  static fromJSON<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, json: Record<string, any>): CurrencyCreated<ToPhantomTypeArgument<T>>;
197
197
  static fromSuiParsedData<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, content: SuiParsedData): CurrencyCreated<ToPhantomTypeArgument<T>>;
198
198
  static fromSuiObjectData<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, data: SuiObjectData): CurrencyCreated<ToPhantomTypeArgument<T>>;
199
- static fetch<T extends PhantomReified<PhantomTypeArgument>>(client: SuiClient, typeArg: T, id: string): Promise<CurrencyCreated<ToPhantomTypeArgument<T>>>;
199
+ static fetch<T extends PhantomReified<PhantomTypeArgument>>(client: SuiJsonRpcClient, typeArg: T, id: string): Promise<CurrencyCreated<ToPhantomTypeArgument<T>>>;
200
200
  }
201
201
  export declare function isDenyCap(type: string): boolean;
202
202
  export interface DenyCapFields<T extends PhantomTypeArgument> {
@@ -218,10 +218,10 @@ export declare class DenyCap<T extends PhantomTypeArgument> implements StructCla
218
218
  static get r(): typeof DenyCap.reified;
219
219
  static phantom<T extends PhantomReified<PhantomTypeArgument>>(T: T): PhantomReified<ToTypeStr<DenyCap<ToPhantomTypeArgument<T>>>>;
220
220
  static get p(): typeof DenyCap.phantom;
221
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
222
- id: import("@mysten/sui/bcs").BcsStruct<{
223
- id: import("@mysten/sui/bcs").BcsStruct<{
224
- bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
221
+ static get bcs(): import("@mysten/bcs").BcsStruct<{
222
+ id: import("@mysten/bcs").BcsStruct<{
223
+ id: import("@mysten/bcs").BcsStruct<{
224
+ bytes: import("@mysten/bcs").BcsType<string, string, string>;
225
225
  }, string>;
226
226
  }, string>;
227
227
  }, string>;
@@ -240,7 +240,7 @@ export declare class DenyCap<T extends PhantomTypeArgument> implements StructCla
240
240
  static fromJSON<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, json: Record<string, any>): DenyCap<ToPhantomTypeArgument<T>>;
241
241
  static fromSuiParsedData<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, content: SuiParsedData): DenyCap<ToPhantomTypeArgument<T>>;
242
242
  static fromSuiObjectData<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, data: SuiObjectData): DenyCap<ToPhantomTypeArgument<T>>;
243
- static fetch<T extends PhantomReified<PhantomTypeArgument>>(client: SuiClient, typeArg: T, id: string): Promise<DenyCap<ToPhantomTypeArgument<T>>>;
243
+ static fetch<T extends PhantomReified<PhantomTypeArgument>>(client: SuiJsonRpcClient, typeArg: T, id: string): Promise<DenyCap<ToPhantomTypeArgument<T>>>;
244
244
  }
245
245
  export declare function isDenyCapV2(type: string): boolean;
246
246
  export interface DenyCapV2Fields<T extends PhantomTypeArgument> {
@@ -264,13 +264,13 @@ export declare class DenyCapV2<T extends PhantomTypeArgument> implements StructC
264
264
  static get r(): typeof DenyCapV2.reified;
265
265
  static phantom<T extends PhantomReified<PhantomTypeArgument>>(T: T): PhantomReified<ToTypeStr<DenyCapV2<ToPhantomTypeArgument<T>>>>;
266
266
  static get p(): typeof DenyCapV2.phantom;
267
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
268
- id: import("@mysten/sui/bcs").BcsStruct<{
269
- id: import("@mysten/sui/bcs").BcsStruct<{
270
- bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
267
+ static get bcs(): import("@mysten/bcs").BcsStruct<{
268
+ id: import("@mysten/bcs").BcsStruct<{
269
+ id: import("@mysten/bcs").BcsStruct<{
270
+ bytes: import("@mysten/bcs").BcsType<string, string, string>;
271
271
  }, string>;
272
272
  }, string>;
273
- allow_global_pause: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
273
+ allow_global_pause: import("@mysten/bcs").BcsType<boolean, boolean, "bool">;
274
274
  }, string>;
275
275
  static fromFields<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, fields: Record<string, any>): DenyCapV2<ToPhantomTypeArgument<T>>;
276
276
  static fromFieldsWithTypes<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, item: FieldsWithTypes): DenyCapV2<ToPhantomTypeArgument<T>>;
@@ -289,7 +289,7 @@ export declare class DenyCapV2<T extends PhantomTypeArgument> implements StructC
289
289
  static fromJSON<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, json: Record<string, any>): DenyCapV2<ToPhantomTypeArgument<T>>;
290
290
  static fromSuiParsedData<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, content: SuiParsedData): DenyCapV2<ToPhantomTypeArgument<T>>;
291
291
  static fromSuiObjectData<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, data: SuiObjectData): DenyCapV2<ToPhantomTypeArgument<T>>;
292
- static fetch<T extends PhantomReified<PhantomTypeArgument>>(client: SuiClient, typeArg: T, id: string): Promise<DenyCapV2<ToPhantomTypeArgument<T>>>;
292
+ static fetch<T extends PhantomReified<PhantomTypeArgument>>(client: SuiJsonRpcClient, typeArg: T, id: string): Promise<DenyCapV2<ToPhantomTypeArgument<T>>>;
293
293
  }
294
294
  export declare function isRegulatedCoinMetadata(type: string): boolean;
295
295
  export interface RegulatedCoinMetadataFields<T extends PhantomTypeArgument> {
@@ -315,17 +315,17 @@ export declare class RegulatedCoinMetadata<T extends PhantomTypeArgument> implem
315
315
  static get r(): typeof RegulatedCoinMetadata.reified;
316
316
  static phantom<T extends PhantomReified<PhantomTypeArgument>>(T: T): PhantomReified<ToTypeStr<RegulatedCoinMetadata<ToPhantomTypeArgument<T>>>>;
317
317
  static get p(): typeof RegulatedCoinMetadata.phantom;
318
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
319
- id: import("@mysten/sui/bcs").BcsStruct<{
320
- id: import("@mysten/sui/bcs").BcsStruct<{
321
- bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
318
+ static get bcs(): import("@mysten/bcs").BcsStruct<{
319
+ id: import("@mysten/bcs").BcsStruct<{
320
+ id: import("@mysten/bcs").BcsStruct<{
321
+ bytes: import("@mysten/bcs").BcsType<string, string, string>;
322
322
  }, string>;
323
323
  }, string>;
324
- coin_metadata_object: import("@mysten/sui/bcs").BcsStruct<{
325
- bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
324
+ coin_metadata_object: import("@mysten/bcs").BcsStruct<{
325
+ bytes: import("@mysten/bcs").BcsType<string, string, string>;
326
326
  }, string>;
327
- deny_cap_object: import("@mysten/sui/bcs").BcsStruct<{
328
- bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
327
+ deny_cap_object: import("@mysten/bcs").BcsStruct<{
328
+ bytes: import("@mysten/bcs").BcsType<string, string, string>;
329
329
  }, string>;
330
330
  }, string>;
331
331
  static fromFields<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, fields: Record<string, any>): RegulatedCoinMetadata<ToPhantomTypeArgument<T>>;
@@ -347,7 +347,7 @@ export declare class RegulatedCoinMetadata<T extends PhantomTypeArgument> implem
347
347
  static fromJSON<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, json: Record<string, any>): RegulatedCoinMetadata<ToPhantomTypeArgument<T>>;
348
348
  static fromSuiParsedData<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, content: SuiParsedData): RegulatedCoinMetadata<ToPhantomTypeArgument<T>>;
349
349
  static fromSuiObjectData<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, data: SuiObjectData): RegulatedCoinMetadata<ToPhantomTypeArgument<T>>;
350
- static fetch<T extends PhantomReified<PhantomTypeArgument>>(client: SuiClient, typeArg: T, id: string): Promise<RegulatedCoinMetadata<ToPhantomTypeArgument<T>>>;
350
+ static fetch<T extends PhantomReified<PhantomTypeArgument>>(client: SuiJsonRpcClient, typeArg: T, id: string): Promise<RegulatedCoinMetadata<ToPhantomTypeArgument<T>>>;
351
351
  }
352
352
  export declare function isTreasuryCap(type: string): boolean;
353
353
  export interface TreasuryCapFields<T extends PhantomTypeArgument> {
@@ -371,14 +371,14 @@ export declare class TreasuryCap<T extends PhantomTypeArgument> implements Struc
371
371
  static get r(): typeof TreasuryCap.reified;
372
372
  static phantom<T extends PhantomReified<PhantomTypeArgument>>(T: T): PhantomReified<ToTypeStr<TreasuryCap<ToPhantomTypeArgument<T>>>>;
373
373
  static get p(): typeof TreasuryCap.phantom;
374
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
375
- id: import("@mysten/sui/bcs").BcsStruct<{
376
- id: import("@mysten/sui/bcs").BcsStruct<{
377
- bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
374
+ static get bcs(): import("@mysten/bcs").BcsStruct<{
375
+ id: import("@mysten/bcs").BcsStruct<{
376
+ id: import("@mysten/bcs").BcsStruct<{
377
+ bytes: import("@mysten/bcs").BcsType<string, string, string>;
378
378
  }, string>;
379
379
  }, string>;
380
- total_supply: import("@mysten/sui/bcs").BcsStruct<{
381
- value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
380
+ total_supply: import("@mysten/bcs").BcsStruct<{
381
+ value: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
382
382
  }, string>;
383
383
  }, string>;
384
384
  static fromFields<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, fields: Record<string, any>): TreasuryCap<ToPhantomTypeArgument<T>>;
@@ -402,5 +402,5 @@ export declare class TreasuryCap<T extends PhantomTypeArgument> implements Struc
402
402
  static fromJSON<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, json: Record<string, any>): TreasuryCap<ToPhantomTypeArgument<T>>;
403
403
  static fromSuiParsedData<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, content: SuiParsedData): TreasuryCap<ToPhantomTypeArgument<T>>;
404
404
  static fromSuiObjectData<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, data: SuiObjectData): TreasuryCap<ToPhantomTypeArgument<T>>;
405
- static fetch<T extends PhantomReified<PhantomTypeArgument>>(client: SuiClient, typeArg: T, id: string): Promise<TreasuryCap<ToPhantomTypeArgument<T>>>;
405
+ static fetch<T extends PhantomReified<PhantomTypeArgument>>(client: SuiJsonRpcClient, typeArg: T, id: string): Promise<TreasuryCap<ToPhantomTypeArgument<T>>>;
406
406
  }