@suilend/springsui-cli 1.0.13 → 1.0.14
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 +48 -48
- package/cli/src/index.js +165 -146
- package/package.json +1 -1
- package/sdk/src/_generated/_dependencies/source/0x1/ascii/structs.d.ts +5 -5
- 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 +2 -7
- package/sdk/src/_generated/_dependencies/source/0x1/option/structs.js +31 -69
- package/sdk/src/_generated/_dependencies/source/0x1/string/structs.d.ts +3 -3
- package/sdk/src/_generated/_dependencies/source/0x1/string/structs.js +21 -59
- package/sdk/src/_generated/_dependencies/source/0x1/type-name/structs.d.ts +4 -4
- package/sdk/src/_generated/_dependencies/source/0x1/type-name/structs.js +20 -25
- package/sdk/src/_generated/_dependencies/source/0x2/bag/structs.d.ts +6 -6
- package/sdk/src/_generated/_dependencies/source/0x2/bag/structs.js +24 -29
- package/sdk/src/_generated/_dependencies/source/0x2/balance/structs.d.ts +5 -5
- package/sdk/src/_generated/_dependencies/source/0x2/balance/structs.js +49 -56
- package/sdk/src/_generated/_dependencies/source/0x2/coin/structs.d.ts +44 -58
- 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 +6 -6
- package/sdk/src/_generated/_dependencies/source/0x2/object/structs.js +34 -41
- package/sdk/src/_generated/_dependencies/source/0x2/sui/structs.d.ts +3 -3
- package/sdk/src/_generated/_dependencies/source/0x2/sui/structs.js +19 -24
- package/sdk/src/_generated/_dependencies/source/0x2/table/structs.d.ts +6 -6
- package/sdk/src/_generated/_dependencies/source/0x2/table/structs.js +31 -36
- package/sdk/src/_generated/_dependencies/source/0x2/url/structs.d.ts +4 -4
- package/sdk/src/_generated/_dependencies/source/0x2/url/structs.js +20 -25
- package/sdk/src/_generated/_dependencies/source/0x2/vec-map/structs.d.ts +4 -4
- 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 +52 -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 +4 -16
- package/sdk/src/_generated/_framework/util.js +26 -40
- package/sdk/src/_generated/_framework/vector.d.ts +1 -12
- package/sdk/src/_generated/_framework/vector.js +16 -21
- package/sdk/src/_generated/liquid_staking/cell/structs.d.ts +2 -9
- package/sdk/src/_generated/liquid_staking/cell/structs.js +31 -36
- package/sdk/src/_generated/liquid_staking/fees/functions.d.ts +19 -19
- package/sdk/src/_generated/liquid_staking/fees/functions.js +55 -75
- package/sdk/src/_generated/liquid_staking/fees/structs.d.ts +19 -19
- 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.d.ts +20 -20
- package/sdk/src/_generated/liquid_staking/liquid-staking/functions.js +86 -107
- package/sdk/src/_generated/liquid_staking/liquid-staking/structs.d.ts +90 -184
- package/sdk/src/_generated/liquid_staking/liquid-staking/structs.js +264 -320
- package/sdk/src/_generated/liquid_staking/storage/structs.d.ts +31 -143
- package/sdk/src/_generated/liquid_staking/storage/structs.js +85 -125
- package/sdk/src/_generated/liquid_staking/version/structs.d.ts +3 -3
- package/sdk/src/_generated/liquid_staking/version/structs.js +19 -24
- package/sdk/src/_generated/liquid_staking/weight/functions.d.ts +11 -11
- package/sdk/src/_generated/liquid_staking/weight/functions.js +44 -56
- package/sdk/src/_generated/liquid_staking/weight/structs.d.ts +36 -36
- package/sdk/src/_generated/liquid_staking/weight/structs.js +128 -141
- package/sdk/src/client.d.ts +26 -36
- package/sdk/src/client.js +90 -126
- package/sdk/src/grpcAdapter.d.ts +50 -0
- package/sdk/src/grpcAdapter.js +75 -0
- package/sdk/src/index.d.ts +1 -0
- package/sdk/src/index.js +3 -18
- package/sdk/src/lib/index.js +1 -17
- package/sdk/src/lib/transactions.d.ts +1 -4
- 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 { SuiClient, SuiObjectData, SuiParsedData } from "@mysten/sui-v1/client";
|
|
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/sui-v1/bcs").BcsStruct<{
|
|
34
|
+
id: import("@mysten/sui-v1/bcs").BcsStruct<{
|
|
35
|
+
id: import("@mysten/sui-v1/bcs").BcsStruct<{
|
|
36
|
+
bytes: import("@mysten/sui-v1/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/sui-v1/bcs").BcsStruct<{
|
|
40
|
+
value: import("@mysten/sui-v1/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>>;
|
|
@@ -93,43 +93,29 @@ 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/sui-v1/bcs").BcsStruct<{
|
|
97
|
+
id: import("@mysten/sui-v1/bcs").BcsStruct<{
|
|
98
|
+
id: import("@mysten/sui-v1/bcs").BcsStruct<{
|
|
99
|
+
bytes: import("@mysten/sui-v1/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/sui-v1/bcs").BcsType<number, number, "u8">;
|
|
103
|
+
name: import("@mysten/sui-v1/bcs").BcsStruct<{
|
|
104
|
+
bytes: import("@mysten/sui-v1/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/sui-v1/bcs").BcsStruct<{
|
|
109
|
+
bytes: import("@mysten/sui-v1/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> & {
|
|
115
|
-
length: number;
|
|
116
|
-
}, string>;
|
|
117
|
-
}, string>;
|
|
118
|
-
icon_url: import("@mysten/sui/bcs").BcsStruct<{
|
|
119
|
-
vec: import("@mysten/sui/bcs").BcsType<{
|
|
120
|
-
url: {
|
|
121
|
-
bytes: number[];
|
|
122
|
-
};
|
|
123
|
-
}[], Iterable<{
|
|
124
|
-
url: {
|
|
125
|
-
bytes: Iterable<number> & {
|
|
126
|
-
length: number;
|
|
127
|
-
};
|
|
128
|
-
};
|
|
129
|
-
}> & {
|
|
113
|
+
description: import("@mysten/sui-v1/bcs").BcsStruct<{
|
|
114
|
+
bytes: import("@mysten/sui-v1/bcs").BcsType<number[], Iterable<number> & {
|
|
130
115
|
length: number;
|
|
131
116
|
}, string>;
|
|
132
117
|
}, string>;
|
|
118
|
+
icon_url: any;
|
|
133
119
|
}, string>;
|
|
134
120
|
static fromFields<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, fields: Record<string, any>): CoinMetadata<ToPhantomTypeArgument<T>>;
|
|
135
121
|
static fromFieldsWithTypes<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, item: FieldsWithTypes): CoinMetadata<ToPhantomTypeArgument<T>>;
|
|
@@ -178,8 +164,8 @@ export declare class CurrencyCreated<T extends PhantomTypeArgument> implements S
|
|
|
178
164
|
static get r(): typeof CurrencyCreated.reified;
|
|
179
165
|
static phantom<T extends PhantomReified<PhantomTypeArgument>>(T: T): PhantomReified<ToTypeStr<CurrencyCreated<ToPhantomTypeArgument<T>>>>;
|
|
180
166
|
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">;
|
|
167
|
+
static get bcs(): import("@mysten/sui-v1/bcs").BcsStruct<{
|
|
168
|
+
decimals: import("@mysten/sui-v1/bcs").BcsType<number, number, "u8">;
|
|
183
169
|
}, string>;
|
|
184
170
|
static fromFields<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, fields: Record<string, any>): CurrencyCreated<ToPhantomTypeArgument<T>>;
|
|
185
171
|
static fromFieldsWithTypes<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, item: FieldsWithTypes): CurrencyCreated<ToPhantomTypeArgument<T>>;
|
|
@@ -218,10 +204,10 @@ export declare class DenyCap<T extends PhantomTypeArgument> implements StructCla
|
|
|
218
204
|
static get r(): typeof DenyCap.reified;
|
|
219
205
|
static phantom<T extends PhantomReified<PhantomTypeArgument>>(T: T): PhantomReified<ToTypeStr<DenyCap<ToPhantomTypeArgument<T>>>>;
|
|
220
206
|
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>;
|
|
207
|
+
static get bcs(): import("@mysten/sui-v1/bcs").BcsStruct<{
|
|
208
|
+
id: import("@mysten/sui-v1/bcs").BcsStruct<{
|
|
209
|
+
id: import("@mysten/sui-v1/bcs").BcsStruct<{
|
|
210
|
+
bytes: import("@mysten/sui-v1/bcs").BcsType<string, string, string>;
|
|
225
211
|
}, string>;
|
|
226
212
|
}, string>;
|
|
227
213
|
}, string>;
|
|
@@ -264,13 +250,13 @@ export declare class DenyCapV2<T extends PhantomTypeArgument> implements StructC
|
|
|
264
250
|
static get r(): typeof DenyCapV2.reified;
|
|
265
251
|
static phantom<T extends PhantomReified<PhantomTypeArgument>>(T: T): PhantomReified<ToTypeStr<DenyCapV2<ToPhantomTypeArgument<T>>>>;
|
|
266
252
|
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>;
|
|
253
|
+
static get bcs(): import("@mysten/sui-v1/bcs").BcsStruct<{
|
|
254
|
+
id: import("@mysten/sui-v1/bcs").BcsStruct<{
|
|
255
|
+
id: import("@mysten/sui-v1/bcs").BcsStruct<{
|
|
256
|
+
bytes: import("@mysten/sui-v1/bcs").BcsType<string, string, string>;
|
|
271
257
|
}, string>;
|
|
272
258
|
}, string>;
|
|
273
|
-
allow_global_pause: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
|
|
259
|
+
allow_global_pause: import("@mysten/sui-v1/bcs").BcsType<boolean, boolean, "bool">;
|
|
274
260
|
}, string>;
|
|
275
261
|
static fromFields<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, fields: Record<string, any>): DenyCapV2<ToPhantomTypeArgument<T>>;
|
|
276
262
|
static fromFieldsWithTypes<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, item: FieldsWithTypes): DenyCapV2<ToPhantomTypeArgument<T>>;
|
|
@@ -315,17 +301,17 @@ export declare class RegulatedCoinMetadata<T extends PhantomTypeArgument> implem
|
|
|
315
301
|
static get r(): typeof RegulatedCoinMetadata.reified;
|
|
316
302
|
static phantom<T extends PhantomReified<PhantomTypeArgument>>(T: T): PhantomReified<ToTypeStr<RegulatedCoinMetadata<ToPhantomTypeArgument<T>>>>;
|
|
317
303
|
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>;
|
|
304
|
+
static get bcs(): import("@mysten/sui-v1/bcs").BcsStruct<{
|
|
305
|
+
id: import("@mysten/sui-v1/bcs").BcsStruct<{
|
|
306
|
+
id: import("@mysten/sui-v1/bcs").BcsStruct<{
|
|
307
|
+
bytes: import("@mysten/sui-v1/bcs").BcsType<string, string, string>;
|
|
322
308
|
}, string>;
|
|
323
309
|
}, string>;
|
|
324
|
-
coin_metadata_object: import("@mysten/sui/bcs").BcsStruct<{
|
|
325
|
-
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
310
|
+
coin_metadata_object: import("@mysten/sui-v1/bcs").BcsStruct<{
|
|
311
|
+
bytes: import("@mysten/sui-v1/bcs").BcsType<string, string, string>;
|
|
326
312
|
}, string>;
|
|
327
|
-
deny_cap_object: import("@mysten/sui/bcs").BcsStruct<{
|
|
328
|
-
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
313
|
+
deny_cap_object: import("@mysten/sui-v1/bcs").BcsStruct<{
|
|
314
|
+
bytes: import("@mysten/sui-v1/bcs").BcsType<string, string, string>;
|
|
329
315
|
}, string>;
|
|
330
316
|
}, string>;
|
|
331
317
|
static fromFields<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, fields: Record<string, any>): RegulatedCoinMetadata<ToPhantomTypeArgument<T>>;
|
|
@@ -371,14 +357,14 @@ export declare class TreasuryCap<T extends PhantomTypeArgument> implements Struc
|
|
|
371
357
|
static get r(): typeof TreasuryCap.reified;
|
|
372
358
|
static phantom<T extends PhantomReified<PhantomTypeArgument>>(T: T): PhantomReified<ToTypeStr<TreasuryCap<ToPhantomTypeArgument<T>>>>;
|
|
373
359
|
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>;
|
|
360
|
+
static get bcs(): import("@mysten/sui-v1/bcs").BcsStruct<{
|
|
361
|
+
id: import("@mysten/sui-v1/bcs").BcsStruct<{
|
|
362
|
+
id: import("@mysten/sui-v1/bcs").BcsStruct<{
|
|
363
|
+
bytes: import("@mysten/sui-v1/bcs").BcsType<string, string, string>;
|
|
378
364
|
}, string>;
|
|
379
365
|
}, string>;
|
|
380
|
-
total_supply: import("@mysten/sui/bcs").BcsStruct<{
|
|
381
|
-
value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
366
|
+
total_supply: import("@mysten/sui-v1/bcs").BcsStruct<{
|
|
367
|
+
value: import("@mysten/sui-v1/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
382
368
|
}, string>;
|
|
383
369
|
}, string>;
|
|
384
370
|
static fromFields<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, fields: Record<string, any>): TreasuryCap<ToPhantomTypeArgument<T>>;
|