@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
|
@@ -33,19 +33,13 @@ export declare class ExpDownEvent implements StructClass {
|
|
|
33
33
|
static get r(): reified.StructClassReified<ExpDownEvent, ExpDownEventFields>;
|
|
34
34
|
static phantom(): PhantomReified<ToTypeStr<ExpDownEvent>>;
|
|
35
35
|
static get p(): reified.PhantomReified<"0x153ead7b2ccad1483458d41f0daffa35965d89960d1024a4883ba52fb18332b3::typus_nft::ExpDownEvent">;
|
|
36
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
37
|
-
nft_id: {
|
|
38
|
-
bytes: string
|
|
39
|
-
}
|
|
40
|
-
number: string
|
|
41
|
-
exp_remove: string
|
|
42
|
-
},
|
|
43
|
-
nft_id: {
|
|
44
|
-
bytes: string;
|
|
45
|
-
};
|
|
46
|
-
number: string | number | bigint;
|
|
47
|
-
exp_remove: string | number | bigint;
|
|
48
|
-
}>;
|
|
36
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
37
|
+
nft_id: import("@mysten/sui/bcs").BcsStruct<{
|
|
38
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
39
|
+
}, string>;
|
|
40
|
+
number: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
41
|
+
exp_remove: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
42
|
+
}, string>;
|
|
49
43
|
static fromFields(fields: Record<string, any>): ExpDownEvent;
|
|
50
44
|
static fromFieldsWithTypes(item: FieldsWithTypes): ExpDownEvent;
|
|
51
45
|
static fromBcs(data: Uint8Array): ExpDownEvent;
|
|
@@ -91,19 +85,13 @@ export declare class ExpUpEvent implements StructClass {
|
|
|
91
85
|
static get r(): reified.StructClassReified<ExpUpEvent, ExpUpEventFields>;
|
|
92
86
|
static phantom(): PhantomReified<ToTypeStr<ExpUpEvent>>;
|
|
93
87
|
static get p(): reified.PhantomReified<"0xe227fb985a005a4e6e87856f59862ba0e0337b7fe6d587cab588c8436ba05743::typus_nft::ExpUpEvent">;
|
|
94
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
95
|
-
nft_id: {
|
|
96
|
-
bytes: string
|
|
97
|
-
}
|
|
98
|
-
number: string
|
|
99
|
-
exp_earn: string
|
|
100
|
-
},
|
|
101
|
-
nft_id: {
|
|
102
|
-
bytes: string;
|
|
103
|
-
};
|
|
104
|
-
number: string | number | bigint;
|
|
105
|
-
exp_earn: string | number | bigint;
|
|
106
|
-
}>;
|
|
88
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
89
|
+
nft_id: import("@mysten/sui/bcs").BcsStruct<{
|
|
90
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
91
|
+
}, string>;
|
|
92
|
+
number: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
93
|
+
exp_earn: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
94
|
+
}, string>;
|
|
107
95
|
static fromFields(fields: Record<string, any>): ExpUpEvent;
|
|
108
96
|
static fromFieldsWithTypes(item: FieldsWithTypes): ExpUpEvent;
|
|
109
97
|
static fromBcs(data: Uint8Array): ExpUpEvent;
|
|
@@ -149,19 +137,13 @@ export declare class FirstBidEvent implements StructClass {
|
|
|
149
137
|
static get r(): reified.StructClassReified<FirstBidEvent, FirstBidEventFields>;
|
|
150
138
|
static phantom(): PhantomReified<ToTypeStr<FirstBidEvent>>;
|
|
151
139
|
static get p(): reified.PhantomReified<"0xe227fb985a005a4e6e87856f59862ba0e0337b7fe6d587cab588c8436ba05743::typus_nft::FirstBidEvent">;
|
|
152
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
153
|
-
nft_id: {
|
|
154
|
-
bytes: string
|
|
155
|
-
}
|
|
156
|
-
number: string
|
|
157
|
-
exp_earn: string
|
|
158
|
-
},
|
|
159
|
-
nft_id: {
|
|
160
|
-
bytes: string;
|
|
161
|
-
};
|
|
162
|
-
number: string | number | bigint;
|
|
163
|
-
exp_earn: string | number | bigint;
|
|
164
|
-
}>;
|
|
140
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
141
|
+
nft_id: import("@mysten/sui/bcs").BcsStruct<{
|
|
142
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
143
|
+
}, string>;
|
|
144
|
+
number: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
145
|
+
exp_earn: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
146
|
+
}, string>;
|
|
165
147
|
static fromFields(fields: Record<string, any>): FirstBidEvent;
|
|
166
148
|
static fromFieldsWithTypes(item: FieldsWithTypes): FirstBidEvent;
|
|
167
149
|
static fromBcs(data: Uint8Array): FirstBidEvent;
|
|
@@ -207,19 +189,13 @@ export declare class FirstDepositEvent implements StructClass {
|
|
|
207
189
|
static get r(): reified.StructClassReified<FirstDepositEvent, FirstDepositEventFields>;
|
|
208
190
|
static phantom(): PhantomReified<ToTypeStr<FirstDepositEvent>>;
|
|
209
191
|
static get p(): reified.PhantomReified<"0xe227fb985a005a4e6e87856f59862ba0e0337b7fe6d587cab588c8436ba05743::typus_nft::FirstDepositEvent">;
|
|
210
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
211
|
-
nft_id: {
|
|
212
|
-
bytes: string
|
|
213
|
-
}
|
|
214
|
-
number: string
|
|
215
|
-
exp_earn: string
|
|
216
|
-
},
|
|
217
|
-
nft_id: {
|
|
218
|
-
bytes: string;
|
|
219
|
-
};
|
|
220
|
-
number: string | number | bigint;
|
|
221
|
-
exp_earn: string | number | bigint;
|
|
222
|
-
}>;
|
|
192
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
193
|
+
nft_id: import("@mysten/sui/bcs").BcsStruct<{
|
|
194
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
195
|
+
}, string>;
|
|
196
|
+
number: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
197
|
+
exp_earn: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
198
|
+
}, string>;
|
|
223
199
|
static fromFields(fields: Record<string, any>): FirstDepositEvent;
|
|
224
200
|
static fromFieldsWithTypes(item: FieldsWithTypes): FirstDepositEvent;
|
|
225
201
|
static fromBcs(data: Uint8Array): FirstDepositEvent;
|
|
@@ -263,17 +239,12 @@ export declare class LevelUpEvent implements StructClass {
|
|
|
263
239
|
static get r(): reified.StructClassReified<LevelUpEvent, LevelUpEventFields>;
|
|
264
240
|
static phantom(): PhantomReified<ToTypeStr<LevelUpEvent>>;
|
|
265
241
|
static get p(): reified.PhantomReified<"0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196::typus_nft::LevelUpEvent">;
|
|
266
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
267
|
-
nft_id: {
|
|
268
|
-
bytes: string
|
|
269
|
-
}
|
|
270
|
-
level: string
|
|
271
|
-
},
|
|
272
|
-
nft_id: {
|
|
273
|
-
bytes: string;
|
|
274
|
-
};
|
|
275
|
-
level: string | number | bigint;
|
|
276
|
-
}>;
|
|
242
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
243
|
+
nft_id: import("@mysten/sui/bcs").BcsStruct<{
|
|
244
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
245
|
+
}, string>;
|
|
246
|
+
level: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
247
|
+
}, string>;
|
|
277
248
|
static fromFields(fields: Record<string, any>): LevelUpEvent;
|
|
278
249
|
static fromFieldsWithTypes(item: FieldsWithTypes): LevelUpEvent;
|
|
279
250
|
static fromBcs(data: Uint8Array): LevelUpEvent;
|
|
@@ -313,19 +284,13 @@ export declare class ManagerCap implements StructClass {
|
|
|
313
284
|
static get r(): reified.StructClassReified<ManagerCap, ManagerCapFields>;
|
|
314
285
|
static phantom(): PhantomReified<ToTypeStr<ManagerCap>>;
|
|
315
286
|
static get p(): reified.PhantomReified<"0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196::typus_nft::ManagerCap">;
|
|
316
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
317
|
-
id: {
|
|
318
|
-
id: {
|
|
319
|
-
bytes: string
|
|
320
|
-
}
|
|
321
|
-
}
|
|
322
|
-
},
|
|
323
|
-
id: {
|
|
324
|
-
id: {
|
|
325
|
-
bytes: string;
|
|
326
|
-
};
|
|
327
|
-
};
|
|
328
|
-
}>;
|
|
287
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
288
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
289
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
290
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
291
|
+
}, string>;
|
|
292
|
+
}, string>;
|
|
293
|
+
}, string>;
|
|
329
294
|
static fromFields(fields: Record<string, any>): ManagerCap;
|
|
330
295
|
static fromFieldsWithTypes(item: FieldsWithTypes): ManagerCap;
|
|
331
296
|
static fromBcs(data: Uint8Array): ManagerCap;
|
|
@@ -375,57 +340,37 @@ export declare class MintEvent implements StructClass {
|
|
|
375
340
|
static get r(): reified.StructClassReified<MintEvent, MintEventFields>;
|
|
376
341
|
static phantom(): PhantomReified<ToTypeStr<MintEvent>>;
|
|
377
342
|
static get p(): reified.PhantomReified<"0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196::typus_nft::MintEvent">;
|
|
378
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
379
|
-
id: {
|
|
380
|
-
bytes: string
|
|
381
|
-
}
|
|
382
|
-
name: {
|
|
383
|
-
bytes: number[]
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
343
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
344
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
345
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
346
|
+
}, string>;
|
|
347
|
+
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
348
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
349
|
+
length: number;
|
|
350
|
+
}, string>;
|
|
351
|
+
}, string>;
|
|
352
|
+
description: import("@mysten/sui/bcs").BcsStruct<{
|
|
353
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
354
|
+
length: number;
|
|
355
|
+
}, string>;
|
|
356
|
+
}, string>;
|
|
357
|
+
number: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
358
|
+
url: import("@mysten/sui/bcs").BcsStruct<{
|
|
359
|
+
url: import("@mysten/sui/bcs").BcsStruct<{
|
|
360
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
361
|
+
length: number;
|
|
362
|
+
}, string>;
|
|
363
|
+
}, string>;
|
|
364
|
+
}, string>;
|
|
365
|
+
attributes: import("@mysten/sui/bcs").BcsStruct<{
|
|
366
|
+
contents: import("@mysten/sui/bcs").BcsType<{
|
|
396
367
|
key: {
|
|
397
368
|
bytes: number[];
|
|
398
369
|
};
|
|
399
370
|
value: {
|
|
400
371
|
bytes: number[];
|
|
401
372
|
};
|
|
402
|
-
}[]
|
|
403
|
-
};
|
|
404
|
-
sender: string;
|
|
405
|
-
}, {
|
|
406
|
-
id: {
|
|
407
|
-
bytes: string;
|
|
408
|
-
};
|
|
409
|
-
name: {
|
|
410
|
-
bytes: Iterable<number> & {
|
|
411
|
-
length: number;
|
|
412
|
-
};
|
|
413
|
-
};
|
|
414
|
-
description: {
|
|
415
|
-
bytes: Iterable<number> & {
|
|
416
|
-
length: number;
|
|
417
|
-
};
|
|
418
|
-
};
|
|
419
|
-
number: string | number | bigint;
|
|
420
|
-
url: {
|
|
421
|
-
url: {
|
|
422
|
-
bytes: Iterable<number> & {
|
|
423
|
-
length: number;
|
|
424
|
-
};
|
|
425
|
-
};
|
|
426
|
-
};
|
|
427
|
-
attributes: {
|
|
428
|
-
contents: Iterable<{
|
|
373
|
+
}[], Iterable<{
|
|
429
374
|
key: {
|
|
430
375
|
bytes: Iterable<number> & {
|
|
431
376
|
length: number;
|
|
@@ -438,10 +383,10 @@ export declare class MintEvent implements StructClass {
|
|
|
438
383
|
};
|
|
439
384
|
}> & {
|
|
440
385
|
length: number;
|
|
441
|
-
}
|
|
442
|
-
}
|
|
443
|
-
sender: string
|
|
444
|
-
}>;
|
|
386
|
+
}, string>;
|
|
387
|
+
}, string>;
|
|
388
|
+
sender: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
389
|
+
}, string>;
|
|
445
390
|
static fromFields(fields: Record<string, any>): MintEvent;
|
|
446
391
|
static fromFieldsWithTypes(item: FieldsWithTypes): MintEvent;
|
|
447
392
|
static fromBcs(data: Uint8Array): MintEvent;
|
|
@@ -503,17 +448,12 @@ export declare class NewManagerCapEvent implements StructClass {
|
|
|
503
448
|
static get r(): reified.StructClassReified<NewManagerCapEvent, NewManagerCapEventFields>;
|
|
504
449
|
static phantom(): PhantomReified<ToTypeStr<NewManagerCapEvent>>;
|
|
505
450
|
static get p(): reified.PhantomReified<"0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196::typus_nft::NewManagerCapEvent">;
|
|
506
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
507
|
-
id: {
|
|
508
|
-
bytes: string
|
|
509
|
-
}
|
|
510
|
-
sender: string
|
|
511
|
-
},
|
|
512
|
-
id: {
|
|
513
|
-
bytes: string;
|
|
514
|
-
};
|
|
515
|
-
sender: string;
|
|
516
|
-
}>;
|
|
451
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
452
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
453
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
454
|
+
}, string>;
|
|
455
|
+
sender: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
456
|
+
}, string>;
|
|
517
457
|
static fromFields(fields: Record<string, any>): NewManagerCapEvent;
|
|
518
458
|
static fromFieldsWithTypes(item: FieldsWithTypes): NewManagerCapEvent;
|
|
519
459
|
static fromBcs(data: Uint8Array): NewManagerCapEvent;
|
|
@@ -561,45 +501,26 @@ export declare class Pool implements StructClass {
|
|
|
561
501
|
static get r(): reified.StructClassReified<Pool, PoolFields>;
|
|
562
502
|
static phantom(): PhantomReified<ToTypeStr<Pool>>;
|
|
563
503
|
static get p(): reified.PhantomReified<"0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196::typus_nft::Pool">;
|
|
564
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
565
|
-
id: {
|
|
566
|
-
id: {
|
|
567
|
-
bytes: string
|
|
568
|
-
}
|
|
569
|
-
}
|
|
570
|
-
tails: {
|
|
571
|
-
contents: {
|
|
572
|
-
id: {
|
|
573
|
-
id: {
|
|
574
|
-
bytes: string
|
|
575
|
-
}
|
|
576
|
-
}
|
|
577
|
-
size: string
|
|
578
|
-
}
|
|
579
|
-
}
|
|
580
|
-
num: string
|
|
581
|
-
is_live: boolean
|
|
582
|
-
start_ms: string
|
|
583
|
-
},
|
|
584
|
-
id: {
|
|
585
|
-
id: {
|
|
586
|
-
bytes: string;
|
|
587
|
-
};
|
|
588
|
-
};
|
|
589
|
-
tails: {
|
|
590
|
-
contents: {
|
|
591
|
-
id: {
|
|
592
|
-
id: {
|
|
593
|
-
bytes: string;
|
|
594
|
-
};
|
|
595
|
-
};
|
|
596
|
-
size: string | number | bigint;
|
|
597
|
-
};
|
|
598
|
-
};
|
|
599
|
-
num: string | number | bigint;
|
|
600
|
-
is_live: boolean;
|
|
601
|
-
start_ms: string | number | bigint;
|
|
602
|
-
}>;
|
|
504
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
505
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
506
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
507
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
508
|
+
}, string>;
|
|
509
|
+
}, string>;
|
|
510
|
+
tails: import("@mysten/sui/bcs").BcsStruct<{
|
|
511
|
+
contents: import("@mysten/sui/bcs").BcsStruct<{
|
|
512
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
513
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
514
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
515
|
+
}, string>;
|
|
516
|
+
}, string>;
|
|
517
|
+
size: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
518
|
+
}, string>;
|
|
519
|
+
}, string>;
|
|
520
|
+
num: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
521
|
+
is_live: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
|
|
522
|
+
start_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
523
|
+
}, string>;
|
|
603
524
|
static fromFields(fields: Record<string, any>): Pool;
|
|
604
525
|
static fromFieldsWithTypes(item: FieldsWithTypes): Pool;
|
|
605
526
|
static fromBcs(data: Uint8Array): Pool;
|
|
@@ -659,53 +580,34 @@ export declare class Royalty implements StructClass {
|
|
|
659
580
|
static get r(): reified.StructClassReified<Royalty, RoyaltyFields>;
|
|
660
581
|
static phantom(): PhantomReified<ToTypeStr<Royalty>>;
|
|
661
582
|
static get p(): reified.PhantomReified<"0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196::typus_nft::Royalty">;
|
|
662
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
663
|
-
id: {
|
|
664
|
-
id: {
|
|
665
|
-
bytes: string
|
|
666
|
-
}
|
|
667
|
-
}
|
|
668
|
-
recipients: {
|
|
669
|
-
contents: {
|
|
583
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
584
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
585
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
586
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
587
|
+
}, string>;
|
|
588
|
+
}, string>;
|
|
589
|
+
recipients: import("@mysten/sui/bcs").BcsStruct<{
|
|
590
|
+
contents: import("@mysten/sui/bcs").BcsType<{
|
|
670
591
|
key: string;
|
|
671
592
|
value: string;
|
|
672
|
-
}[]
|
|
673
|
-
};
|
|
674
|
-
policy_cap: {
|
|
675
|
-
id: {
|
|
676
|
-
id: {
|
|
677
|
-
bytes: string;
|
|
678
|
-
};
|
|
679
|
-
};
|
|
680
|
-
policy_id: {
|
|
681
|
-
bytes: string;
|
|
682
|
-
};
|
|
683
|
-
};
|
|
684
|
-
}, {
|
|
685
|
-
id: {
|
|
686
|
-
id: {
|
|
687
|
-
bytes: string;
|
|
688
|
-
};
|
|
689
|
-
};
|
|
690
|
-
recipients: {
|
|
691
|
-
contents: Iterable<{
|
|
593
|
+
}[], Iterable<{
|
|
692
594
|
key: string;
|
|
693
595
|
value: string | number | bigint;
|
|
694
596
|
}> & {
|
|
695
597
|
length: number;
|
|
696
|
-
}
|
|
697
|
-
}
|
|
698
|
-
policy_cap: {
|
|
699
|
-
id: {
|
|
700
|
-
id: {
|
|
701
|
-
bytes: string
|
|
702
|
-
}
|
|
703
|
-
}
|
|
704
|
-
policy_id: {
|
|
705
|
-
bytes: string
|
|
706
|
-
}
|
|
707
|
-
}
|
|
708
|
-
}>;
|
|
598
|
+
}, string>;
|
|
599
|
+
}, string>;
|
|
600
|
+
policy_cap: import("@mysten/sui/bcs").BcsStruct<{
|
|
601
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
602
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
603
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
604
|
+
}, string>;
|
|
605
|
+
}, string>;
|
|
606
|
+
policy_id: import("@mysten/sui/bcs").BcsStruct<{
|
|
607
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
608
|
+
}, string>;
|
|
609
|
+
}, string>;
|
|
610
|
+
}, string>;
|
|
709
611
|
static fromFields(fields: Record<string, any>): Royalty;
|
|
710
612
|
static fromFieldsWithTypes(item: FieldsWithTypes): Royalty;
|
|
711
613
|
static fromBcs(data: Uint8Array): Royalty;
|
|
@@ -765,25 +667,20 @@ export declare class RoyaltyUpdateEvent implements StructClass {
|
|
|
765
667
|
static get r(): reified.StructClassReified<RoyaltyUpdateEvent, RoyaltyUpdateEventFields>;
|
|
766
668
|
static phantom(): PhantomReified<ToTypeStr<RoyaltyUpdateEvent>>;
|
|
767
669
|
static get p(): reified.PhantomReified<"0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196::typus_nft::RoyaltyUpdateEvent">;
|
|
768
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
769
|
-
sender: string
|
|
770
|
-
recipients: {
|
|
771
|
-
contents: {
|
|
670
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
671
|
+
sender: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
672
|
+
recipients: import("@mysten/sui/bcs").BcsStruct<{
|
|
673
|
+
contents: import("@mysten/sui/bcs").BcsType<{
|
|
772
674
|
key: string;
|
|
773
675
|
value: string;
|
|
774
|
-
}[]
|
|
775
|
-
};
|
|
776
|
-
}, {
|
|
777
|
-
sender: string;
|
|
778
|
-
recipients: {
|
|
779
|
-
contents: Iterable<{
|
|
676
|
+
}[], Iterable<{
|
|
780
677
|
key: string;
|
|
781
678
|
value: string | number | bigint;
|
|
782
679
|
}> & {
|
|
783
680
|
length: number;
|
|
784
|
-
}
|
|
785
|
-
}
|
|
786
|
-
}>;
|
|
681
|
+
}, string>;
|
|
682
|
+
}, string>;
|
|
683
|
+
}, string>;
|
|
787
684
|
static fromFields(fields: Record<string, any>): RoyaltyUpdateEvent;
|
|
788
685
|
static fromFieldsWithTypes(item: FieldsWithTypes): RoyaltyUpdateEvent;
|
|
789
686
|
static fromBcs(data: Uint8Array): RoyaltyUpdateEvent;
|
|
@@ -833,11 +730,9 @@ export declare class TYPUS_NFT implements StructClass {
|
|
|
833
730
|
static get r(): reified.StructClassReified<TYPUS_NFT, TYPUS_NFTFields>;
|
|
834
731
|
static phantom(): PhantomReified<ToTypeStr<TYPUS_NFT>>;
|
|
835
732
|
static get p(): reified.PhantomReified<"0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196::typus_nft::TYPUS_NFT">;
|
|
836
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
837
|
-
dummy_field: boolean
|
|
838
|
-
},
|
|
839
|
-
dummy_field: boolean;
|
|
840
|
-
}>;
|
|
733
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
734
|
+
dummy_field: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
|
|
735
|
+
}, string>;
|
|
841
736
|
static fromFields(fields: Record<string, any>): TYPUS_NFT;
|
|
842
737
|
static fromFieldsWithTypes(item: FieldsWithTypes): TYPUS_NFT;
|
|
843
738
|
static fromBcs(data: Uint8Array): TYPUS_NFT;
|
|
@@ -897,73 +792,39 @@ export declare class Tails implements StructClass {
|
|
|
897
792
|
static get r(): reified.StructClassReified<Tails, TailsFields>;
|
|
898
793
|
static phantom(): PhantomReified<ToTypeStr<Tails>>;
|
|
899
794
|
static get p(): reified.PhantomReified<"0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196::typus_nft::Tails">;
|
|
900
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
901
|
-
id: {
|
|
902
|
-
id: {
|
|
903
|
-
bytes: string
|
|
904
|
-
}
|
|
905
|
-
}
|
|
906
|
-
name: {
|
|
907
|
-
bytes: number[]
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
795
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
796
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
797
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
798
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
799
|
+
}, string>;
|
|
800
|
+
}, string>;
|
|
801
|
+
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
802
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
803
|
+
length: number;
|
|
804
|
+
}, string>;
|
|
805
|
+
}, string>;
|
|
806
|
+
description: import("@mysten/sui/bcs").BcsStruct<{
|
|
807
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
808
|
+
length: number;
|
|
809
|
+
}, string>;
|
|
810
|
+
}, string>;
|
|
811
|
+
number: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
812
|
+
url: import("@mysten/sui/bcs").BcsStruct<{
|
|
813
|
+
url: import("@mysten/sui/bcs").BcsStruct<{
|
|
814
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
815
|
+
length: number;
|
|
816
|
+
}, string>;
|
|
817
|
+
}, string>;
|
|
818
|
+
}, string>;
|
|
819
|
+
attributes: import("@mysten/sui/bcs").BcsStruct<{
|
|
820
|
+
contents: import("@mysten/sui/bcs").BcsType<{
|
|
920
821
|
key: {
|
|
921
822
|
bytes: number[];
|
|
922
823
|
};
|
|
923
824
|
value: {
|
|
924
825
|
bytes: number[];
|
|
925
826
|
};
|
|
926
|
-
}[]
|
|
927
|
-
};
|
|
928
|
-
level: string;
|
|
929
|
-
exp: string;
|
|
930
|
-
first_bid: boolean;
|
|
931
|
-
first_deposit: boolean;
|
|
932
|
-
first_deposit_nft: boolean;
|
|
933
|
-
u64_padding: {
|
|
934
|
-
contents: {
|
|
935
|
-
key: {
|
|
936
|
-
bytes: number[];
|
|
937
|
-
};
|
|
938
|
-
value: string;
|
|
939
|
-
}[];
|
|
940
|
-
};
|
|
941
|
-
}, {
|
|
942
|
-
id: {
|
|
943
|
-
id: {
|
|
944
|
-
bytes: string;
|
|
945
|
-
};
|
|
946
|
-
};
|
|
947
|
-
name: {
|
|
948
|
-
bytes: Iterable<number> & {
|
|
949
|
-
length: number;
|
|
950
|
-
};
|
|
951
|
-
};
|
|
952
|
-
description: {
|
|
953
|
-
bytes: Iterable<number> & {
|
|
954
|
-
length: number;
|
|
955
|
-
};
|
|
956
|
-
};
|
|
957
|
-
number: string | number | bigint;
|
|
958
|
-
url: {
|
|
959
|
-
url: {
|
|
960
|
-
bytes: Iterable<number> & {
|
|
961
|
-
length: number;
|
|
962
|
-
};
|
|
963
|
-
};
|
|
964
|
-
};
|
|
965
|
-
attributes: {
|
|
966
|
-
contents: Iterable<{
|
|
827
|
+
}[], Iterable<{
|
|
967
828
|
key: {
|
|
968
829
|
bytes: Iterable<number> & {
|
|
969
830
|
length: number;
|
|
@@ -976,15 +837,20 @@ export declare class Tails implements StructClass {
|
|
|
976
837
|
};
|
|
977
838
|
}> & {
|
|
978
839
|
length: number;
|
|
979
|
-
}
|
|
980
|
-
}
|
|
981
|
-
level: string | number | bigint
|
|
982
|
-
exp: string | number | bigint
|
|
983
|
-
first_bid: boolean
|
|
984
|
-
first_deposit: boolean
|
|
985
|
-
first_deposit_nft: boolean
|
|
986
|
-
u64_padding: {
|
|
987
|
-
contents:
|
|
840
|
+
}, string>;
|
|
841
|
+
}, string>;
|
|
842
|
+
level: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
843
|
+
exp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
844
|
+
first_bid: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
|
|
845
|
+
first_deposit: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
|
|
846
|
+
first_deposit_nft: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
|
|
847
|
+
u64_padding: import("@mysten/sui/bcs").BcsStruct<{
|
|
848
|
+
contents: import("@mysten/sui/bcs").BcsType<{
|
|
849
|
+
key: {
|
|
850
|
+
bytes: number[];
|
|
851
|
+
};
|
|
852
|
+
value: string;
|
|
853
|
+
}[], Iterable<{
|
|
988
854
|
key: {
|
|
989
855
|
bytes: Iterable<number> & {
|
|
990
856
|
length: number;
|
|
@@ -993,9 +859,9 @@ export declare class Tails implements StructClass {
|
|
|
993
859
|
value: string | number | bigint;
|
|
994
860
|
}> & {
|
|
995
861
|
length: number;
|
|
996
|
-
}
|
|
997
|
-
}
|
|
998
|
-
}>;
|
|
862
|
+
}, string>;
|
|
863
|
+
}, string>;
|
|
864
|
+
}, string>;
|
|
999
865
|
static fromFields(fields: Record<string, any>): Tails;
|
|
1000
866
|
static fromFieldsWithTypes(item: FieldsWithTypes): Tails;
|
|
1001
867
|
static fromBcs(data: Uint8Array): Tails;
|
|
@@ -1077,25 +943,16 @@ export declare class Whitelist implements StructClass {
|
|
|
1077
943
|
static get r(): reified.StructClassReified<Whitelist, WhitelistFields>;
|
|
1078
944
|
static phantom(): PhantomReified<ToTypeStr<Whitelist>>;
|
|
1079
945
|
static get p(): reified.PhantomReified<"0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196::typus_nft::Whitelist">;
|
|
1080
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
1081
|
-
id: {
|
|
1082
|
-
id: {
|
|
1083
|
-
bytes: string
|
|
1084
|
-
}
|
|
1085
|
-
}
|
|
1086
|
-
for: {
|
|
1087
|
-
bytes: string
|
|
1088
|
-
}
|
|
1089
|
-
},
|
|
1090
|
-
id: {
|
|
1091
|
-
id: {
|
|
1092
|
-
bytes: string;
|
|
1093
|
-
};
|
|
1094
|
-
};
|
|
1095
|
-
for: {
|
|
1096
|
-
bytes: string;
|
|
1097
|
-
};
|
|
1098
|
-
}>;
|
|
946
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
947
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
948
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
949
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
950
|
+
}, string>;
|
|
951
|
+
}, string>;
|
|
952
|
+
for: import("@mysten/sui/bcs").BcsStruct<{
|
|
953
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
954
|
+
}, string>;
|
|
955
|
+
}, string>;
|
|
1099
956
|
static fromFields(fields: Record<string, any>): Whitelist;
|
|
1100
957
|
static fromFieldsWithTypes(item: FieldsWithTypes): Whitelist;
|
|
1101
958
|
static fromBcs(data: Uint8Array): Whitelist;
|
|
@@ -21,7 +21,7 @@ export declare function obj(tx: Transaction, arg: TransactionObjectInput): {
|
|
|
21
21
|
Result: number;
|
|
22
22
|
} | {
|
|
23
23
|
NestedResult: [number, number];
|
|
24
|
-
} | ((tx: Transaction) => Exclude<import("valibot").InferInput<typeof import("@mysten/sui/transactions").
|
|
24
|
+
} | ((tx: Transaction) => Exclude<import("valibot").InferInput<typeof import("@mysten/sui/dist/cjs/transactions/data/internal").ArgumentSchema>, {
|
|
25
25
|
Input: unknown;
|
|
26
26
|
type?: "pure";
|
|
27
27
|
}>) | import("@mysten/sui/dist/cjs/transactions/Transaction").AsyncTransactionThunk<import("@mysten/sui/dist/cjs/transactions/Transaction").TransactionResultArgument>;
|