@typus/typus-perp-sdk 1.1.27 → 1.1.28-codegen
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/fetch.js +7 -7
- 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 +10 -18
- 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
|
@@ -37,35 +37,26 @@ export declare class ClaimProfitSharingEvent implements StructClass {
|
|
|
37
37
|
static get r(): reified.StructClassReified<ClaimProfitSharingEvent, ClaimProfitSharingEventFields>;
|
|
38
38
|
static phantom(): PhantomReified<ToTypeStr<ClaimProfitSharingEvent>>;
|
|
39
39
|
static get p(): reified.PhantomReified<"0xf5c7e61fd28d1ed38711f03e1c5ffc6c5b8435eff386132fc5822efe6d90b138::tails_staking::ClaimProfitSharingEvent">;
|
|
40
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
41
|
-
tails: string[]
|
|
42
|
-
profit_asset: {
|
|
43
|
-
name: {
|
|
44
|
-
bytes: number[];
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
log: string[];
|
|
48
|
-
bcs_padding: number[][];
|
|
49
|
-
}, {
|
|
50
|
-
tails: Iterable<string | number | bigint> & {
|
|
40
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
41
|
+
tails: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
51
42
|
length: number;
|
|
52
|
-
}
|
|
53
|
-
profit_asset: {
|
|
54
|
-
name: {
|
|
55
|
-
bytes: Iterable<number> & {
|
|
43
|
+
}, string>;
|
|
44
|
+
profit_asset: import("@mysten/sui/bcs").BcsStruct<{
|
|
45
|
+
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
46
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
56
47
|
length: number;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
log: Iterable<string | number | bigint> & {
|
|
48
|
+
}, string>;
|
|
49
|
+
}, string>;
|
|
50
|
+
}, string>;
|
|
51
|
+
log: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
61
52
|
length: number;
|
|
62
|
-
}
|
|
63
|
-
bcs_padding: Iterable<Iterable<number> & {
|
|
53
|
+
}, string>;
|
|
54
|
+
bcs_padding: import("@mysten/sui/bcs").BcsType<number[][], Iterable<Iterable<number> & {
|
|
64
55
|
length: number;
|
|
65
56
|
}> & {
|
|
66
57
|
length: number;
|
|
67
|
-
}
|
|
68
|
-
}>;
|
|
58
|
+
}, string>;
|
|
59
|
+
}, string>;
|
|
69
60
|
static fromFields(fields: Record<string, any>): ClaimProfitSharingEvent;
|
|
70
61
|
static fromFieldsWithTypes(item: FieldsWithTypes): ClaimProfitSharingEvent;
|
|
71
62
|
static fromBcs(data: Uint8Array): ClaimProfitSharingEvent;
|
|
@@ -117,23 +108,19 @@ export declare class DailySignUpEvent implements StructClass {
|
|
|
117
108
|
static get r(): reified.StructClassReified<DailySignUpEvent, DailySignUpEventFields>;
|
|
118
109
|
static phantom(): PhantomReified<ToTypeStr<DailySignUpEvent>>;
|
|
119
110
|
static get p(): reified.PhantomReified<"0xf5c7e61fd28d1ed38711f03e1c5ffc6c5b8435eff386132fc5822efe6d90b138::tails_staking::DailySignUpEvent">;
|
|
120
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
121
|
-
tails: string[]
|
|
122
|
-
log: string[];
|
|
123
|
-
bcs_padding: number[][];
|
|
124
|
-
}, {
|
|
125
|
-
tails: Iterable<string | number | bigint> & {
|
|
111
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
112
|
+
tails: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
126
113
|
length: number;
|
|
127
|
-
}
|
|
128
|
-
log: Iterable<string | number | bigint> & {
|
|
114
|
+
}, string>;
|
|
115
|
+
log: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
129
116
|
length: number;
|
|
130
|
-
}
|
|
131
|
-
bcs_padding: Iterable<Iterable<number> & {
|
|
117
|
+
}, string>;
|
|
118
|
+
bcs_padding: import("@mysten/sui/bcs").BcsType<number[][], Iterable<Iterable<number> & {
|
|
132
119
|
length: number;
|
|
133
120
|
}> & {
|
|
134
121
|
length: number;
|
|
135
|
-
}
|
|
136
|
-
}>;
|
|
122
|
+
}, string>;
|
|
123
|
+
}, string>;
|
|
137
124
|
static fromFields(fields: Record<string, any>): DailySignUpEvent;
|
|
138
125
|
static fromFieldsWithTypes(item: FieldsWithTypes): DailySignUpEvent;
|
|
139
126
|
static fromBcs(data: Uint8Array): DailySignUpEvent;
|
|
@@ -179,21 +166,17 @@ export declare class ExpDownEvent implements StructClass {
|
|
|
179
166
|
static get r(): reified.StructClassReified<ExpDownEvent, ExpDownEventFields>;
|
|
180
167
|
static phantom(): PhantomReified<ToTypeStr<ExpDownEvent>>;
|
|
181
168
|
static get p(): reified.PhantomReified<"0xea14501c603e8fcd907087d3aa7cb7adb4d7b3a7ea5e078cc9e8f05c67bc8034::tails_staking::ExpDownEvent">;
|
|
182
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
183
|
-
tails: string
|
|
184
|
-
log: string[]
|
|
185
|
-
bcs_padding: number[][];
|
|
186
|
-
}, {
|
|
187
|
-
tails: string;
|
|
188
|
-
log: Iterable<string | number | bigint> & {
|
|
169
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
170
|
+
tails: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
171
|
+
log: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
189
172
|
length: number;
|
|
190
|
-
}
|
|
191
|
-
bcs_padding: Iterable<Iterable<number> & {
|
|
173
|
+
}, string>;
|
|
174
|
+
bcs_padding: import("@mysten/sui/bcs").BcsType<number[][], Iterable<Iterable<number> & {
|
|
192
175
|
length: number;
|
|
193
176
|
}> & {
|
|
194
177
|
length: number;
|
|
195
|
-
}
|
|
196
|
-
}>;
|
|
178
|
+
}, string>;
|
|
179
|
+
}, string>;
|
|
197
180
|
static fromFields(fields: Record<string, any>): ExpDownEvent;
|
|
198
181
|
static fromFieldsWithTypes(item: FieldsWithTypes): ExpDownEvent;
|
|
199
182
|
static fromBcs(data: Uint8Array): ExpDownEvent;
|
|
@@ -239,21 +222,17 @@ export declare class ExpUpEvent implements StructClass {
|
|
|
239
222
|
static get r(): reified.StructClassReified<ExpUpEvent, ExpUpEventFields>;
|
|
240
223
|
static phantom(): PhantomReified<ToTypeStr<ExpUpEvent>>;
|
|
241
224
|
static get p(): reified.PhantomReified<"0xf5c7e61fd28d1ed38711f03e1c5ffc6c5b8435eff386132fc5822efe6d90b138::tails_staking::ExpUpEvent">;
|
|
242
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
243
|
-
tails: string
|
|
244
|
-
log: string[]
|
|
245
|
-
bcs_padding: number[][];
|
|
246
|
-
}, {
|
|
247
|
-
tails: string;
|
|
248
|
-
log: Iterable<string | number | bigint> & {
|
|
225
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
226
|
+
tails: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
227
|
+
log: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
249
228
|
length: number;
|
|
250
|
-
}
|
|
251
|
-
bcs_padding: Iterable<Iterable<number> & {
|
|
229
|
+
}, string>;
|
|
230
|
+
bcs_padding: import("@mysten/sui/bcs").BcsType<number[][], Iterable<Iterable<number> & {
|
|
252
231
|
length: number;
|
|
253
232
|
}> & {
|
|
254
233
|
length: number;
|
|
255
|
-
}
|
|
256
|
-
}>;
|
|
234
|
+
}, string>;
|
|
235
|
+
}, string>;
|
|
257
236
|
static fromFields(fields: Record<string, any>): ExpUpEvent;
|
|
258
237
|
static fromFieldsWithTypes(item: FieldsWithTypes): ExpUpEvent;
|
|
259
238
|
static fromBcs(data: Uint8Array): ExpUpEvent;
|
|
@@ -299,21 +278,17 @@ export declare class LevelUpEvent implements StructClass {
|
|
|
299
278
|
static get r(): reified.StructClassReified<LevelUpEvent, LevelUpEventFields>;
|
|
300
279
|
static phantom(): PhantomReified<ToTypeStr<LevelUpEvent>>;
|
|
301
280
|
static get p(): reified.PhantomReified<"0xf5c7e61fd28d1ed38711f03e1c5ffc6c5b8435eff386132fc5822efe6d90b138::tails_staking::LevelUpEvent">;
|
|
302
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
303
|
-
tails: string
|
|
304
|
-
log: string[]
|
|
305
|
-
bcs_padding: number[][];
|
|
306
|
-
}, {
|
|
307
|
-
tails: string;
|
|
308
|
-
log: Iterable<string | number | bigint> & {
|
|
281
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
282
|
+
tails: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
283
|
+
log: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
309
284
|
length: number;
|
|
310
|
-
}
|
|
311
|
-
bcs_padding: Iterable<Iterable<number> & {
|
|
285
|
+
}, string>;
|
|
286
|
+
bcs_padding: import("@mysten/sui/bcs").BcsType<number[][], Iterable<Iterable<number> & {
|
|
312
287
|
length: number;
|
|
313
288
|
}> & {
|
|
314
289
|
length: number;
|
|
315
|
-
}
|
|
316
|
-
}>;
|
|
290
|
+
}, string>;
|
|
291
|
+
}, string>;
|
|
317
292
|
static fromFields(fields: Record<string, any>): LevelUpEvent;
|
|
318
293
|
static fromFieldsWithTypes(item: FieldsWithTypes): LevelUpEvent;
|
|
319
294
|
static fromBcs(data: Uint8Array): LevelUpEvent;
|
|
@@ -359,31 +334,23 @@ export declare class RemoveProfitSharingEvent implements StructClass {
|
|
|
359
334
|
static get r(): reified.StructClassReified<RemoveProfitSharingEvent, RemoveProfitSharingEventFields>;
|
|
360
335
|
static phantom(): PhantomReified<ToTypeStr<RemoveProfitSharingEvent>>;
|
|
361
336
|
static get p(): reified.PhantomReified<"0xf5c7e61fd28d1ed38711f03e1c5ffc6c5b8435eff386132fc5822efe6d90b138::tails_staking::RemoveProfitSharingEvent">;
|
|
362
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
363
|
-
token: {
|
|
364
|
-
name: {
|
|
365
|
-
bytes: number[]
|
|
366
|
-
};
|
|
367
|
-
};
|
|
368
|
-
log: string[];
|
|
369
|
-
bcs_padding: number[][];
|
|
370
|
-
}, {
|
|
371
|
-
token: {
|
|
372
|
-
name: {
|
|
373
|
-
bytes: Iterable<number> & {
|
|
337
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
338
|
+
token: import("@mysten/sui/bcs").BcsStruct<{
|
|
339
|
+
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
340
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
374
341
|
length: number;
|
|
375
|
-
}
|
|
376
|
-
}
|
|
377
|
-
}
|
|
378
|
-
log: Iterable<string | number | bigint> & {
|
|
342
|
+
}, string>;
|
|
343
|
+
}, string>;
|
|
344
|
+
}, string>;
|
|
345
|
+
log: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
379
346
|
length: number;
|
|
380
|
-
}
|
|
381
|
-
bcs_padding: Iterable<Iterable<number> & {
|
|
347
|
+
}, string>;
|
|
348
|
+
bcs_padding: import("@mysten/sui/bcs").BcsType<number[][], Iterable<Iterable<number> & {
|
|
382
349
|
length: number;
|
|
383
350
|
}> & {
|
|
384
351
|
length: number;
|
|
385
|
-
}
|
|
386
|
-
}>;
|
|
352
|
+
}, string>;
|
|
353
|
+
}, string>;
|
|
387
354
|
static fromFields(fields: Record<string, any>): RemoveProfitSharingEvent;
|
|
388
355
|
static fromFieldsWithTypes(item: FieldsWithTypes): RemoveProfitSharingEvent;
|
|
389
356
|
static fromBcs(data: Uint8Array): RemoveProfitSharingEvent;
|
|
@@ -437,39 +404,29 @@ export declare class SetProfitSharingEvent implements StructClass {
|
|
|
437
404
|
static get r(): reified.StructClassReified<SetProfitSharingEvent, SetProfitSharingEventFields>;
|
|
438
405
|
static phantom(): PhantomReified<ToTypeStr<SetProfitSharingEvent>>;
|
|
439
406
|
static get p(): reified.PhantomReified<"0xf5c7e61fd28d1ed38711f03e1c5ffc6c5b8435eff386132fc5822efe6d90b138::tails_staking::SetProfitSharingEvent">;
|
|
440
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
441
|
-
token: {
|
|
442
|
-
name: {
|
|
443
|
-
bytes: number[]
|
|
444
|
-
};
|
|
445
|
-
};
|
|
446
|
-
level_profits: string[];
|
|
447
|
-
level_counts: string[];
|
|
448
|
-
log: string[];
|
|
449
|
-
bcs_padding: number[][];
|
|
450
|
-
}, {
|
|
451
|
-
token: {
|
|
452
|
-
name: {
|
|
453
|
-
bytes: Iterable<number> & {
|
|
407
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
408
|
+
token: import("@mysten/sui/bcs").BcsStruct<{
|
|
409
|
+
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
410
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
454
411
|
length: number;
|
|
455
|
-
}
|
|
456
|
-
}
|
|
457
|
-
}
|
|
458
|
-
level_profits: Iterable<string | number | bigint> & {
|
|
412
|
+
}, string>;
|
|
413
|
+
}, string>;
|
|
414
|
+
}, string>;
|
|
415
|
+
level_profits: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
459
416
|
length: number;
|
|
460
|
-
}
|
|
461
|
-
level_counts: Iterable<string | number | bigint> & {
|
|
417
|
+
}, string>;
|
|
418
|
+
level_counts: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
462
419
|
length: number;
|
|
463
|
-
}
|
|
464
|
-
log: Iterable<string | number | bigint> & {
|
|
420
|
+
}, string>;
|
|
421
|
+
log: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
465
422
|
length: number;
|
|
466
|
-
}
|
|
467
|
-
bcs_padding: Iterable<Iterable<number> & {
|
|
423
|
+
}, string>;
|
|
424
|
+
bcs_padding: import("@mysten/sui/bcs").BcsType<number[][], Iterable<Iterable<number> & {
|
|
468
425
|
length: number;
|
|
469
426
|
}> & {
|
|
470
427
|
length: number;
|
|
471
|
-
}
|
|
472
|
-
}>;
|
|
428
|
+
}, string>;
|
|
429
|
+
}, string>;
|
|
473
430
|
static fromFields(fields: Record<string, any>): SetProfitSharingEvent;
|
|
474
431
|
static fromFieldsWithTypes(item: FieldsWithTypes): SetProfitSharingEvent;
|
|
475
432
|
static fromBcs(data: Uint8Array): SetProfitSharingEvent;
|
|
@@ -523,21 +480,17 @@ export declare class StakeTailsEvent implements StructClass {
|
|
|
523
480
|
static get r(): reified.StructClassReified<StakeTailsEvent, StakeTailsEventFields>;
|
|
524
481
|
static phantom(): PhantomReified<ToTypeStr<StakeTailsEvent>>;
|
|
525
482
|
static get p(): reified.PhantomReified<"0xf5c7e61fd28d1ed38711f03e1c5ffc6c5b8435eff386132fc5822efe6d90b138::tails_staking::StakeTailsEvent">;
|
|
526
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
527
|
-
tails: string
|
|
528
|
-
log: string[]
|
|
529
|
-
bcs_padding: number[][];
|
|
530
|
-
}, {
|
|
531
|
-
tails: string;
|
|
532
|
-
log: Iterable<string | number | bigint> & {
|
|
483
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
484
|
+
tails: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
485
|
+
log: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
533
486
|
length: number;
|
|
534
|
-
}
|
|
535
|
-
bcs_padding: Iterable<Iterable<number> & {
|
|
487
|
+
}, string>;
|
|
488
|
+
bcs_padding: import("@mysten/sui/bcs").BcsType<number[][], Iterable<Iterable<number> & {
|
|
536
489
|
length: number;
|
|
537
490
|
}> & {
|
|
538
491
|
length: number;
|
|
539
|
-
}
|
|
540
|
-
}>;
|
|
492
|
+
}, string>;
|
|
493
|
+
}, string>;
|
|
541
494
|
static fromFields(fields: Record<string, any>): StakeTailsEvent;
|
|
542
495
|
static fromFieldsWithTypes(item: FieldsWithTypes): StakeTailsEvent;
|
|
543
496
|
static fromBcs(data: Uint8Array): StakeTailsEvent;
|
|
@@ -585,23 +538,18 @@ export declare class StakingInfo implements StructClass {
|
|
|
585
538
|
static get r(): reified.StructClassReified<StakingInfo, StakingInfoFields>;
|
|
586
539
|
static phantom(): PhantomReified<ToTypeStr<StakingInfo>>;
|
|
587
540
|
static get p(): reified.PhantomReified<"0xf5c7e61fd28d1ed38711f03e1c5ffc6c5b8435eff386132fc5822efe6d90b138::tails_staking::StakingInfo">;
|
|
588
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
589
|
-
user: string
|
|
590
|
-
tails: string[]
|
|
591
|
-
profits: string[];
|
|
592
|
-
u64_padding: string[];
|
|
593
|
-
}, {
|
|
594
|
-
user: string;
|
|
595
|
-
tails: Iterable<string | number | bigint> & {
|
|
541
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
542
|
+
user: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
543
|
+
tails: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
596
544
|
length: number;
|
|
597
|
-
}
|
|
598
|
-
profits: Iterable<string | number | bigint> & {
|
|
545
|
+
}, string>;
|
|
546
|
+
profits: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
599
547
|
length: number;
|
|
600
|
-
}
|
|
601
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
548
|
+
}, string>;
|
|
549
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
602
550
|
length: number;
|
|
603
|
-
}
|
|
604
|
-
}>;
|
|
551
|
+
}, string>;
|
|
552
|
+
}, string>;
|
|
605
553
|
static fromFields(fields: Record<string, any>): StakingInfo;
|
|
606
554
|
static fromFieldsWithTypes(item: FieldsWithTypes): StakingInfo;
|
|
607
555
|
static fromBcs(data: Uint8Array): StakingInfo;
|
|
@@ -659,119 +607,60 @@ export declare class TailsStakingRegistry implements StructClass {
|
|
|
659
607
|
static get r(): reified.StructClassReified<TailsStakingRegistry, TailsStakingRegistryFields>;
|
|
660
608
|
static phantom(): PhantomReified<ToTypeStr<TailsStakingRegistry>>;
|
|
661
609
|
static get p(): reified.PhantomReified<"0xf5c7e61fd28d1ed38711f03e1c5ffc6c5b8435eff386132fc5822efe6d90b138::tails_staking::TailsStakingRegistry">;
|
|
662
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
663
|
-
id: {
|
|
664
|
-
id: {
|
|
665
|
-
bytes: string
|
|
666
|
-
}
|
|
667
|
-
}
|
|
668
|
-
config: string[]
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
610
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
611
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
612
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
613
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
614
|
+
}, string>;
|
|
615
|
+
}, string>;
|
|
616
|
+
config: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
617
|
+
length: number;
|
|
618
|
+
}, string>;
|
|
619
|
+
tails_manager_cap: import("@mysten/sui/bcs").BcsStruct<{
|
|
620
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
621
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
622
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
623
|
+
}, string>;
|
|
624
|
+
}, string>;
|
|
625
|
+
}, string>;
|
|
626
|
+
tails: import("@mysten/sui/bcs").BcsStruct<{
|
|
627
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
628
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
629
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
630
|
+
}, string>;
|
|
631
|
+
}, string>;
|
|
632
|
+
size: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
633
|
+
}, string>;
|
|
634
|
+
tails_metadata: import("@mysten/sui/bcs").BcsStruct<{
|
|
635
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
636
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
637
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
638
|
+
}, string>;
|
|
639
|
+
}, string>;
|
|
640
|
+
size: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
641
|
+
}, string>;
|
|
642
|
+
staking_infos: import("@mysten/sui/bcs").BcsStruct<{
|
|
643
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
644
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
645
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
646
|
+
}, string>;
|
|
647
|
+
}, string>;
|
|
648
|
+
element_type: import("@mysten/sui/bcs").BcsStruct<{
|
|
649
|
+
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
650
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
651
|
+
length: number;
|
|
652
|
+
}, string>;
|
|
653
|
+
}, string>;
|
|
654
|
+
}, string>;
|
|
655
|
+
slice_idx: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
656
|
+
slice_size: import("@mysten/sui/bcs").BcsType<number, number, "u32">;
|
|
657
|
+
length: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
658
|
+
}, string>;
|
|
659
|
+
profit_assets: import("@mysten/sui/bcs").BcsType<{
|
|
708
660
|
name: {
|
|
709
661
|
bytes: number[];
|
|
710
662
|
};
|
|
711
|
-
}[]
|
|
712
|
-
transfer_policy: {
|
|
713
|
-
id: {
|
|
714
|
-
id: {
|
|
715
|
-
bytes: string;
|
|
716
|
-
};
|
|
717
|
-
};
|
|
718
|
-
balance: {
|
|
719
|
-
value: string;
|
|
720
|
-
};
|
|
721
|
-
rules: {
|
|
722
|
-
contents: any[];
|
|
723
|
-
};
|
|
724
|
-
};
|
|
725
|
-
}, {
|
|
726
|
-
id: {
|
|
727
|
-
id: {
|
|
728
|
-
bytes: string;
|
|
729
|
-
};
|
|
730
|
-
};
|
|
731
|
-
config: Iterable<string | number | bigint> & {
|
|
732
|
-
length: number;
|
|
733
|
-
};
|
|
734
|
-
tails_manager_cap: {
|
|
735
|
-
id: {
|
|
736
|
-
id: {
|
|
737
|
-
bytes: string;
|
|
738
|
-
};
|
|
739
|
-
};
|
|
740
|
-
};
|
|
741
|
-
tails: {
|
|
742
|
-
id: {
|
|
743
|
-
id: {
|
|
744
|
-
bytes: string;
|
|
745
|
-
};
|
|
746
|
-
};
|
|
747
|
-
size: string | number | bigint;
|
|
748
|
-
};
|
|
749
|
-
tails_metadata: {
|
|
750
|
-
id: {
|
|
751
|
-
id: {
|
|
752
|
-
bytes: string;
|
|
753
|
-
};
|
|
754
|
-
};
|
|
755
|
-
size: string | number | bigint;
|
|
756
|
-
};
|
|
757
|
-
staking_infos: {
|
|
758
|
-
id: {
|
|
759
|
-
id: {
|
|
760
|
-
bytes: string;
|
|
761
|
-
};
|
|
762
|
-
};
|
|
763
|
-
element_type: {
|
|
764
|
-
name: {
|
|
765
|
-
bytes: Iterable<number> & {
|
|
766
|
-
length: number;
|
|
767
|
-
};
|
|
768
|
-
};
|
|
769
|
-
};
|
|
770
|
-
slice_idx: string | number | bigint;
|
|
771
|
-
slice_size: number;
|
|
772
|
-
length: string | number | bigint;
|
|
773
|
-
};
|
|
774
|
-
profit_assets: Iterable<{
|
|
663
|
+
}[], Iterable<{
|
|
775
664
|
name: {
|
|
776
665
|
bytes: Iterable<number> & {
|
|
777
666
|
length: number;
|
|
@@ -779,23 +668,33 @@ export declare class TailsStakingRegistry implements StructClass {
|
|
|
779
668
|
};
|
|
780
669
|
}> & {
|
|
781
670
|
length: number;
|
|
782
|
-
}
|
|
783
|
-
transfer_policy: {
|
|
784
|
-
id: {
|
|
785
|
-
id: {
|
|
786
|
-
bytes: string
|
|
787
|
-
}
|
|
788
|
-
}
|
|
789
|
-
balance: {
|
|
790
|
-
value: string | number | bigint
|
|
791
|
-
}
|
|
792
|
-
rules: {
|
|
793
|
-
contents:
|
|
671
|
+
}, string>;
|
|
672
|
+
transfer_policy: import("@mysten/sui/bcs").BcsStruct<{
|
|
673
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
674
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
675
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
676
|
+
}, string>;
|
|
677
|
+
}, string>;
|
|
678
|
+
balance: import("@mysten/sui/bcs").BcsStruct<{
|
|
679
|
+
value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
680
|
+
}, string>;
|
|
681
|
+
rules: import("@mysten/sui/bcs").BcsStruct<{
|
|
682
|
+
contents: import("@mysten/sui/bcs").BcsType<{
|
|
683
|
+
name: {
|
|
684
|
+
bytes: number[];
|
|
685
|
+
};
|
|
686
|
+
}[], Iterable<{
|
|
687
|
+
name: {
|
|
688
|
+
bytes: Iterable<number> & {
|
|
689
|
+
length: number;
|
|
690
|
+
};
|
|
691
|
+
};
|
|
692
|
+
}> & {
|
|
794
693
|
length: number;
|
|
795
|
-
}
|
|
796
|
-
}
|
|
797
|
-
}
|
|
798
|
-
}>;
|
|
694
|
+
}, string>;
|
|
695
|
+
}, string>;
|
|
696
|
+
}, string>;
|
|
697
|
+
}, string>;
|
|
799
698
|
static fromFields(fields: Record<string, any>): TailsStakingRegistry;
|
|
800
699
|
static fromFieldsWithTypes(item: FieldsWithTypes): TailsStakingRegistry;
|
|
801
700
|
static fromBcs(data: Uint8Array): TailsStakingRegistry;
|
|
@@ -909,23 +808,18 @@ export declare class TransferTailsEvent implements StructClass {
|
|
|
909
808
|
static get r(): reified.StructClassReified<TransferTailsEvent, TransferTailsEventFields>;
|
|
910
809
|
static phantom(): PhantomReified<ToTypeStr<TransferTailsEvent>>;
|
|
911
810
|
static get p(): reified.PhantomReified<"0xf5c7e61fd28d1ed38711f03e1c5ffc6c5b8435eff386132fc5822efe6d90b138::tails_staking::TransferTailsEvent">;
|
|
912
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
913
|
-
tails: string
|
|
914
|
-
recipient: string
|
|
915
|
-
log: string[]
|
|
916
|
-
bcs_padding: number[][];
|
|
917
|
-
}, {
|
|
918
|
-
tails: string;
|
|
919
|
-
recipient: string;
|
|
920
|
-
log: Iterable<string | number | bigint> & {
|
|
811
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
812
|
+
tails: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
813
|
+
recipient: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
814
|
+
log: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
921
815
|
length: number;
|
|
922
|
-
}
|
|
923
|
-
bcs_padding: Iterable<Iterable<number> & {
|
|
816
|
+
}, string>;
|
|
817
|
+
bcs_padding: import("@mysten/sui/bcs").BcsType<number[][], Iterable<Iterable<number> & {
|
|
924
818
|
length: number;
|
|
925
819
|
}> & {
|
|
926
820
|
length: number;
|
|
927
|
-
}
|
|
928
|
-
}>;
|
|
821
|
+
}, string>;
|
|
822
|
+
}, string>;
|
|
929
823
|
static fromFields(fields: Record<string, any>): TransferTailsEvent;
|
|
930
824
|
static fromFieldsWithTypes(item: FieldsWithTypes): TransferTailsEvent;
|
|
931
825
|
static fromBcs(data: Uint8Array): TransferTailsEvent;
|
|
@@ -973,21 +867,17 @@ export declare class UnstakeTailsEvent implements StructClass {
|
|
|
973
867
|
static get r(): reified.StructClassReified<UnstakeTailsEvent, UnstakeTailsEventFields>;
|
|
974
868
|
static phantom(): PhantomReified<ToTypeStr<UnstakeTailsEvent>>;
|
|
975
869
|
static get p(): reified.PhantomReified<"0xf5c7e61fd28d1ed38711f03e1c5ffc6c5b8435eff386132fc5822efe6d90b138::tails_staking::UnstakeTailsEvent">;
|
|
976
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
977
|
-
tails: string
|
|
978
|
-
log: string[]
|
|
979
|
-
bcs_padding: number[][];
|
|
980
|
-
}, {
|
|
981
|
-
tails: string;
|
|
982
|
-
log: Iterable<string | number | bigint> & {
|
|
870
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
871
|
+
tails: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
872
|
+
log: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
983
873
|
length: number;
|
|
984
|
-
}
|
|
985
|
-
bcs_padding: Iterable<Iterable<number> & {
|
|
874
|
+
}, string>;
|
|
875
|
+
bcs_padding: import("@mysten/sui/bcs").BcsType<number[][], Iterable<Iterable<number> & {
|
|
986
876
|
length: number;
|
|
987
877
|
}> & {
|
|
988
878
|
length: number;
|
|
989
|
-
}
|
|
990
|
-
}>;
|
|
879
|
+
}, string>;
|
|
880
|
+
}, string>;
|
|
991
881
|
static fromFields(fields: Record<string, any>): UnstakeTailsEvent;
|
|
992
882
|
static fromFieldsWithTypes(item: FieldsWithTypes): UnstakeTailsEvent;
|
|
993
883
|
static fromBcs(data: Uint8Array): UnstakeTailsEvent;
|
|
@@ -1033,21 +923,17 @@ export declare class UpdateTailsStakingRegistryConfigEvent implements StructClas
|
|
|
1033
923
|
static get r(): reified.StructClassReified<UpdateTailsStakingRegistryConfigEvent, UpdateTailsStakingRegistryConfigEventFields>;
|
|
1034
924
|
static phantom(): PhantomReified<ToTypeStr<UpdateTailsStakingRegistryConfigEvent>>;
|
|
1035
925
|
static get p(): reified.PhantomReified<"0xf5c7e61fd28d1ed38711f03e1c5ffc6c5b8435eff386132fc5822efe6d90b138::tails_staking::UpdateTailsStakingRegistryConfigEvent">;
|
|
1036
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
1037
|
-
index: string
|
|
1038
|
-
log: string[]
|
|
1039
|
-
bcs_padding: number[][];
|
|
1040
|
-
}, {
|
|
1041
|
-
index: string | number | bigint;
|
|
1042
|
-
log: Iterable<string | number | bigint> & {
|
|
926
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
927
|
+
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
928
|
+
log: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
1043
929
|
length: number;
|
|
1044
|
-
}
|
|
1045
|
-
bcs_padding: Iterable<Iterable<number> & {
|
|
930
|
+
}, string>;
|
|
931
|
+
bcs_padding: import("@mysten/sui/bcs").BcsType<number[][], Iterable<Iterable<number> & {
|
|
1046
932
|
length: number;
|
|
1047
933
|
}> & {
|
|
1048
934
|
length: number;
|
|
1049
|
-
}
|
|
1050
|
-
}>;
|
|
935
|
+
}, string>;
|
|
936
|
+
}, string>;
|
|
1051
937
|
static fromFields(fields: Record<string, any>): UpdateTailsStakingRegistryConfigEvent;
|
|
1052
938
|
static fromFieldsWithTypes(item: FieldsWithTypes): UpdateTailsStakingRegistryConfigEvent;
|
|
1053
939
|
static fromBcs(data: Uint8Array): UpdateTailsStakingRegistryConfigEvent;
|