@typus/typus-perp-sdk 1.1.28 → 1.1.29-codegen-test
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/dist/src/_dependencies/source/0x1/ascii/structs.d.ts +7 -11
- package/dist/src/_dependencies/source/0x1/option/structs.d.ts +4 -6
- package/dist/src/_dependencies/source/0x1/string/structs.d.ts +4 -6
- package/dist/src/_dependencies/source/0x1/type-name/structs.d.ts +6 -10
- package/dist/src/_dependencies/source/0x2/bag/structs.d.ts +8 -15
- package/dist/src/_dependencies/source/0x2/balance/structs.d.ts +6 -10
- package/dist/src/_dependencies/source/0x2/coin/structs.d.ts +85 -139
- package/dist/src/_dependencies/source/0x2/linked-table/structs.d.ts +27 -48
- package/dist/src/_dependencies/source/0x2/object/structs.d.ts +8 -14
- package/dist/src/_dependencies/source/0x2/object-table/structs.d.ts +8 -15
- package/dist/src/_dependencies/source/0x2/sui/structs.d.ts +3 -5
- package/dist/src/_dependencies/source/0x2/table/structs.d.ts +8 -15
- package/dist/src/_dependencies/source/0x2/table-vec/structs.d.ts +10 -19
- package/dist/src/_dependencies/source/0x2/token/structs.d.ts +90 -118
- package/dist/src/_dependencies/source/0x2/transfer-policy/structs.d.ts +70 -92
- package/dist/src/_dependencies/source/0x2/url/structs.d.ts +6 -10
- package/dist/src/_dependencies/source/0x2/vec-map/structs.d.ts +13 -18
- package/dist/src/_dependencies/source/0x2/vec-set/structs.d.ts +4 -6
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/airdrop/structs.d.ts +86 -153
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/big-vector/structs.d.ts +21 -38
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/critbit/structs.d.ts +34 -65
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/ecosystem/structs.d.ts +58 -101
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/keyed-big-vector/structs.d.ts +36 -61
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/leaderboard/structs.d.ts +125 -224
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/linked-object-table/structs.d.ts +31 -56
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/linked-set/structs.d.ts +26 -46
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/tails-staking/structs.d.ts +186 -300
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/tgld/structs.d.ts +43 -78
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/user/structs.d.ts +48 -82
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/authority/structs.d.ts +18 -33
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/balance-pool/structs.d.ts +65 -118
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/big-vector/structs.d.ts +10 -19
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/dutch/structs.d.ts +133 -253
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/i64/structs.d.ts +3 -5
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/linked-list/structs.d.ts +26 -46
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/vault/structs.d.ts +433 -713
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/discount-mint/structs.d.ts +69 -125
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/royalty-rule/structs.d.ts +7 -12
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/staking/structs.d.ts +87 -155
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/table-vec/structs.d.ts +10 -19
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/typus-nft/structs.d.ts +183 -326
- package/dist/src/_framework/util.d.ts +1 -1
- package/dist/src/_framework/vector.d.ts +12 -5
- package/dist/src/index.js +16 -15
- package/dist/src/typus_perp/admin/structs.d.ts +85 -147
- package/dist/src/typus_perp/competition/structs.d.ts +16 -28
- package/dist/src/typus_perp/escrow/structs.d.ts +20 -32
- package/dist/src/typus_perp/lp-pool/structs.d.ts +736 -1299
- package/dist/src/typus_perp/position/structs.d.ts +236 -395
- package/dist/src/typus_perp/symbol/structs.d.ts +14 -25
- package/dist/src/typus_perp/tlp/structs.d.ts +42 -18
- package/dist/src/typus_perp/tlp/structs.js +53 -2
- package/dist/src/typus_perp/trading/structs.d.ts +714 -1267
- package/dist/src/typus_perp/treasury-caps/structs.d.ts +7 -13
- package/dist/src/typus_perp/user-account/structs.d.ts +27 -47
- package/dist/src/typus_stake_pool/admin/structs.d.ts +67 -115
- package/dist/src/typus_stake_pool/stake-pool/structs.d.ts +371 -649
- package/dist/src/user/history.js +1 -1
- package/dist/src/user/orderWithBidReceipt.d.ts +1 -0
- package/package.json +13 -4
|
@@ -29,19 +29,16 @@ export declare class BurnEvent implements StructClass {
|
|
|
29
29
|
static get r(): reified.StructClassReified<BurnEvent, BurnEventFields>;
|
|
30
30
|
static phantom(): PhantomReified<ToTypeStr<BurnEvent>>;
|
|
31
31
|
static get p(): reified.PhantomReified<"0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a::tgld::BurnEvent">;
|
|
32
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
33
|
-
log: string[]
|
|
34
|
-
bcs_padding: number[][];
|
|
35
|
-
}, {
|
|
36
|
-
log: Iterable<string | number | bigint> & {
|
|
32
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
33
|
+
log: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
37
34
|
length: number;
|
|
38
|
-
}
|
|
39
|
-
bcs_padding: Iterable<Iterable<number> & {
|
|
35
|
+
}, string>;
|
|
36
|
+
bcs_padding: import("@mysten/sui/bcs").BcsType<number[][], Iterable<Iterable<number> & {
|
|
40
37
|
length: number;
|
|
41
38
|
}> & {
|
|
42
39
|
length: number;
|
|
43
|
-
}
|
|
44
|
-
}>;
|
|
40
|
+
}, string>;
|
|
41
|
+
}, string>;
|
|
45
42
|
static fromFields(fields: Record<string, any>): BurnEvent;
|
|
46
43
|
static fromFieldsWithTypes(item: FieldsWithTypes): BurnEvent;
|
|
47
44
|
static fromBcs(data: Uint8Array): BurnEvent;
|
|
@@ -85,21 +82,17 @@ export declare class MintEvent implements StructClass {
|
|
|
85
82
|
static get r(): reified.StructClassReified<MintEvent, MintEventFields>;
|
|
86
83
|
static phantom(): PhantomReified<ToTypeStr<MintEvent>>;
|
|
87
84
|
static get p(): reified.PhantomReified<"0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a::tgld::MintEvent">;
|
|
88
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
89
|
-
recipient: string
|
|
90
|
-
log: string[]
|
|
91
|
-
bcs_padding: number[][];
|
|
92
|
-
}, {
|
|
93
|
-
recipient: string;
|
|
94
|
-
log: Iterable<string | number | bigint> & {
|
|
85
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
86
|
+
recipient: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
87
|
+
log: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
95
88
|
length: number;
|
|
96
|
-
}
|
|
97
|
-
bcs_padding: Iterable<Iterable<number> & {
|
|
89
|
+
}, string>;
|
|
90
|
+
bcs_padding: import("@mysten/sui/bcs").BcsType<number[][], Iterable<Iterable<number> & {
|
|
98
91
|
length: number;
|
|
99
92
|
}> & {
|
|
100
93
|
length: number;
|
|
101
|
-
}
|
|
102
|
-
}>;
|
|
94
|
+
}, string>;
|
|
95
|
+
}, string>;
|
|
103
96
|
static fromFields(fields: Record<string, any>): MintEvent;
|
|
104
97
|
static fromFieldsWithTypes(item: FieldsWithTypes): MintEvent;
|
|
105
98
|
static fromBcs(data: Uint8Array): MintEvent;
|
|
@@ -141,11 +134,9 @@ export declare class TGLD implements StructClass {
|
|
|
141
134
|
static get r(): reified.StructClassReified<TGLD, TGLDFields>;
|
|
142
135
|
static phantom(): PhantomReified<ToTypeStr<TGLD>>;
|
|
143
136
|
static get p(): reified.PhantomReified<"0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a::tgld::TGLD">;
|
|
144
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
145
|
-
dummy_field: boolean
|
|
146
|
-
},
|
|
147
|
-
dummy_field: boolean;
|
|
148
|
-
}>;
|
|
137
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
138
|
+
dummy_field: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
|
|
139
|
+
}, string>;
|
|
149
140
|
static fromFields(fields: Record<string, any>): TGLD;
|
|
150
141
|
static fromFieldsWithTypes(item: FieldsWithTypes): TGLD;
|
|
151
142
|
static fromBcs(data: Uint8Array): TGLD;
|
|
@@ -187,59 +178,33 @@ export declare class TgldRegistry implements StructClass {
|
|
|
187
178
|
static get r(): reified.StructClassReified<TgldRegistry, TgldRegistryFields>;
|
|
188
179
|
static phantom(): PhantomReified<ToTypeStr<TgldRegistry>>;
|
|
189
180
|
static get p(): reified.PhantomReified<"0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a::tgld::TgldRegistry">;
|
|
190
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
191
|
-
id: {
|
|
192
|
-
id: {
|
|
193
|
-
bytes: string
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
treasury_cap: {
|
|
197
|
-
id: {
|
|
198
|
-
id: {
|
|
199
|
-
bytes: string
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
total_supply: {
|
|
203
|
-
value: string
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
token_policy_cap: {
|
|
207
|
-
id: {
|
|
208
|
-
id: {
|
|
209
|
-
bytes: string
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
for: {
|
|
213
|
-
bytes: string
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
},
|
|
217
|
-
id: {
|
|
218
|
-
id: {
|
|
219
|
-
bytes: string;
|
|
220
|
-
};
|
|
221
|
-
};
|
|
222
|
-
treasury_cap: {
|
|
223
|
-
id: {
|
|
224
|
-
id: {
|
|
225
|
-
bytes: string;
|
|
226
|
-
};
|
|
227
|
-
};
|
|
228
|
-
total_supply: {
|
|
229
|
-
value: string | number | bigint;
|
|
230
|
-
};
|
|
231
|
-
};
|
|
232
|
-
token_policy_cap: {
|
|
233
|
-
id: {
|
|
234
|
-
id: {
|
|
235
|
-
bytes: string;
|
|
236
|
-
};
|
|
237
|
-
};
|
|
238
|
-
for: {
|
|
239
|
-
bytes: string;
|
|
240
|
-
};
|
|
241
|
-
};
|
|
242
|
-
}>;
|
|
181
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
182
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
183
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
184
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
185
|
+
}, string>;
|
|
186
|
+
}, string>;
|
|
187
|
+
treasury_cap: import("@mysten/sui/bcs").BcsStruct<{
|
|
188
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
189
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
190
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
191
|
+
}, string>;
|
|
192
|
+
}, string>;
|
|
193
|
+
total_supply: import("@mysten/sui/bcs").BcsStruct<{
|
|
194
|
+
value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
195
|
+
}, string>;
|
|
196
|
+
}, string>;
|
|
197
|
+
token_policy_cap: import("@mysten/sui/bcs").BcsStruct<{
|
|
198
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
199
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
200
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
201
|
+
}, string>;
|
|
202
|
+
}, string>;
|
|
203
|
+
for: import("@mysten/sui/bcs").BcsStruct<{
|
|
204
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
205
|
+
}, string>;
|
|
206
|
+
}, string>;
|
|
207
|
+
}, string>;
|
|
243
208
|
static fromFields(fields: Record<string, any>): TgldRegistry;
|
|
244
209
|
static fromFieldsWithTypes(item: FieldsWithTypes): TgldRegistry;
|
|
245
210
|
static fromBcs(data: Uint8Array): TgldRegistry;
|
|
@@ -30,21 +30,17 @@ export declare class AddAccumulatedTgldAmount implements StructClass {
|
|
|
30
30
|
static get r(): reified.StructClassReified<AddAccumulatedTgldAmount, AddAccumulatedTgldAmountFields>;
|
|
31
31
|
static phantom(): PhantomReified<ToTypeStr<AddAccumulatedTgldAmount>>;
|
|
32
32
|
static get p(): reified.PhantomReified<"0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a::user::AddAccumulatedTgldAmount">;
|
|
33
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
34
|
-
user: string
|
|
35
|
-
log: string[]
|
|
36
|
-
bcs_padding: number[][];
|
|
37
|
-
}, {
|
|
38
|
-
user: string;
|
|
39
|
-
log: Iterable<string | number | bigint> & {
|
|
33
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
34
|
+
user: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
35
|
+
log: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
40
36
|
length: number;
|
|
41
|
-
}
|
|
42
|
-
bcs_padding: Iterable<Iterable<number> & {
|
|
37
|
+
}, string>;
|
|
38
|
+
bcs_padding: import("@mysten/sui/bcs").BcsType<number[][], Iterable<Iterable<number> & {
|
|
43
39
|
length: number;
|
|
44
40
|
}> & {
|
|
45
41
|
length: number;
|
|
46
|
-
}
|
|
47
|
-
}>;
|
|
42
|
+
}, string>;
|
|
43
|
+
}, string>;
|
|
48
44
|
static fromFields(fields: Record<string, any>): AddAccumulatedTgldAmount;
|
|
49
45
|
static fromFieldsWithTypes(item: FieldsWithTypes): AddAccumulatedTgldAmount;
|
|
50
46
|
static fromBcs(data: Uint8Array): AddAccumulatedTgldAmount;
|
|
@@ -90,21 +86,17 @@ export declare class AddTailsExpAmount implements StructClass {
|
|
|
90
86
|
static get r(): reified.StructClassReified<AddTailsExpAmount, AddTailsExpAmountFields>;
|
|
91
87
|
static phantom(): PhantomReified<ToTypeStr<AddTailsExpAmount>>;
|
|
92
88
|
static get p(): reified.PhantomReified<"0x19fe3a0a4a831515a6801c51fdf0800e2428777b4e29cbc8355b7939a009893::user::AddTailsExpAmount">;
|
|
93
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
94
|
-
user: string
|
|
95
|
-
log: string[]
|
|
96
|
-
bcs_padding: number[][];
|
|
97
|
-
}, {
|
|
98
|
-
user: string;
|
|
99
|
-
log: Iterable<string | number | bigint> & {
|
|
89
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
90
|
+
user: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
91
|
+
log: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
100
92
|
length: number;
|
|
101
|
-
}
|
|
102
|
-
bcs_padding: Iterable<Iterable<number> & {
|
|
93
|
+
}, string>;
|
|
94
|
+
bcs_padding: import("@mysten/sui/bcs").BcsType<number[][], Iterable<Iterable<number> & {
|
|
103
95
|
length: number;
|
|
104
96
|
}> & {
|
|
105
97
|
length: number;
|
|
106
|
-
}
|
|
107
|
-
}>;
|
|
98
|
+
}, string>;
|
|
99
|
+
}, string>;
|
|
108
100
|
static fromFields(fields: Record<string, any>): AddTailsExpAmount;
|
|
109
101
|
static fromFieldsWithTypes(item: FieldsWithTypes): AddTailsExpAmount;
|
|
110
102
|
static fromBcs(data: Uint8Array): AddTailsExpAmount;
|
|
@@ -146,13 +138,11 @@ export declare class Metadata implements StructClass {
|
|
|
146
138
|
static get r(): reified.StructClassReified<Metadata, MetadataFields>;
|
|
147
139
|
static phantom(): PhantomReified<ToTypeStr<Metadata>>;
|
|
148
140
|
static get p(): reified.PhantomReified<"0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a::user::Metadata">;
|
|
149
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
150
|
-
content: string[]
|
|
151
|
-
}, {
|
|
152
|
-
content: Iterable<string | number | bigint> & {
|
|
141
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
142
|
+
content: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
153
143
|
length: number;
|
|
154
|
-
}
|
|
155
|
-
}>;
|
|
144
|
+
}, string>;
|
|
145
|
+
}, string>;
|
|
156
146
|
static fromFields(fields: Record<string, any>): Metadata;
|
|
157
147
|
static fromFieldsWithTypes(item: FieldsWithTypes): Metadata;
|
|
158
148
|
static fromBcs(data: Uint8Array): Metadata;
|
|
@@ -194,21 +184,17 @@ export declare class RemoveTailsExpAmount implements StructClass {
|
|
|
194
184
|
static get r(): reified.StructClassReified<RemoveTailsExpAmount, RemoveTailsExpAmountFields>;
|
|
195
185
|
static phantom(): PhantomReified<ToTypeStr<RemoveTailsExpAmount>>;
|
|
196
186
|
static get p(): reified.PhantomReified<"0x19fe3a0a4a831515a6801c51fdf0800e2428777b4e29cbc8355b7939a009893::user::RemoveTailsExpAmount">;
|
|
197
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
198
|
-
user: string
|
|
199
|
-
log: string[]
|
|
200
|
-
bcs_padding: number[][];
|
|
201
|
-
}, {
|
|
202
|
-
user: string;
|
|
203
|
-
log: Iterable<string | number | bigint> & {
|
|
187
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
188
|
+
user: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
189
|
+
log: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
204
190
|
length: number;
|
|
205
|
-
}
|
|
206
|
-
bcs_padding: Iterable<Iterable<number> & {
|
|
191
|
+
}, string>;
|
|
192
|
+
bcs_padding: import("@mysten/sui/bcs").BcsType<number[][], Iterable<Iterable<number> & {
|
|
207
193
|
length: number;
|
|
208
194
|
}> & {
|
|
209
195
|
length: number;
|
|
210
|
-
}
|
|
211
|
-
}>;
|
|
196
|
+
}, string>;
|
|
197
|
+
}, string>;
|
|
212
198
|
static fromFields(fields: Record<string, any>): RemoveTailsExpAmount;
|
|
213
199
|
static fromFieldsWithTypes(item: FieldsWithTypes): RemoveTailsExpAmount;
|
|
214
200
|
static fromBcs(data: Uint8Array): RemoveTailsExpAmount;
|
|
@@ -252,51 +238,31 @@ export declare class TypusUserRegistry implements StructClass {
|
|
|
252
238
|
static get r(): reified.StructClassReified<TypusUserRegistry, TypusUserRegistryFields>;
|
|
253
239
|
static phantom(): PhantomReified<ToTypeStr<TypusUserRegistry>>;
|
|
254
240
|
static get p(): reified.PhantomReified<"0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a::user::TypusUserRegistry">;
|
|
255
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
256
|
-
id: {
|
|
257
|
-
id: {
|
|
258
|
-
bytes: string
|
|
259
|
-
}
|
|
260
|
-
}
|
|
261
|
-
metadata: {
|
|
262
|
-
id: {
|
|
263
|
-
id: {
|
|
264
|
-
bytes: string
|
|
265
|
-
}
|
|
266
|
-
}
|
|
267
|
-
size: string
|
|
268
|
-
head: {
|
|
269
|
-
vec:
|
|
270
|
-
};
|
|
271
|
-
tail: {
|
|
272
|
-
vec: any[];
|
|
273
|
-
};
|
|
274
|
-
};
|
|
275
|
-
}, {
|
|
276
|
-
id: {
|
|
277
|
-
id: {
|
|
278
|
-
bytes: string;
|
|
279
|
-
};
|
|
280
|
-
};
|
|
281
|
-
metadata: {
|
|
282
|
-
id: {
|
|
283
|
-
id: {
|
|
284
|
-
bytes: string;
|
|
285
|
-
};
|
|
286
|
-
};
|
|
287
|
-
size: string | number | bigint;
|
|
288
|
-
head: {
|
|
289
|
-
vec: Iterable<any> & {
|
|
241
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
242
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
243
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
244
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
245
|
+
}, string>;
|
|
246
|
+
}, string>;
|
|
247
|
+
metadata: import("@mysten/sui/bcs").BcsStruct<{
|
|
248
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
249
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
250
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
251
|
+
}, string>;
|
|
252
|
+
}, string>;
|
|
253
|
+
size: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
254
|
+
head: import("@mysten/sui/bcs").BcsStruct<{
|
|
255
|
+
vec: import("@mysten/sui/bcs").BcsType<string[], Iterable<string> & {
|
|
290
256
|
length: number;
|
|
291
|
-
}
|
|
292
|
-
}
|
|
293
|
-
tail: {
|
|
294
|
-
vec: Iterable<
|
|
257
|
+
}, string>;
|
|
258
|
+
}, string>;
|
|
259
|
+
tail: import("@mysten/sui/bcs").BcsStruct<{
|
|
260
|
+
vec: import("@mysten/sui/bcs").BcsType<string[], Iterable<string> & {
|
|
295
261
|
length: number;
|
|
296
|
-
}
|
|
297
|
-
}
|
|
298
|
-
}
|
|
299
|
-
}>;
|
|
262
|
+
}, string>;
|
|
263
|
+
}, string>;
|
|
264
|
+
}, string>;
|
|
265
|
+
}, string>;
|
|
300
266
|
static fromFields(fields: Record<string, any>): TypusUserRegistry;
|
|
301
267
|
static fromFieldsWithTypes(item: FieldsWithTypes): TypusUserRegistry;
|
|
302
268
|
static fromBcs(data: Uint8Array): TypusUserRegistry;
|
|
@@ -24,41 +24,26 @@ export declare class Authority implements StructClass {
|
|
|
24
24
|
static get r(): reified.StructClassReified<Authority, AuthorityFields>;
|
|
25
25
|
static phantom(): PhantomReified<ToTypeStr<Authority>>;
|
|
26
26
|
static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::authority::Authority">;
|
|
27
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
28
|
-
whitelist: {
|
|
29
|
-
id: {
|
|
30
|
-
id: {
|
|
31
|
-
bytes: string
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
size: string
|
|
35
|
-
head: {
|
|
36
|
-
vec:
|
|
37
|
-
};
|
|
38
|
-
tail: {
|
|
39
|
-
vec: any[];
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
}, {
|
|
43
|
-
whitelist: {
|
|
44
|
-
id: {
|
|
45
|
-
id: {
|
|
46
|
-
bytes: string;
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
size: string | number | bigint;
|
|
50
|
-
head: {
|
|
51
|
-
vec: Iterable<any> & {
|
|
27
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
28
|
+
whitelist: import("@mysten/sui/bcs").BcsStruct<{
|
|
29
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
30
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
31
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
32
|
+
}, string>;
|
|
33
|
+
}, string>;
|
|
34
|
+
size: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
35
|
+
head: import("@mysten/sui/bcs").BcsStruct<{
|
|
36
|
+
vec: import("@mysten/sui/bcs").BcsType<string[], Iterable<string> & {
|
|
52
37
|
length: number;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
tail: {
|
|
56
|
-
vec: Iterable<
|
|
38
|
+
}, string>;
|
|
39
|
+
}, string>;
|
|
40
|
+
tail: import("@mysten/sui/bcs").BcsStruct<{
|
|
41
|
+
vec: import("@mysten/sui/bcs").BcsType<string[], Iterable<string> & {
|
|
57
42
|
length: number;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
}>;
|
|
43
|
+
}, string>;
|
|
44
|
+
}, string>;
|
|
45
|
+
}, string>;
|
|
46
|
+
}, string>;
|
|
62
47
|
static fromFields(fields: Record<string, any>): Authority;
|
|
63
48
|
static fromFieldsWithTypes(item: FieldsWithTypes): Authority;
|
|
64
49
|
static fromBcs(data: Uint8Array): Authority;
|
|
@@ -29,23 +29,16 @@ export declare class BalanceInfo implements StructClass {
|
|
|
29
29
|
static get r(): reified.StructClassReified<BalanceInfo, BalanceInfoFields>;
|
|
30
30
|
static phantom(): PhantomReified<ToTypeStr<BalanceInfo>>;
|
|
31
31
|
static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::balance_pool::BalanceInfo">;
|
|
32
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
33
|
-
token: {
|
|
34
|
-
name: {
|
|
35
|
-
bytes: number[]
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
value: string;
|
|
39
|
-
}, {
|
|
40
|
-
token: {
|
|
41
|
-
name: {
|
|
42
|
-
bytes: Iterable<number> & {
|
|
32
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
33
|
+
token: import("@mysten/sui/bcs").BcsStruct<{
|
|
34
|
+
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
35
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
43
36
|
length: number;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
value: string | number | bigint
|
|
48
|
-
}>;
|
|
37
|
+
}, string>;
|
|
38
|
+
}, string>;
|
|
39
|
+
}, string>;
|
|
40
|
+
value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
41
|
+
}, string>;
|
|
49
42
|
static fromFields(fields: Record<string, any>): BalanceInfo;
|
|
50
43
|
static fromFieldsWithTypes(item: FieldsWithTypes): BalanceInfo;
|
|
51
44
|
static fromBcs(data: Uint8Array): BalanceInfo;
|
|
@@ -93,43 +86,20 @@ export declare class BalancePool implements StructClass {
|
|
|
93
86
|
static get r(): reified.StructClassReified<BalancePool, BalancePoolFields>;
|
|
94
87
|
static phantom(): PhantomReified<ToTypeStr<BalancePool>>;
|
|
95
88
|
static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::balance_pool::BalancePool">;
|
|
96
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
97
|
-
id: {
|
|
98
|
-
id: {
|
|
99
|
-
bytes: string
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
balance_infos: {
|
|
89
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
90
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
91
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
92
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
93
|
+
}, string>;
|
|
94
|
+
}, string>;
|
|
95
|
+
balance_infos: import("@mysten/sui/bcs").BcsType<{
|
|
103
96
|
token: {
|
|
104
97
|
name: {
|
|
105
98
|
bytes: number[];
|
|
106
99
|
};
|
|
107
100
|
};
|
|
108
101
|
value: string;
|
|
109
|
-
}[]
|
|
110
|
-
authority: {
|
|
111
|
-
whitelist: {
|
|
112
|
-
id: {
|
|
113
|
-
id: {
|
|
114
|
-
bytes: string;
|
|
115
|
-
};
|
|
116
|
-
};
|
|
117
|
-
size: string;
|
|
118
|
-
head: {
|
|
119
|
-
vec: any[];
|
|
120
|
-
};
|
|
121
|
-
tail: {
|
|
122
|
-
vec: any[];
|
|
123
|
-
};
|
|
124
|
-
};
|
|
125
|
-
};
|
|
126
|
-
}, {
|
|
127
|
-
id: {
|
|
128
|
-
id: {
|
|
129
|
-
bytes: string;
|
|
130
|
-
};
|
|
131
|
-
};
|
|
132
|
-
balance_infos: Iterable<{
|
|
102
|
+
}[], Iterable<{
|
|
133
103
|
token: {
|
|
134
104
|
name: {
|
|
135
105
|
bytes: Iterable<number> & {
|
|
@@ -140,28 +110,28 @@ export declare class BalancePool implements StructClass {
|
|
|
140
110
|
value: string | number | bigint;
|
|
141
111
|
}> & {
|
|
142
112
|
length: number;
|
|
143
|
-
}
|
|
144
|
-
authority: {
|
|
145
|
-
whitelist: {
|
|
146
|
-
id: {
|
|
147
|
-
id: {
|
|
148
|
-
bytes: string
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
size: string | number | bigint
|
|
152
|
-
head: {
|
|
153
|
-
vec: Iterable<
|
|
113
|
+
}, string>;
|
|
114
|
+
authority: import("@mysten/sui/bcs").BcsStruct<{
|
|
115
|
+
whitelist: import("@mysten/sui/bcs").BcsStruct<{
|
|
116
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
117
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
118
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
119
|
+
}, string>;
|
|
120
|
+
}, string>;
|
|
121
|
+
size: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
122
|
+
head: import("@mysten/sui/bcs").BcsStruct<{
|
|
123
|
+
vec: import("@mysten/sui/bcs").BcsType<string[], Iterable<string> & {
|
|
154
124
|
length: number;
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
tail: {
|
|
158
|
-
vec: Iterable<
|
|
125
|
+
}, string>;
|
|
126
|
+
}, string>;
|
|
127
|
+
tail: import("@mysten/sui/bcs").BcsStruct<{
|
|
128
|
+
vec: import("@mysten/sui/bcs").BcsType<string[], Iterable<string> & {
|
|
159
129
|
length: number;
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
}>;
|
|
130
|
+
}, string>;
|
|
131
|
+
}, string>;
|
|
132
|
+
}, string>;
|
|
133
|
+
}, string>;
|
|
134
|
+
}, string>;
|
|
165
135
|
static fromFields(fields: Record<string, any>): BalancePool;
|
|
166
136
|
static fromFieldsWithTypes(item: FieldsWithTypes): BalancePool;
|
|
167
137
|
static fromBcs(data: Uint8Array): BalancePool;
|
|
@@ -231,43 +201,20 @@ export declare class SharedBalancePool implements StructClass {
|
|
|
231
201
|
static get r(): reified.StructClassReified<SharedBalancePool, SharedBalancePoolFields>;
|
|
232
202
|
static phantom(): PhantomReified<ToTypeStr<SharedBalancePool>>;
|
|
233
203
|
static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::balance_pool::SharedBalancePool">;
|
|
234
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
235
|
-
id: {
|
|
236
|
-
id: {
|
|
237
|
-
bytes: string
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
balance_infos: {
|
|
204
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
205
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
206
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
207
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
208
|
+
}, string>;
|
|
209
|
+
}, string>;
|
|
210
|
+
balance_infos: import("@mysten/sui/bcs").BcsType<{
|
|
241
211
|
token: {
|
|
242
212
|
name: {
|
|
243
213
|
bytes: number[];
|
|
244
214
|
};
|
|
245
215
|
};
|
|
246
216
|
value: string;
|
|
247
|
-
}[]
|
|
248
|
-
authority: {
|
|
249
|
-
whitelist: {
|
|
250
|
-
id: {
|
|
251
|
-
id: {
|
|
252
|
-
bytes: string;
|
|
253
|
-
};
|
|
254
|
-
};
|
|
255
|
-
size: string;
|
|
256
|
-
head: {
|
|
257
|
-
vec: any[];
|
|
258
|
-
};
|
|
259
|
-
tail: {
|
|
260
|
-
vec: any[];
|
|
261
|
-
};
|
|
262
|
-
};
|
|
263
|
-
};
|
|
264
|
-
}, {
|
|
265
|
-
id: {
|
|
266
|
-
id: {
|
|
267
|
-
bytes: string;
|
|
268
|
-
};
|
|
269
|
-
};
|
|
270
|
-
balance_infos: Iterable<{
|
|
217
|
+
}[], Iterable<{
|
|
271
218
|
token: {
|
|
272
219
|
name: {
|
|
273
220
|
bytes: Iterable<number> & {
|
|
@@ -278,28 +225,28 @@ export declare class SharedBalancePool implements StructClass {
|
|
|
278
225
|
value: string | number | bigint;
|
|
279
226
|
}> & {
|
|
280
227
|
length: number;
|
|
281
|
-
}
|
|
282
|
-
authority: {
|
|
283
|
-
whitelist: {
|
|
284
|
-
id: {
|
|
285
|
-
id: {
|
|
286
|
-
bytes: string
|
|
287
|
-
}
|
|
288
|
-
}
|
|
289
|
-
size: string | number | bigint
|
|
290
|
-
head: {
|
|
291
|
-
vec: Iterable<
|
|
228
|
+
}, string>;
|
|
229
|
+
authority: import("@mysten/sui/bcs").BcsStruct<{
|
|
230
|
+
whitelist: import("@mysten/sui/bcs").BcsStruct<{
|
|
231
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
232
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
233
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
234
|
+
}, string>;
|
|
235
|
+
}, string>;
|
|
236
|
+
size: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
237
|
+
head: import("@mysten/sui/bcs").BcsStruct<{
|
|
238
|
+
vec: import("@mysten/sui/bcs").BcsType<string[], Iterable<string> & {
|
|
292
239
|
length: number;
|
|
293
|
-
}
|
|
294
|
-
}
|
|
295
|
-
tail: {
|
|
296
|
-
vec: Iterable<
|
|
240
|
+
}, string>;
|
|
241
|
+
}, string>;
|
|
242
|
+
tail: import("@mysten/sui/bcs").BcsStruct<{
|
|
243
|
+
vec: import("@mysten/sui/bcs").BcsType<string[], Iterable<string> & {
|
|
297
244
|
length: number;
|
|
298
|
-
}
|
|
299
|
-
}
|
|
300
|
-
}
|
|
301
|
-
}
|
|
302
|
-
}>;
|
|
245
|
+
}, string>;
|
|
246
|
+
}, string>;
|
|
247
|
+
}, string>;
|
|
248
|
+
}, string>;
|
|
249
|
+
}, string>;
|
|
303
250
|
static fromFields(fields: Record<string, any>): SharedBalancePool;
|
|
304
251
|
static fromFieldsWithTypes(item: FieldsWithTypes): SharedBalancePool;
|
|
305
252
|
static fromBcs(data: Uint8Array): SharedBalancePool;
|