@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
|
@@ -42,29 +42,19 @@ export declare class DiscountEventV3 implements StructClass {
|
|
|
42
42
|
static get r(): reified.StructClassReified<DiscountEventV3, DiscountEventV3Fields>;
|
|
43
43
|
static phantom(): PhantomReified<ToTypeStr<DiscountEventV3>>;
|
|
44
44
|
static get p(): reified.PhantomReified<"0x1abc57354a357ac988e81d60b76ce5bf0322605d666aec701d40291952150082::discount_mint::DiscountEventV3">;
|
|
45
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
46
|
-
pool: {
|
|
47
|
-
bytes: string
|
|
48
|
-
}
|
|
49
|
-
price: string
|
|
50
|
-
discount_pct: string
|
|
51
|
-
discount_price: string
|
|
52
|
-
user: string
|
|
53
|
-
vrf_input: number[]
|
|
54
|
-
level: string;
|
|
55
|
-
}, {
|
|
56
|
-
pool: {
|
|
57
|
-
bytes: string;
|
|
58
|
-
};
|
|
59
|
-
price: string | number | bigint;
|
|
60
|
-
discount_pct: string | number | bigint;
|
|
61
|
-
discount_price: string | number | bigint;
|
|
62
|
-
user: string;
|
|
63
|
-
vrf_input: Iterable<number> & {
|
|
45
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
46
|
+
pool: import("@mysten/sui/bcs").BcsStruct<{
|
|
47
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
48
|
+
}, string>;
|
|
49
|
+
price: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
50
|
+
discount_pct: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
51
|
+
discount_price: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
52
|
+
user: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
53
|
+
vrf_input: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
64
54
|
length: number;
|
|
65
|
-
}
|
|
66
|
-
level: string | number | bigint
|
|
67
|
-
}>;
|
|
55
|
+
}, string>;
|
|
56
|
+
level: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
57
|
+
}, string>;
|
|
68
58
|
static fromFields(fields: Record<string, any>): DiscountEventV3;
|
|
69
59
|
static fromFieldsWithTypes(item: FieldsWithTypes): DiscountEventV3;
|
|
70
60
|
static fromBcs(data: Uint8Array): DiscountEventV3;
|
|
@@ -118,35 +108,22 @@ export declare class MintRequest implements StructClass {
|
|
|
118
108
|
static get r(): reified.StructClassReified<MintRequest, MintRequestFields>;
|
|
119
109
|
static phantom(): PhantomReified<ToTypeStr<MintRequest>>;
|
|
120
110
|
static get p(): reified.PhantomReified<"0x1abc57354a357ac988e81d60b76ce5bf0322605d666aec701d40291952150082::discount_mint::MintRequest">;
|
|
121
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
122
|
-
user: string
|
|
123
|
-
coin: {
|
|
124
|
-
id: {
|
|
125
|
-
id: {
|
|
126
|
-
bytes: string
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
balance: {
|
|
130
|
-
value: string
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
vrf_input: number[]
|
|
134
|
-
}, {
|
|
135
|
-
user: string;
|
|
136
|
-
coin: {
|
|
137
|
-
id: {
|
|
138
|
-
id: {
|
|
139
|
-
bytes: string;
|
|
140
|
-
};
|
|
141
|
-
};
|
|
142
|
-
balance: {
|
|
143
|
-
value: string | number | bigint;
|
|
144
|
-
};
|
|
145
|
-
};
|
|
146
|
-
vrf_input: Iterable<number> & {
|
|
111
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
112
|
+
user: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
113
|
+
coin: import("@mysten/sui/bcs").BcsStruct<{
|
|
114
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
115
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
116
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
117
|
+
}, string>;
|
|
118
|
+
}, string>;
|
|
119
|
+
balance: import("@mysten/sui/bcs").BcsStruct<{
|
|
120
|
+
value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
121
|
+
}, string>;
|
|
122
|
+
}, string>;
|
|
123
|
+
vrf_input: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
147
124
|
length: number;
|
|
148
|
-
}
|
|
149
|
-
}>;
|
|
125
|
+
}, string>;
|
|
126
|
+
}, string>;
|
|
150
127
|
static fromFields(fields: Record<string, any>): MintRequest;
|
|
151
128
|
static fromFieldsWithTypes(item: FieldsWithTypes): MintRequest;
|
|
152
129
|
static fromBcs(data: Uint8Array): MintRequest;
|
|
@@ -204,19 +181,14 @@ export declare class MintRequestEvent implements StructClass {
|
|
|
204
181
|
static get r(): reified.StructClassReified<MintRequestEvent, MintRequestEventFields>;
|
|
205
182
|
static phantom(): PhantomReified<ToTypeStr<MintRequestEvent>>;
|
|
206
183
|
static get p(): reified.PhantomReified<"0x1abc57354a357ac988e81d60b76ce5bf0322605d666aec701d40291952150082::discount_mint::MintRequestEvent">;
|
|
207
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
208
|
-
user: string
|
|
209
|
-
vrf_input: number[]
|
|
210
|
-
remaining: string;
|
|
211
|
-
seed: string;
|
|
212
|
-
}, {
|
|
213
|
-
user: string;
|
|
214
|
-
vrf_input: Iterable<number> & {
|
|
184
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
185
|
+
user: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
186
|
+
vrf_input: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
215
187
|
length: number;
|
|
216
|
-
}
|
|
217
|
-
remaining: string | number | bigint
|
|
218
|
-
seed: string | number | bigint
|
|
219
|
-
}>;
|
|
188
|
+
}, string>;
|
|
189
|
+
remaining: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
190
|
+
seed: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
191
|
+
}, string>;
|
|
220
192
|
static fromFields(fields: Record<string, any>): MintRequestEvent;
|
|
221
193
|
static fromFieldsWithTypes(item: FieldsWithTypes): MintRequestEvent;
|
|
222
194
|
static fromBcs(data: Uint8Array): MintRequestEvent;
|
|
@@ -282,34 +254,38 @@ export declare class Pool implements StructClass {
|
|
|
282
254
|
static get r(): reified.StructClassReified<Pool, PoolFields>;
|
|
283
255
|
static phantom(): PhantomReified<ToTypeStr<Pool>>;
|
|
284
256
|
static get p(): reified.PhantomReified<"0x1abc57354a357ac988e81d60b76ce5bf0322605d666aec701d40291952150082::discount_mint::Pool">;
|
|
285
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
286
|
-
id: {
|
|
287
|
-
id: {
|
|
288
|
-
bytes: string
|
|
289
|
-
}
|
|
290
|
-
}
|
|
291
|
-
num: string
|
|
292
|
-
price: string
|
|
293
|
-
start_ms: string
|
|
294
|
-
end_ms: string
|
|
295
|
-
authority: string
|
|
296
|
-
public_key: number[]
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
257
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
258
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
259
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
260
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
261
|
+
}, string>;
|
|
262
|
+
}, string>;
|
|
263
|
+
num: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
264
|
+
price: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
265
|
+
start_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
266
|
+
end_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
267
|
+
authority: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
268
|
+
public_key: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
269
|
+
length: number;
|
|
270
|
+
}, string>;
|
|
271
|
+
discount_pcts: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
272
|
+
length: number;
|
|
273
|
+
}, string>;
|
|
274
|
+
is_live: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
|
|
275
|
+
balance: import("@mysten/sui/bcs").BcsStruct<{
|
|
276
|
+
value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
277
|
+
}, string>;
|
|
278
|
+
tails: import("@mysten/sui/bcs").BcsStruct<{
|
|
279
|
+
contents: import("@mysten/sui/bcs").BcsStruct<{
|
|
280
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
281
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
282
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
283
|
+
}, string>;
|
|
284
|
+
}, string>;
|
|
285
|
+
size: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
286
|
+
}, string>;
|
|
287
|
+
}, string>;
|
|
288
|
+
requests: import("@mysten/sui/bcs").BcsType<{
|
|
313
289
|
user: string;
|
|
314
290
|
coin: {
|
|
315
291
|
id: {
|
|
@@ -322,39 +298,7 @@ export declare class Pool implements StructClass {
|
|
|
322
298
|
};
|
|
323
299
|
};
|
|
324
300
|
vrf_input: number[];
|
|
325
|
-
}[]
|
|
326
|
-
}, {
|
|
327
|
-
id: {
|
|
328
|
-
id: {
|
|
329
|
-
bytes: string;
|
|
330
|
-
};
|
|
331
|
-
};
|
|
332
|
-
num: string | number | bigint;
|
|
333
|
-
price: string | number | bigint;
|
|
334
|
-
start_ms: string | number | bigint;
|
|
335
|
-
end_ms: string | number | bigint;
|
|
336
|
-
authority: string;
|
|
337
|
-
public_key: Iterable<number> & {
|
|
338
|
-
length: number;
|
|
339
|
-
};
|
|
340
|
-
discount_pcts: Iterable<string | number | bigint> & {
|
|
341
|
-
length: number;
|
|
342
|
-
};
|
|
343
|
-
is_live: boolean;
|
|
344
|
-
balance: {
|
|
345
|
-
value: string | number | bigint;
|
|
346
|
-
};
|
|
347
|
-
tails: {
|
|
348
|
-
contents: {
|
|
349
|
-
id: {
|
|
350
|
-
id: {
|
|
351
|
-
bytes: string;
|
|
352
|
-
};
|
|
353
|
-
};
|
|
354
|
-
size: string | number | bigint;
|
|
355
|
-
};
|
|
356
|
-
};
|
|
357
|
-
requests: Iterable<{
|
|
301
|
+
}[], Iterable<{
|
|
358
302
|
user: string;
|
|
359
303
|
coin: {
|
|
360
304
|
id: {
|
|
@@ -371,8 +315,8 @@ export declare class Pool implements StructClass {
|
|
|
371
315
|
};
|
|
372
316
|
}> & {
|
|
373
317
|
length: number;
|
|
374
|
-
}
|
|
375
|
-
}>;
|
|
318
|
+
}, string>;
|
|
319
|
+
}, string>;
|
|
376
320
|
static fromFields(fields: Record<string, any>): Pool;
|
|
377
321
|
static fromFieldsWithTypes(item: FieldsWithTypes): Pool;
|
|
378
322
|
static fromBcs(data: Uint8Array): Pool;
|
|
@@ -24,13 +24,10 @@ export declare class Config implements StructClass {
|
|
|
24
24
|
static get r(): import("../../../../_framework/reified").StructClassReified<Config, ConfigFields>;
|
|
25
25
|
static phantom(): PhantomReified<ToTypeStr<Config>>;
|
|
26
26
|
static get p(): PhantomReified<"0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196::royalty_rule::Config">;
|
|
27
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
28
|
-
amount_bp: number
|
|
29
|
-
min_amount: string
|
|
30
|
-
},
|
|
31
|
-
amount_bp: number;
|
|
32
|
-
min_amount: string | number | bigint;
|
|
33
|
-
}>;
|
|
27
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
28
|
+
amount_bp: import("@mysten/sui/bcs").BcsType<number, number, "u16">;
|
|
29
|
+
min_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
30
|
+
}, string>;
|
|
34
31
|
static fromFields(fields: Record<string, any>): Config;
|
|
35
32
|
static fromFieldsWithTypes(item: FieldsWithTypes): Config;
|
|
36
33
|
static fromBcs(data: Uint8Array): Config;
|
|
@@ -70,11 +67,9 @@ export declare class Rule implements StructClass {
|
|
|
70
67
|
static get r(): import("../../../../_framework/reified").StructClassReified<Rule, RuleFields>;
|
|
71
68
|
static phantom(): PhantomReified<ToTypeStr<Rule>>;
|
|
72
69
|
static get p(): PhantomReified<"0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196::royalty_rule::Rule">;
|
|
73
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
74
|
-
dummy_field: boolean
|
|
75
|
-
},
|
|
76
|
-
dummy_field: boolean;
|
|
77
|
-
}>;
|
|
70
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
71
|
+
dummy_field: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
|
|
72
|
+
}, string>;
|
|
78
73
|
static fromFields(fields: Record<string, any>): Rule;
|
|
79
74
|
static fromFieldsWithTypes(item: FieldsWithTypes): Rule;
|
|
80
75
|
static fromBcs(data: Uint8Array): Rule;
|
|
@@ -32,21 +32,14 @@ export declare class LevelUpEvent implements StructClass {
|
|
|
32
32
|
static get r(): reified.StructClassReified<LevelUpEvent, LevelUpEventFields>;
|
|
33
33
|
static phantom(): PhantomReified<ToTypeStr<LevelUpEvent>>;
|
|
34
34
|
static get p(): reified.PhantomReified<"0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196::staking::LevelUpEvent">;
|
|
35
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
36
|
-
nft_id: {
|
|
37
|
-
bytes: string
|
|
38
|
-
}
|
|
39
|
-
sender: string
|
|
40
|
-
number: string
|
|
41
|
-
level: string
|
|
42
|
-
},
|
|
43
|
-
nft_id: {
|
|
44
|
-
bytes: string;
|
|
45
|
-
};
|
|
46
|
-
sender: string;
|
|
47
|
-
number: string | number | bigint;
|
|
48
|
-
level: string | number | bigint;
|
|
49
|
-
}>;
|
|
35
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
36
|
+
nft_id: import("@mysten/sui/bcs").BcsStruct<{
|
|
37
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
38
|
+
}, string>;
|
|
39
|
+
sender: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
40
|
+
number: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
41
|
+
level: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
42
|
+
}, string>;
|
|
50
43
|
static fromFields(fields: Record<string, any>): LevelUpEvent;
|
|
51
44
|
static fromFieldsWithTypes(item: FieldsWithTypes): LevelUpEvent;
|
|
52
45
|
static fromBcs(data: Uint8Array): LevelUpEvent;
|
|
@@ -90,19 +83,13 @@ export declare class ManagerCap implements StructClass {
|
|
|
90
83
|
static get r(): reified.StructClassReified<ManagerCap, ManagerCapFields>;
|
|
91
84
|
static phantom(): PhantomReified<ToTypeStr<ManagerCap>>;
|
|
92
85
|
static get p(): reified.PhantomReified<"0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196::staking::ManagerCap">;
|
|
93
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
94
|
-
id: {
|
|
95
|
-
id: {
|
|
96
|
-
bytes: string
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
},
|
|
100
|
-
id: {
|
|
101
|
-
id: {
|
|
102
|
-
bytes: string;
|
|
103
|
-
};
|
|
104
|
-
};
|
|
105
|
-
}>;
|
|
86
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
87
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
88
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
89
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
90
|
+
}, string>;
|
|
91
|
+
}, string>;
|
|
92
|
+
}, string>;
|
|
106
93
|
static fromFields(fields: Record<string, any>): ManagerCap;
|
|
107
94
|
static fromFieldsWithTypes(item: FieldsWithTypes): ManagerCap;
|
|
108
95
|
static fromBcs(data: Uint8Array): ManagerCap;
|
|
@@ -142,39 +129,23 @@ export declare class NftExtension implements StructClass {
|
|
|
142
129
|
static get r(): reified.StructClassReified<NftExtension, NftExtensionFields>;
|
|
143
130
|
static phantom(): PhantomReified<ToTypeStr<NftExtension>>;
|
|
144
131
|
static get p(): reified.PhantomReified<"0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196::staking::NftExtension">;
|
|
145
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
146
|
-
nft_table: {
|
|
147
|
-
id: {
|
|
148
|
-
id: {
|
|
149
|
-
bytes: string
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
size: string
|
|
153
|
-
}
|
|
154
|
-
nft_manager_cap: {
|
|
155
|
-
id: {
|
|
156
|
-
id: {
|
|
157
|
-
bytes: string
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
},
|
|
162
|
-
nft_table: {
|
|
163
|
-
id: {
|
|
164
|
-
id: {
|
|
165
|
-
bytes: string;
|
|
166
|
-
};
|
|
167
|
-
};
|
|
168
|
-
size: string | number | bigint;
|
|
169
|
-
};
|
|
170
|
-
nft_manager_cap: {
|
|
171
|
-
id: {
|
|
172
|
-
id: {
|
|
173
|
-
bytes: string;
|
|
174
|
-
};
|
|
175
|
-
};
|
|
176
|
-
};
|
|
177
|
-
}>;
|
|
132
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
133
|
+
nft_table: import("@mysten/sui/bcs").BcsStruct<{
|
|
134
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
135
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
136
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
137
|
+
}, string>;
|
|
138
|
+
}, string>;
|
|
139
|
+
size: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
140
|
+
}, string>;
|
|
141
|
+
nft_manager_cap: import("@mysten/sui/bcs").BcsStruct<{
|
|
142
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
143
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
144
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
145
|
+
}, string>;
|
|
146
|
+
}, string>;
|
|
147
|
+
}, string>;
|
|
148
|
+
}, string>;
|
|
178
149
|
static fromFields(fields: Record<string, any>): NftExtension;
|
|
179
150
|
static fromFieldsWithTypes(item: FieldsWithTypes): NftExtension;
|
|
180
151
|
static fromBcs(data: Uint8Array): NftExtension;
|
|
@@ -224,19 +195,13 @@ export declare class Registry implements StructClass {
|
|
|
224
195
|
static get r(): reified.StructClassReified<Registry, RegistryFields>;
|
|
225
196
|
static phantom(): PhantomReified<ToTypeStr<Registry>>;
|
|
226
197
|
static get p(): reified.PhantomReified<"0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196::staking::Registry">;
|
|
227
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
228
|
-
id: {
|
|
229
|
-
id: {
|
|
230
|
-
bytes: string
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
|
-
},
|
|
234
|
-
id: {
|
|
235
|
-
id: {
|
|
236
|
-
bytes: string;
|
|
237
|
-
};
|
|
238
|
-
};
|
|
239
|
-
}>;
|
|
198
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
199
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
200
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
201
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
202
|
+
}, string>;
|
|
203
|
+
}, string>;
|
|
204
|
+
}, string>;
|
|
240
205
|
static fromFields(fields: Record<string, any>): Registry;
|
|
241
206
|
static fromFieldsWithTypes(item: FieldsWithTypes): Registry;
|
|
242
207
|
static fromBcs(data: Uint8Array): Registry;
|
|
@@ -278,78 +243,40 @@ export declare class StakingTails implements StructClass {
|
|
|
278
243
|
static get r(): reified.StructClassReified<StakingTails, StakingTailsFields>;
|
|
279
244
|
static phantom(): PhantomReified<ToTypeStr<StakingTails>>;
|
|
280
245
|
static get p(): reified.PhantomReified<"0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196::staking::StakingTails">;
|
|
281
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
282
|
-
nft: {
|
|
283
|
-
id: {
|
|
284
|
-
id: {
|
|
285
|
-
bytes: string
|
|
286
|
-
}
|
|
287
|
-
}
|
|
288
|
-
name: {
|
|
289
|
-
bytes: number[]
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
246
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
247
|
+
nft: 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
|
+
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
254
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
255
|
+
length: number;
|
|
256
|
+
}, string>;
|
|
257
|
+
}, string>;
|
|
258
|
+
description: import("@mysten/sui/bcs").BcsStruct<{
|
|
259
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
260
|
+
length: number;
|
|
261
|
+
}, string>;
|
|
262
|
+
}, string>;
|
|
263
|
+
number: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
264
|
+
url: import("@mysten/sui/bcs").BcsStruct<{
|
|
265
|
+
url: import("@mysten/sui/bcs").BcsStruct<{
|
|
266
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
267
|
+
length: number;
|
|
268
|
+
}, string>;
|
|
269
|
+
}, string>;
|
|
270
|
+
}, string>;
|
|
271
|
+
attributes: import("@mysten/sui/bcs").BcsStruct<{
|
|
272
|
+
contents: import("@mysten/sui/bcs").BcsType<{
|
|
302
273
|
key: {
|
|
303
274
|
bytes: number[];
|
|
304
275
|
};
|
|
305
276
|
value: {
|
|
306
277
|
bytes: number[];
|
|
307
278
|
};
|
|
308
|
-
}[]
|
|
309
|
-
};
|
|
310
|
-
level: string;
|
|
311
|
-
exp: string;
|
|
312
|
-
first_bid: boolean;
|
|
313
|
-
first_deposit: boolean;
|
|
314
|
-
first_deposit_nft: boolean;
|
|
315
|
-
u64_padding: {
|
|
316
|
-
contents: {
|
|
317
|
-
key: {
|
|
318
|
-
bytes: number[];
|
|
319
|
-
};
|
|
320
|
-
value: string;
|
|
321
|
-
}[];
|
|
322
|
-
};
|
|
323
|
-
};
|
|
324
|
-
snapshot_ms: string;
|
|
325
|
-
updating_url: boolean;
|
|
326
|
-
}, {
|
|
327
|
-
nft: {
|
|
328
|
-
id: {
|
|
329
|
-
id: {
|
|
330
|
-
bytes: string;
|
|
331
|
-
};
|
|
332
|
-
};
|
|
333
|
-
name: {
|
|
334
|
-
bytes: Iterable<number> & {
|
|
335
|
-
length: number;
|
|
336
|
-
};
|
|
337
|
-
};
|
|
338
|
-
description: {
|
|
339
|
-
bytes: Iterable<number> & {
|
|
340
|
-
length: number;
|
|
341
|
-
};
|
|
342
|
-
};
|
|
343
|
-
number: string | number | bigint;
|
|
344
|
-
url: {
|
|
345
|
-
url: {
|
|
346
|
-
bytes: Iterable<number> & {
|
|
347
|
-
length: number;
|
|
348
|
-
};
|
|
349
|
-
};
|
|
350
|
-
};
|
|
351
|
-
attributes: {
|
|
352
|
-
contents: Iterable<{
|
|
279
|
+
}[], Iterable<{
|
|
353
280
|
key: {
|
|
354
281
|
bytes: Iterable<number> & {
|
|
355
282
|
length: number;
|
|
@@ -362,15 +289,20 @@ export declare class StakingTails implements StructClass {
|
|
|
362
289
|
};
|
|
363
290
|
}> & {
|
|
364
291
|
length: number;
|
|
365
|
-
}
|
|
366
|
-
}
|
|
367
|
-
level: string | number | bigint
|
|
368
|
-
exp: string | number | bigint
|
|
369
|
-
first_bid: boolean
|
|
370
|
-
first_deposit: boolean
|
|
371
|
-
first_deposit_nft: boolean
|
|
372
|
-
u64_padding: {
|
|
373
|
-
contents:
|
|
292
|
+
}, string>;
|
|
293
|
+
}, string>;
|
|
294
|
+
level: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
295
|
+
exp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
296
|
+
first_bid: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
|
|
297
|
+
first_deposit: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
|
|
298
|
+
first_deposit_nft: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
|
|
299
|
+
u64_padding: import("@mysten/sui/bcs").BcsStruct<{
|
|
300
|
+
contents: import("@mysten/sui/bcs").BcsType<{
|
|
301
|
+
key: {
|
|
302
|
+
bytes: number[];
|
|
303
|
+
};
|
|
304
|
+
value: string;
|
|
305
|
+
}[], Iterable<{
|
|
374
306
|
key: {
|
|
375
307
|
bytes: Iterable<number> & {
|
|
376
308
|
length: number;
|
|
@@ -379,12 +311,12 @@ export declare class StakingTails implements StructClass {
|
|
|
379
311
|
value: string | number | bigint;
|
|
380
312
|
}> & {
|
|
381
313
|
length: number;
|
|
382
|
-
}
|
|
383
|
-
}
|
|
384
|
-
}
|
|
385
|
-
snapshot_ms: string | number | bigint
|
|
386
|
-
updating_url: boolean
|
|
387
|
-
}>;
|
|
314
|
+
}, string>;
|
|
315
|
+
}, string>;
|
|
316
|
+
}, string>;
|
|
317
|
+
snapshot_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
318
|
+
updating_url: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
|
|
319
|
+
}, string>;
|
|
388
320
|
static fromFields(fields: Record<string, any>): StakingTails;
|
|
389
321
|
static fromFieldsWithTypes(item: FieldsWithTypes): StakingTails;
|
|
390
322
|
static fromBcs(data: Uint8Array): StakingTails;
|
|
@@ -24,25 +24,16 @@ export declare class TableVec<Element extends PhantomTypeArgument> implements St
|
|
|
24
24
|
static get r(): typeof TableVec.reified;
|
|
25
25
|
static phantom<Element extends PhantomReified<PhantomTypeArgument>>(Element: Element): PhantomReified<ToTypeStr<TableVec<ToPhantomTypeArgument<Element>>>>;
|
|
26
26
|
static get p(): typeof TableVec.phantom;
|
|
27
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
28
|
-
contents: {
|
|
29
|
-
id: {
|
|
30
|
-
id: {
|
|
31
|
-
bytes: string
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
size: string
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
contents: {
|
|
38
|
-
id: {
|
|
39
|
-
id: {
|
|
40
|
-
bytes: string;
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
size: string | number | bigint;
|
|
44
|
-
};
|
|
45
|
-
}>;
|
|
27
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
28
|
+
contents: 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
|
+
}, string>;
|
|
36
|
+
}, string>;
|
|
46
37
|
static fromFields<Element extends PhantomReified<PhantomTypeArgument>>(typeArg: Element, fields: Record<string, any>): TableVec<ToPhantomTypeArgument<Element>>;
|
|
47
38
|
static fromFieldsWithTypes<Element extends PhantomReified<PhantomTypeArgument>>(typeArg: Element, item: FieldsWithTypes): TableVec<ToPhantomTypeArgument<Element>>;
|
|
48
39
|
static fromBcs<Element extends PhantomReified<PhantomTypeArgument>>(typeArg: Element, data: Uint8Array): TableVec<ToPhantomTypeArgument<Element>>;
|