@typus/typus-perp-sdk 1.1.28 → 1.1.29-codegen-test
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/_dependencies/source/0x1/ascii/structs.d.ts +7 -11
- package/dist/src/_dependencies/source/0x1/option/structs.d.ts +4 -6
- package/dist/src/_dependencies/source/0x1/string/structs.d.ts +4 -6
- package/dist/src/_dependencies/source/0x1/type-name/structs.d.ts +6 -10
- package/dist/src/_dependencies/source/0x2/bag/structs.d.ts +8 -15
- package/dist/src/_dependencies/source/0x2/balance/structs.d.ts +6 -10
- package/dist/src/_dependencies/source/0x2/coin/structs.d.ts +85 -139
- package/dist/src/_dependencies/source/0x2/linked-table/structs.d.ts +27 -48
- package/dist/src/_dependencies/source/0x2/object/structs.d.ts +8 -14
- package/dist/src/_dependencies/source/0x2/object-table/structs.d.ts +8 -15
- package/dist/src/_dependencies/source/0x2/sui/structs.d.ts +3 -5
- package/dist/src/_dependencies/source/0x2/table/structs.d.ts +8 -15
- package/dist/src/_dependencies/source/0x2/table-vec/structs.d.ts +10 -19
- package/dist/src/_dependencies/source/0x2/token/structs.d.ts +90 -118
- package/dist/src/_dependencies/source/0x2/transfer-policy/structs.d.ts +70 -92
- package/dist/src/_dependencies/source/0x2/url/structs.d.ts +6 -10
- package/dist/src/_dependencies/source/0x2/vec-map/structs.d.ts +13 -18
- package/dist/src/_dependencies/source/0x2/vec-set/structs.d.ts +4 -6
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/airdrop/structs.d.ts +86 -153
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/big-vector/structs.d.ts +21 -38
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/critbit/structs.d.ts +34 -65
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/ecosystem/structs.d.ts +58 -101
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/keyed-big-vector/structs.d.ts +36 -61
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/leaderboard/structs.d.ts +125 -224
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/linked-object-table/structs.d.ts +31 -56
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/linked-set/structs.d.ts +26 -46
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/tails-staking/structs.d.ts +186 -300
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/tgld/structs.d.ts +43 -78
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/user/structs.d.ts +48 -82
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/authority/structs.d.ts +18 -33
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/balance-pool/structs.d.ts +65 -118
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/big-vector/structs.d.ts +10 -19
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/dutch/structs.d.ts +133 -253
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/i64/structs.d.ts +3 -5
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/linked-list/structs.d.ts +26 -46
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/vault/structs.d.ts +433 -713
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/discount-mint/structs.d.ts +69 -125
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/royalty-rule/structs.d.ts +7 -12
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/staking/structs.d.ts +87 -155
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/table-vec/structs.d.ts +10 -19
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/typus-nft/structs.d.ts +183 -326
- package/dist/src/_framework/util.d.ts +1 -1
- package/dist/src/_framework/vector.d.ts +12 -5
- package/dist/src/index.js +16 -15
- package/dist/src/typus_perp/admin/structs.d.ts +85 -147
- package/dist/src/typus_perp/competition/structs.d.ts +16 -28
- package/dist/src/typus_perp/escrow/structs.d.ts +20 -32
- package/dist/src/typus_perp/lp-pool/structs.d.ts +736 -1299
- package/dist/src/typus_perp/position/structs.d.ts +236 -395
- package/dist/src/typus_perp/symbol/structs.d.ts +14 -25
- package/dist/src/typus_perp/tlp/structs.d.ts +42 -18
- package/dist/src/typus_perp/tlp/structs.js +53 -2
- package/dist/src/typus_perp/trading/structs.d.ts +714 -1267
- package/dist/src/typus_perp/treasury-caps/structs.d.ts +7 -13
- package/dist/src/typus_perp/user-account/structs.d.ts +27 -47
- package/dist/src/typus_stake_pool/admin/structs.d.ts +67 -115
- package/dist/src/typus_stake_pool/stake-pool/structs.d.ts +371 -649
- package/dist/src/user/history.js +1 -1
- package/dist/src/user/orderWithBidReceipt.d.ts +1 -0
- package/package.json +13 -4
|
@@ -35,29 +35,22 @@ export declare class ActivateLeaderboardEvent implements StructClass {
|
|
|
35
35
|
static get r(): reified.StructClassReified<ActivateLeaderboardEvent, ActivateLeaderboardEventFields>;
|
|
36
36
|
static phantom(): PhantomReified<ToTypeStr<ActivateLeaderboardEvent>>;
|
|
37
37
|
static get p(): reified.PhantomReified<"0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a::leaderboard::ActivateLeaderboardEvent">;
|
|
38
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
39
|
-
key: {
|
|
40
|
-
bytes: number[]
|
|
41
|
-
};
|
|
42
|
-
id: string;
|
|
43
|
-
log: string[];
|
|
44
|
-
bcs_padding: number[][];
|
|
45
|
-
}, {
|
|
46
|
-
key: {
|
|
47
|
-
bytes: Iterable<number> & {
|
|
38
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
39
|
+
key: import("@mysten/sui/bcs").BcsStruct<{
|
|
40
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
48
41
|
length: number;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
id: string
|
|
52
|
-
log: Iterable<string | number | bigint> & {
|
|
42
|
+
}, string>;
|
|
43
|
+
}, string>;
|
|
44
|
+
id: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
45
|
+
log: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
53
46
|
length: number;
|
|
54
|
-
}
|
|
55
|
-
bcs_padding: Iterable<Iterable<number> & {
|
|
47
|
+
}, string>;
|
|
48
|
+
bcs_padding: import("@mysten/sui/bcs").BcsType<number[][], Iterable<Iterable<number> & {
|
|
56
49
|
length: number;
|
|
57
50
|
}> & {
|
|
58
51
|
length: number;
|
|
59
|
-
}
|
|
60
|
-
}>;
|
|
52
|
+
}, string>;
|
|
53
|
+
}, string>;
|
|
61
54
|
static fromFields(fields: Record<string, any>): ActivateLeaderboardEvent;
|
|
62
55
|
static fromFieldsWithTypes(item: FieldsWithTypes): ActivateLeaderboardEvent;
|
|
63
56
|
static fromBcs(data: Uint8Array): ActivateLeaderboardEvent;
|
|
@@ -107,29 +100,22 @@ export declare class DeactivateLeaderboardEvent implements StructClass {
|
|
|
107
100
|
static get r(): reified.StructClassReified<DeactivateLeaderboardEvent, DeactivateLeaderboardEventFields>;
|
|
108
101
|
static phantom(): PhantomReified<ToTypeStr<DeactivateLeaderboardEvent>>;
|
|
109
102
|
static get p(): reified.PhantomReified<"0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a::leaderboard::DeactivateLeaderboardEvent">;
|
|
110
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
111
|
-
key: {
|
|
112
|
-
bytes: number[]
|
|
113
|
-
};
|
|
114
|
-
id: string;
|
|
115
|
-
log: string[];
|
|
116
|
-
bcs_padding: number[][];
|
|
117
|
-
}, {
|
|
118
|
-
key: {
|
|
119
|
-
bytes: Iterable<number> & {
|
|
103
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
104
|
+
key: import("@mysten/sui/bcs").BcsStruct<{
|
|
105
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
120
106
|
length: number;
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
id: string
|
|
124
|
-
log: Iterable<string | number | bigint> & {
|
|
107
|
+
}, string>;
|
|
108
|
+
}, string>;
|
|
109
|
+
id: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
110
|
+
log: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
125
111
|
length: number;
|
|
126
|
-
}
|
|
127
|
-
bcs_padding: Iterable<Iterable<number> & {
|
|
112
|
+
}, string>;
|
|
113
|
+
bcs_padding: import("@mysten/sui/bcs").BcsType<number[][], Iterable<Iterable<number> & {
|
|
128
114
|
length: number;
|
|
129
115
|
}> & {
|
|
130
116
|
length: number;
|
|
131
|
-
}
|
|
132
|
-
}>;
|
|
117
|
+
}, string>;
|
|
118
|
+
}, string>;
|
|
133
119
|
static fromFields(fields: Record<string, any>): DeactivateLeaderboardEvent;
|
|
134
120
|
static fromFieldsWithTypes(item: FieldsWithTypes): DeactivateLeaderboardEvent;
|
|
135
121
|
static fromBcs(data: Uint8Array): DeactivateLeaderboardEvent;
|
|
@@ -181,31 +167,23 @@ export declare class DeductEvent implements StructClass {
|
|
|
181
167
|
static get r(): reified.StructClassReified<DeductEvent, DeductEventFields>;
|
|
182
168
|
static phantom(): PhantomReified<ToTypeStr<DeductEvent>>;
|
|
183
169
|
static get p(): reified.PhantomReified<"0x892a5846a4466eaa68edce2613d48f880dfe3caccd47467a8ba718b2ad89cdac::leaderboard::DeductEvent">;
|
|
184
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
185
|
-
key: {
|
|
186
|
-
bytes: number[]
|
|
187
|
-
};
|
|
188
|
-
id: string;
|
|
189
|
-
user: string;
|
|
190
|
-
log: string[];
|
|
191
|
-
bcs_padding: number[][];
|
|
192
|
-
}, {
|
|
193
|
-
key: {
|
|
194
|
-
bytes: Iterable<number> & {
|
|
170
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
171
|
+
key: import("@mysten/sui/bcs").BcsStruct<{
|
|
172
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
195
173
|
length: number;
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
id: string
|
|
199
|
-
user: string
|
|
200
|
-
log: Iterable<string | number | bigint> & {
|
|
174
|
+
}, string>;
|
|
175
|
+
}, string>;
|
|
176
|
+
id: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
177
|
+
user: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
178
|
+
log: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
201
179
|
length: number;
|
|
202
|
-
}
|
|
203
|
-
bcs_padding: Iterable<Iterable<number> & {
|
|
180
|
+
}, string>;
|
|
181
|
+
bcs_padding: import("@mysten/sui/bcs").BcsType<number[][], Iterable<Iterable<number> & {
|
|
204
182
|
length: number;
|
|
205
183
|
}> & {
|
|
206
184
|
length: number;
|
|
207
|
-
}
|
|
208
|
-
}>;
|
|
185
|
+
}, string>;
|
|
186
|
+
}, string>;
|
|
209
187
|
static fromFields(fields: Record<string, any>): DeductEvent;
|
|
210
188
|
static fromFieldsWithTypes(item: FieldsWithTypes): DeductEvent;
|
|
211
189
|
static fromBcs(data: Uint8Array): DeductEvent;
|
|
@@ -257,29 +235,22 @@ export declare class ExtendLeaderboardEvent implements StructClass {
|
|
|
257
235
|
static get r(): reified.StructClassReified<ExtendLeaderboardEvent, ExtendLeaderboardEventFields>;
|
|
258
236
|
static phantom(): PhantomReified<ToTypeStr<ExtendLeaderboardEvent>>;
|
|
259
237
|
static get p(): reified.PhantomReified<"0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a::leaderboard::ExtendLeaderboardEvent">;
|
|
260
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
261
|
-
key: {
|
|
262
|
-
bytes: number[]
|
|
263
|
-
};
|
|
264
|
-
id: string;
|
|
265
|
-
log: string[];
|
|
266
|
-
bcs_padding: number[][];
|
|
267
|
-
}, {
|
|
268
|
-
key: {
|
|
269
|
-
bytes: Iterable<number> & {
|
|
238
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
239
|
+
key: import("@mysten/sui/bcs").BcsStruct<{
|
|
240
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
270
241
|
length: number;
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
id: string
|
|
274
|
-
log: Iterable<string | number | bigint> & {
|
|
242
|
+
}, string>;
|
|
243
|
+
}, string>;
|
|
244
|
+
id: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
245
|
+
log: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
275
246
|
length: number;
|
|
276
|
-
}
|
|
277
|
-
bcs_padding: Iterable<Iterable<number> & {
|
|
247
|
+
}, string>;
|
|
248
|
+
bcs_padding: import("@mysten/sui/bcs").BcsType<number[][], Iterable<Iterable<number> & {
|
|
278
249
|
length: number;
|
|
279
250
|
}> & {
|
|
280
251
|
length: number;
|
|
281
|
-
}
|
|
282
|
-
}>;
|
|
252
|
+
}, string>;
|
|
253
|
+
}, string>;
|
|
283
254
|
static fromFields(fields: Record<string, any>): ExtendLeaderboardEvent;
|
|
284
255
|
static fromFieldsWithTypes(item: FieldsWithTypes): ExtendLeaderboardEvent;
|
|
285
256
|
static fromBcs(data: Uint8Array): ExtendLeaderboardEvent;
|
|
@@ -331,85 +302,46 @@ export declare class Leaderboard implements StructClass {
|
|
|
331
302
|
static get r(): reified.StructClassReified<Leaderboard, LeaderboardFields>;
|
|
332
303
|
static phantom(): PhantomReified<ToTypeStr<Leaderboard>>;
|
|
333
304
|
static get p(): reified.PhantomReified<"0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a::leaderboard::Leaderboard">;
|
|
334
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
335
|
-
id: {
|
|
336
|
-
id: {
|
|
337
|
-
bytes: string
|
|
338
|
-
}
|
|
339
|
-
}
|
|
340
|
-
start_ts_ms: string
|
|
341
|
-
end_ts_ms: string
|
|
342
|
-
score: {
|
|
343
|
-
id: {
|
|
344
|
-
id: {
|
|
345
|
-
bytes: string
|
|
346
|
-
}
|
|
347
|
-
}
|
|
348
|
-
size: string
|
|
349
|
-
}
|
|
350
|
-
ranking: {
|
|
351
|
-
root: string
|
|
352
|
-
internal_nodes: {
|
|
353
|
-
id: {
|
|
354
|
-
id: {
|
|
355
|
-
bytes: string
|
|
356
|
-
}
|
|
357
|
-
}
|
|
358
|
-
size: string
|
|
359
|
-
}
|
|
360
|
-
leaves: {
|
|
361
|
-
id: {
|
|
362
|
-
id: {
|
|
363
|
-
bytes: string
|
|
364
|
-
}
|
|
365
|
-
}
|
|
366
|
-
size: string
|
|
367
|
-
}
|
|
368
|
-
min_leaf_index: string
|
|
369
|
-
max_leaf_index: string
|
|
370
|
-
next_internal_node_index: string
|
|
371
|
-
next_leaf_index: string
|
|
372
|
-
}
|
|
373
|
-
},
|
|
374
|
-
id: {
|
|
375
|
-
id: {
|
|
376
|
-
bytes: string;
|
|
377
|
-
};
|
|
378
|
-
};
|
|
379
|
-
start_ts_ms: string | number | bigint;
|
|
380
|
-
end_ts_ms: string | number | bigint;
|
|
381
|
-
score: {
|
|
382
|
-
id: {
|
|
383
|
-
id: {
|
|
384
|
-
bytes: string;
|
|
385
|
-
};
|
|
386
|
-
};
|
|
387
|
-
size: string | number | bigint;
|
|
388
|
-
};
|
|
389
|
-
ranking: {
|
|
390
|
-
root: string | number | bigint;
|
|
391
|
-
internal_nodes: {
|
|
392
|
-
id: {
|
|
393
|
-
id: {
|
|
394
|
-
bytes: string;
|
|
395
|
-
};
|
|
396
|
-
};
|
|
397
|
-
size: string | number | bigint;
|
|
398
|
-
};
|
|
399
|
-
leaves: {
|
|
400
|
-
id: {
|
|
401
|
-
id: {
|
|
402
|
-
bytes: string;
|
|
403
|
-
};
|
|
404
|
-
};
|
|
405
|
-
size: string | number | bigint;
|
|
406
|
-
};
|
|
407
|
-
min_leaf_index: string | number | bigint;
|
|
408
|
-
max_leaf_index: string | number | bigint;
|
|
409
|
-
next_internal_node_index: string | number | bigint;
|
|
410
|
-
next_leaf_index: string | number | bigint;
|
|
411
|
-
};
|
|
412
|
-
}>;
|
|
305
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
306
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
307
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
308
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
309
|
+
}, string>;
|
|
310
|
+
}, string>;
|
|
311
|
+
start_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
312
|
+
end_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
313
|
+
score: import("@mysten/sui/bcs").BcsStruct<{
|
|
314
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
315
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
316
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
317
|
+
}, string>;
|
|
318
|
+
}, string>;
|
|
319
|
+
size: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
320
|
+
}, string>;
|
|
321
|
+
ranking: import("@mysten/sui/bcs").BcsStruct<{
|
|
322
|
+
root: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
323
|
+
internal_nodes: import("@mysten/sui/bcs").BcsStruct<{
|
|
324
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
325
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
326
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
327
|
+
}, string>;
|
|
328
|
+
}, string>;
|
|
329
|
+
size: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
330
|
+
}, string>;
|
|
331
|
+
leaves: import("@mysten/sui/bcs").BcsStruct<{
|
|
332
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
333
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
334
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
335
|
+
}, string>;
|
|
336
|
+
}, string>;
|
|
337
|
+
size: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
338
|
+
}, string>;
|
|
339
|
+
min_leaf_index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
340
|
+
max_leaf_index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
341
|
+
next_internal_node_index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
342
|
+
next_leaf_index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
343
|
+
}, string>;
|
|
344
|
+
}, string>;
|
|
413
345
|
static fromFields(fields: Record<string, any>): Leaderboard;
|
|
414
346
|
static fromFieldsWithTypes(item: FieldsWithTypes): Leaderboard;
|
|
415
347
|
static fromBcs(data: Uint8Array): Leaderboard;
|
|
@@ -495,29 +427,22 @@ export declare class RemoveLeaderboardEvent implements StructClass {
|
|
|
495
427
|
static get r(): reified.StructClassReified<RemoveLeaderboardEvent, RemoveLeaderboardEventFields>;
|
|
496
428
|
static phantom(): PhantomReified<ToTypeStr<RemoveLeaderboardEvent>>;
|
|
497
429
|
static get p(): reified.PhantomReified<"0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a::leaderboard::RemoveLeaderboardEvent">;
|
|
498
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
499
|
-
key: {
|
|
500
|
-
bytes: number[]
|
|
501
|
-
};
|
|
502
|
-
id: string;
|
|
503
|
-
log: string[];
|
|
504
|
-
bcs_padding: number[][];
|
|
505
|
-
}, {
|
|
506
|
-
key: {
|
|
507
|
-
bytes: Iterable<number> & {
|
|
430
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
431
|
+
key: import("@mysten/sui/bcs").BcsStruct<{
|
|
432
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
508
433
|
length: number;
|
|
509
|
-
}
|
|
510
|
-
}
|
|
511
|
-
id: string
|
|
512
|
-
log: Iterable<string | number | bigint> & {
|
|
434
|
+
}, string>;
|
|
435
|
+
}, string>;
|
|
436
|
+
id: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
437
|
+
log: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
513
438
|
length: number;
|
|
514
|
-
}
|
|
515
|
-
bcs_padding: Iterable<Iterable<number> & {
|
|
439
|
+
}, string>;
|
|
440
|
+
bcs_padding: import("@mysten/sui/bcs").BcsType<number[][], Iterable<Iterable<number> & {
|
|
516
441
|
length: number;
|
|
517
442
|
}> & {
|
|
518
443
|
length: number;
|
|
519
|
-
}
|
|
520
|
-
}>;
|
|
444
|
+
}, string>;
|
|
445
|
+
}, string>;
|
|
521
446
|
static fromFields(fields: Record<string, any>): RemoveLeaderboardEvent;
|
|
522
447
|
static fromFieldsWithTypes(item: FieldsWithTypes): RemoveLeaderboardEvent;
|
|
523
448
|
static fromBcs(data: Uint8Array): RemoveLeaderboardEvent;
|
|
@@ -569,31 +494,23 @@ export declare class ScoreEvent implements StructClass {
|
|
|
569
494
|
static get r(): reified.StructClassReified<ScoreEvent, ScoreEventFields>;
|
|
570
495
|
static phantom(): PhantomReified<ToTypeStr<ScoreEvent>>;
|
|
571
496
|
static get p(): reified.PhantomReified<"0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a::leaderboard::ScoreEvent">;
|
|
572
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
573
|
-
key: {
|
|
574
|
-
bytes: number[]
|
|
575
|
-
};
|
|
576
|
-
id: string;
|
|
577
|
-
user: string;
|
|
578
|
-
log: string[];
|
|
579
|
-
bcs_padding: number[][];
|
|
580
|
-
}, {
|
|
581
|
-
key: {
|
|
582
|
-
bytes: Iterable<number> & {
|
|
497
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
498
|
+
key: import("@mysten/sui/bcs").BcsStruct<{
|
|
499
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
583
500
|
length: number;
|
|
584
|
-
}
|
|
585
|
-
}
|
|
586
|
-
id: string
|
|
587
|
-
user: string
|
|
588
|
-
log: Iterable<string | number | bigint> & {
|
|
501
|
+
}, string>;
|
|
502
|
+
}, string>;
|
|
503
|
+
id: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
504
|
+
user: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
505
|
+
log: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
589
506
|
length: number;
|
|
590
|
-
}
|
|
591
|
-
bcs_padding: Iterable<Iterable<number> & {
|
|
507
|
+
}, string>;
|
|
508
|
+
bcs_padding: import("@mysten/sui/bcs").BcsType<number[][], Iterable<Iterable<number> & {
|
|
592
509
|
length: number;
|
|
593
510
|
}> & {
|
|
594
511
|
length: number;
|
|
595
|
-
}
|
|
596
|
-
}>;
|
|
512
|
+
}, string>;
|
|
513
|
+
}, string>;
|
|
597
514
|
static fromFields(fields: Record<string, any>): ScoreEvent;
|
|
598
515
|
static fromFieldsWithTypes(item: FieldsWithTypes): ScoreEvent;
|
|
599
516
|
static fromBcs(data: Uint8Array): ScoreEvent;
|
|
@@ -643,39 +560,23 @@ export declare class TypusLeaderboardRegistry implements StructClass {
|
|
|
643
560
|
static get r(): reified.StructClassReified<TypusLeaderboardRegistry, TypusLeaderboardRegistryFields>;
|
|
644
561
|
static phantom(): PhantomReified<ToTypeStr<TypusLeaderboardRegistry>>;
|
|
645
562
|
static get p(): reified.PhantomReified<"0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a::leaderboard::TypusLeaderboardRegistry">;
|
|
646
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
647
|
-
id: {
|
|
648
|
-
id: {
|
|
649
|
-
bytes: string
|
|
650
|
-
}
|
|
651
|
-
}
|
|
652
|
-
active_leaderboard_registry: {
|
|
653
|
-
id: {
|
|
654
|
-
bytes: string
|
|
655
|
-
}
|
|
656
|
-
}
|
|
657
|
-
inactive_leaderboard_registry: {
|
|
658
|
-
id: {
|
|
659
|
-
bytes: string
|
|
660
|
-
}
|
|
661
|
-
}
|
|
662
|
-
},
|
|
663
|
-
id: {
|
|
664
|
-
id: {
|
|
665
|
-
bytes: string;
|
|
666
|
-
};
|
|
667
|
-
};
|
|
668
|
-
active_leaderboard_registry: {
|
|
669
|
-
id: {
|
|
670
|
-
bytes: string;
|
|
671
|
-
};
|
|
672
|
-
};
|
|
673
|
-
inactive_leaderboard_registry: {
|
|
674
|
-
id: {
|
|
675
|
-
bytes: string;
|
|
676
|
-
};
|
|
677
|
-
};
|
|
678
|
-
}>;
|
|
563
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
564
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
565
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
566
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
567
|
+
}, string>;
|
|
568
|
+
}, string>;
|
|
569
|
+
active_leaderboard_registry: import("@mysten/sui/bcs").BcsStruct<{
|
|
570
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
571
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
572
|
+
}, string>;
|
|
573
|
+
}, string>;
|
|
574
|
+
inactive_leaderboard_registry: import("@mysten/sui/bcs").BcsStruct<{
|
|
575
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
576
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
577
|
+
}, string>;
|
|
578
|
+
}, string>;
|
|
579
|
+
}, string>;
|
|
679
580
|
static fromFields(fields: Record<string, any>): TypusLeaderboardRegistry;
|
|
680
581
|
static fromFieldsWithTypes(item: FieldsWithTypes): TypusLeaderboardRegistry;
|
|
681
582
|
static fromBcs(data: Uint8Array): TypusLeaderboardRegistry;
|
|
@@ -33,47 +33,29 @@ export declare class LinkedObjectTable<K extends TypeArgument, V extends Phantom
|
|
|
33
33
|
static get r(): typeof LinkedObjectTable.reified;
|
|
34
34
|
static phantom<K extends Reified<TypeArgument, any>, V extends PhantomReified<PhantomTypeArgument>>(K: K, V: V): PhantomReified<ToTypeStr<LinkedObjectTable<ToTypeArgument<K>, ToPhantomTypeArgument<V>>>>;
|
|
35
35
|
static get p(): typeof LinkedObjectTable.phantom;
|
|
36
|
-
static get bcs(): <K extends BcsType<any>>(K: K) =>
|
|
37
|
-
id: {
|
|
38
|
-
id: {
|
|
39
|
-
bytes: string
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
vid: {
|
|
43
|
-
id: {
|
|
44
|
-
bytes: string
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
size: string
|
|
48
|
-
head: {
|
|
49
|
-
vec:
|
|
50
|
-
};
|
|
51
|
-
tail: {
|
|
52
|
-
vec: any[];
|
|
53
|
-
};
|
|
54
|
-
}, {
|
|
55
|
-
id: {
|
|
56
|
-
id: {
|
|
57
|
-
bytes: string;
|
|
58
|
-
};
|
|
59
|
-
};
|
|
60
|
-
vid: {
|
|
61
|
-
id: {
|
|
62
|
-
bytes: string;
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
|
-
size: string | number | bigint;
|
|
66
|
-
head: {
|
|
67
|
-
vec: Iterable<any> & {
|
|
36
|
+
static get bcs(): <K extends BcsType<any>>(K: K) => import("@mysten/sui/bcs").BcsStruct<{
|
|
37
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
38
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
39
|
+
bytes: BcsType<string, string, string>;
|
|
40
|
+
}, string>;
|
|
41
|
+
}, string>;
|
|
42
|
+
vid: import("@mysten/sui/bcs").BcsStruct<{
|
|
43
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
44
|
+
bytes: BcsType<string, string, string>;
|
|
45
|
+
}, string>;
|
|
46
|
+
}, string>;
|
|
47
|
+
size: BcsType<string, string | number | bigint, "u64">;
|
|
48
|
+
head: import("@mysten/sui/bcs").BcsStruct<{
|
|
49
|
+
vec: BcsType<import("@mysten/bcs").InferBcsType<K>[], Iterable<import("@mysten/bcs").InferBcsInput<K>> & {
|
|
68
50
|
length: number;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
tail: {
|
|
72
|
-
vec:
|
|
51
|
+
}, string>;
|
|
52
|
+
}, string>;
|
|
53
|
+
tail: import("@mysten/sui/bcs").BcsStruct<{
|
|
54
|
+
vec: BcsType<import("@mysten/bcs").InferBcsType<K>[], Iterable<import("@mysten/bcs").InferBcsInput<K>> & {
|
|
73
55
|
length: number;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
}>;
|
|
56
|
+
}, string>;
|
|
57
|
+
}, string>;
|
|
58
|
+
}, string>;
|
|
77
59
|
static fromFields<K extends Reified<TypeArgument, any>, V extends PhantomReified<PhantomTypeArgument>>(typeArgs: [K, V], fields: Record<string, any>): LinkedObjectTable<ToTypeArgument<K>, ToPhantomTypeArgument<V>>;
|
|
78
60
|
static fromFieldsWithTypes<K extends Reified<TypeArgument, any>, V extends PhantomReified<PhantomTypeArgument>>(typeArgs: [K, V], item: FieldsWithTypes): LinkedObjectTable<ToTypeArgument<K>, ToPhantomTypeArgument<V>>;
|
|
79
61
|
static fromBcs<K extends Reified<TypeArgument, any>, V extends PhantomReified<PhantomTypeArgument>>(typeArgs: [K, V], data: Uint8Array): LinkedObjectTable<ToTypeArgument<K>, ToPhantomTypeArgument<V>>;
|
|
@@ -121,25 +103,18 @@ export declare class Node<K extends TypeArgument, V extends PhantomTypeArgument>
|
|
|
121
103
|
static get r(): typeof Node.reified;
|
|
122
104
|
static phantom<K extends Reified<TypeArgument, any>, V extends PhantomReified<PhantomTypeArgument>>(K: K, V: V): PhantomReified<ToTypeStr<Node<ToTypeArgument<K>, ToPhantomTypeArgument<V>>>>;
|
|
123
105
|
static get p(): typeof Node.phantom;
|
|
124
|
-
static get bcs(): <K extends BcsType<any>>(K: K) =>
|
|
125
|
-
prev: {
|
|
126
|
-
vec:
|
|
127
|
-
};
|
|
128
|
-
next: {
|
|
129
|
-
vec: any[];
|
|
130
|
-
};
|
|
131
|
-
}, {
|
|
132
|
-
prev: {
|
|
133
|
-
vec: Iterable<any> & {
|
|
106
|
+
static get bcs(): <K extends BcsType<any>>(K: K) => import("@mysten/sui/bcs").BcsStruct<{
|
|
107
|
+
prev: import("@mysten/sui/bcs").BcsStruct<{
|
|
108
|
+
vec: BcsType<import("@mysten/bcs").InferBcsType<K>[], Iterable<import("@mysten/bcs").InferBcsInput<K>> & {
|
|
134
109
|
length: number;
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
next: {
|
|
138
|
-
vec:
|
|
110
|
+
}, string>;
|
|
111
|
+
}, string>;
|
|
112
|
+
next: import("@mysten/sui/bcs").BcsStruct<{
|
|
113
|
+
vec: BcsType<import("@mysten/bcs").InferBcsType<K>[], Iterable<import("@mysten/bcs").InferBcsInput<K>> & {
|
|
139
114
|
length: number;
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
}>;
|
|
115
|
+
}, string>;
|
|
116
|
+
}, string>;
|
|
117
|
+
}, string>;
|
|
143
118
|
static fromFields<K extends Reified<TypeArgument, any>, V extends PhantomReified<PhantomTypeArgument>>(typeArgs: [K, V], fields: Record<string, any>): Node<ToTypeArgument<K>, ToPhantomTypeArgument<V>>;
|
|
144
119
|
static fromFieldsWithTypes<K extends Reified<TypeArgument, any>, V extends PhantomReified<PhantomTypeArgument>>(typeArgs: [K, V], item: FieldsWithTypes): Node<ToTypeArgument<K>, ToPhantomTypeArgument<V>>;
|
|
145
120
|
static fromBcs<K extends Reified<TypeArgument, any>, V extends PhantomReified<PhantomTypeArgument>>(typeArgs: [K, V], data: Uint8Array): Node<ToTypeArgument<K>, ToPhantomTypeArgument<V>>;
|
|
@@ -31,37 +31,24 @@ export declare class LinkedSet<K extends TypeArgument> implements StructClass {
|
|
|
31
31
|
static get r(): typeof LinkedSet.reified;
|
|
32
32
|
static phantom<K extends Reified<TypeArgument, any>>(K: K): PhantomReified<ToTypeStr<LinkedSet<ToTypeArgument<K>>>>;
|
|
33
33
|
static get p(): typeof LinkedSet.phantom;
|
|
34
|
-
static get bcs(): <K extends BcsType<any>>(K: K) =>
|
|
35
|
-
id: {
|
|
36
|
-
id: {
|
|
37
|
-
bytes: string
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
size: string
|
|
41
|
-
head: {
|
|
42
|
-
vec:
|
|
43
|
-
};
|
|
44
|
-
tail: {
|
|
45
|
-
vec: any[];
|
|
46
|
-
};
|
|
47
|
-
}, {
|
|
48
|
-
id: {
|
|
49
|
-
id: {
|
|
50
|
-
bytes: string;
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
|
-
size: string | number | bigint;
|
|
54
|
-
head: {
|
|
55
|
-
vec: Iterable<any> & {
|
|
34
|
+
static get bcs(): <K extends BcsType<any>>(K: K) => import("@mysten/sui/bcs").BcsStruct<{
|
|
35
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
36
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
37
|
+
bytes: BcsType<string, string, string>;
|
|
38
|
+
}, string>;
|
|
39
|
+
}, string>;
|
|
40
|
+
size: BcsType<string, string | number | bigint, "u64">;
|
|
41
|
+
head: import("@mysten/sui/bcs").BcsStruct<{
|
|
42
|
+
vec: BcsType<import("@mysten/bcs").InferBcsType<K>[], Iterable<import("@mysten/bcs").InferBcsInput<K>> & {
|
|
56
43
|
length: number;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
tail: {
|
|
60
|
-
vec:
|
|
44
|
+
}, string>;
|
|
45
|
+
}, string>;
|
|
46
|
+
tail: import("@mysten/sui/bcs").BcsStruct<{
|
|
47
|
+
vec: BcsType<import("@mysten/bcs").InferBcsType<K>[], Iterable<import("@mysten/bcs").InferBcsInput<K>> & {
|
|
61
48
|
length: number;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
}>;
|
|
49
|
+
}, string>;
|
|
50
|
+
}, string>;
|
|
51
|
+
}, string>;
|
|
65
52
|
static fromFields<K extends Reified<TypeArgument, any>>(typeArg: K, fields: Record<string, any>): LinkedSet<ToTypeArgument<K>>;
|
|
66
53
|
static fromFieldsWithTypes<K extends Reified<TypeArgument, any>>(typeArg: K, item: FieldsWithTypes): LinkedSet<ToTypeArgument<K>>;
|
|
67
54
|
static fromBcs<K extends Reified<TypeArgument, any>>(typeArg: K, data: Uint8Array): LinkedSet<ToTypeArgument<K>>;
|
|
@@ -107,25 +94,18 @@ export declare class Node<K extends TypeArgument> implements StructClass {
|
|
|
107
94
|
static get r(): typeof Node.reified;
|
|
108
95
|
static phantom<K extends Reified<TypeArgument, any>>(K: K): PhantomReified<ToTypeStr<Node<ToTypeArgument<K>>>>;
|
|
109
96
|
static get p(): typeof Node.phantom;
|
|
110
|
-
static get bcs(): <K extends BcsType<any>>(K: K) =>
|
|
111
|
-
prev: {
|
|
112
|
-
vec:
|
|
113
|
-
};
|
|
114
|
-
next: {
|
|
115
|
-
vec: any[];
|
|
116
|
-
};
|
|
117
|
-
}, {
|
|
118
|
-
prev: {
|
|
119
|
-
vec: Iterable<any> & {
|
|
97
|
+
static get bcs(): <K extends BcsType<any>>(K: K) => import("@mysten/sui/bcs").BcsStruct<{
|
|
98
|
+
prev: import("@mysten/sui/bcs").BcsStruct<{
|
|
99
|
+
vec: BcsType<import("@mysten/bcs").InferBcsType<K>[], Iterable<import("@mysten/bcs").InferBcsInput<K>> & {
|
|
120
100
|
length: number;
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
next: {
|
|
124
|
-
vec:
|
|
101
|
+
}, string>;
|
|
102
|
+
}, string>;
|
|
103
|
+
next: import("@mysten/sui/bcs").BcsStruct<{
|
|
104
|
+
vec: BcsType<import("@mysten/bcs").InferBcsType<K>[], Iterable<import("@mysten/bcs").InferBcsInput<K>> & {
|
|
125
105
|
length: number;
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
}>;
|
|
106
|
+
}, string>;
|
|
107
|
+
}, string>;
|
|
108
|
+
}, string>;
|
|
129
109
|
static fromFields<K extends Reified<TypeArgument, any>>(typeArg: K, fields: Record<string, any>): Node<ToTypeArgument<K>>;
|
|
130
110
|
static fromFieldsWithTypes<K extends Reified<TypeArgument, any>>(typeArg: K, item: FieldsWithTypes): Node<ToTypeArgument<K>>;
|
|
131
111
|
static fromBcs<K extends Reified<TypeArgument, any>>(typeArg: K, data: Uint8Array): Node<ToTypeArgument<K>>;
|