@typus/typus-perp-sdk 1.1.29 → 1.1.30-testnet

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.
Files changed (58) hide show
  1. package/dist/src/_dependencies/source/0x1/ascii/structs.d.ts +7 -11
  2. package/dist/src/_dependencies/source/0x1/option/structs.d.ts +4 -6
  3. package/dist/src/_dependencies/source/0x1/string/structs.d.ts +4 -6
  4. package/dist/src/_dependencies/source/0x1/type-name/structs.d.ts +6 -10
  5. package/dist/src/_dependencies/source/0x2/bag/structs.d.ts +8 -15
  6. package/dist/src/_dependencies/source/0x2/balance/structs.d.ts +6 -10
  7. package/dist/src/_dependencies/source/0x2/coin/structs.d.ts +85 -139
  8. package/dist/src/_dependencies/source/0x2/linked-table/structs.d.ts +27 -48
  9. package/dist/src/_dependencies/source/0x2/object/structs.d.ts +8 -14
  10. package/dist/src/_dependencies/source/0x2/object-table/structs.d.ts +8 -15
  11. package/dist/src/_dependencies/source/0x2/sui/structs.d.ts +3 -5
  12. package/dist/src/_dependencies/source/0x2/table/structs.d.ts +8 -15
  13. package/dist/src/_dependencies/source/0x2/table-vec/structs.d.ts +10 -19
  14. package/dist/src/_dependencies/source/0x2/token/structs.d.ts +90 -118
  15. package/dist/src/_dependencies/source/0x2/transfer-policy/structs.d.ts +70 -92
  16. package/dist/src/_dependencies/source/0x2/url/structs.d.ts +6 -10
  17. package/dist/src/_dependencies/source/0x2/vec-map/structs.d.ts +13 -18
  18. package/dist/src/_dependencies/source/0x2/vec-set/structs.d.ts +4 -6
  19. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/airdrop/structs.d.ts +86 -153
  20. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/big-vector/structs.d.ts +21 -38
  21. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/critbit/structs.d.ts +34 -65
  22. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/ecosystem/structs.d.ts +58 -101
  23. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/keyed-big-vector/structs.d.ts +36 -61
  24. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/leaderboard/structs.d.ts +125 -224
  25. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/linked-object-table/structs.d.ts +31 -56
  26. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/linked-set/structs.d.ts +26 -46
  27. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/tails-staking/structs.d.ts +186 -300
  28. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/tgld/structs.d.ts +43 -78
  29. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/user/structs.d.ts +48 -82
  30. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/authority/structs.d.ts +18 -33
  31. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/balance-pool/structs.d.ts +65 -118
  32. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/big-vector/structs.d.ts +10 -19
  33. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/dutch/structs.d.ts +133 -253
  34. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/i64/structs.d.ts +3 -5
  35. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/linked-list/structs.d.ts +26 -46
  36. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/vault/structs.d.ts +433 -713
  37. package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/discount-mint/structs.d.ts +69 -125
  38. package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/royalty-rule/structs.d.ts +7 -12
  39. package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/staking/structs.d.ts +87 -155
  40. package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/table-vec/structs.d.ts +10 -19
  41. package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/typus-nft/structs.d.ts +183 -326
  42. package/dist/src/_framework/util.d.ts +1 -1
  43. package/dist/src/_framework/vector.d.ts +12 -5
  44. package/dist/src/typus_perp/admin/structs.d.ts +85 -147
  45. package/dist/src/typus_perp/competition/structs.d.ts +16 -28
  46. package/dist/src/typus_perp/escrow/structs.d.ts +20 -32
  47. package/dist/src/typus_perp/lp-pool/structs.d.ts +736 -1299
  48. package/dist/src/typus_perp/position/structs.d.ts +236 -395
  49. package/dist/src/typus_perp/symbol/structs.d.ts +14 -25
  50. package/dist/src/typus_perp/tlp/structs.d.ts +10 -18
  51. package/dist/src/typus_perp/trading/structs.d.ts +714 -1267
  52. package/dist/src/typus_perp/treasury-caps/structs.d.ts +7 -13
  53. package/dist/src/typus_perp/user-account/structs.d.ts +27 -47
  54. package/dist/src/typus_stake_pool/admin/structs.d.ts +67 -115
  55. package/dist/src/typus_stake_pool/stake-pool/structs.d.ts +371 -649
  56. package/dist/src/user/orderWithBidReceipt.d.ts +1 -0
  57. package/dist/src/user/orderWithBidReceipt.js +1 -0
  58. package/package.json +4 -3
@@ -15,11 +15,18 @@ export declare class Vector<T extends TypeArgument> implements VectorClass {
15
15
  constructor(typeArgs: [ToTypeStr<T>], elements: VectorElements<T>);
16
16
  static reified<T extends Reified<TypeArgument, any>>(T: T): VectorReified<ToTypeArgument<T>>;
17
17
  static get r(): typeof Vector.reified;
18
- static get bcs(): <T, Input>(type: import("@mysten/sui/bcs").BcsType<T, Input>, options?: import("@mysten/sui/bcs").BcsTypeOptions<T[], Iterable<Input> & {
19
- length: number;
20
- }>) => import("@mysten/sui/bcs").BcsType<T[], Iterable<Input> & {
21
- length: number;
22
- }>;
18
+ static get bcs(): {
19
+ <T extends import("@mysten/sui/bcs").BcsType<any>, Name extends string = `vector<${T["name"]}>`>(type: T, options?: import("@mysten/sui/bcs").BcsTypeOptions<import("@mysten/bcs").InferBcsType<T>[], Iterable<import("@mysten/bcs").InferBcsInput<T>> & {
20
+ length: number;
21
+ }, Name>): import("@mysten/sui/bcs").BcsType<import("@mysten/bcs").InferBcsType<T>[], Iterable<import("@mysten/bcs").InferBcsInput<T>> & {
22
+ length: number;
23
+ }, Name>;
24
+ <T, Input, Name extends string = string>(type: import("@mysten/sui/bcs").BcsType<T, Input, Name>, options?: import("@mysten/sui/bcs").BcsTypeOptions<T[], Iterable<Input> & {
25
+ length: number;
26
+ }, `vector<${Name}>`>): import("@mysten/sui/bcs").BcsType<T[], Iterable<Input> & {
27
+ length: number;
28
+ }, `vector<${Name}>`>;
29
+ };
23
30
  static fromFields<T extends Reified<TypeArgument, any>>(typeArg: T, elements: any[]): Vector<ToTypeArgument<T>>;
24
31
  static fromFieldsWithTypes<T extends Reified<TypeArgument, any>>(typeArg: T, item: FieldsWithTypes): Vector<ToTypeArgument<T>>;
25
32
  static fromBcs<T extends Reified<TypeArgument, any>>(typeArg: T, data: Uint8Array): Vector<ToTypeArgument<T>>;
@@ -29,23 +29,16 @@ export declare class FeeInfo implements StructClass {
29
29
  static get r(): reified.StructClassReified<FeeInfo, FeeInfoFields>;
30
30
  static phantom(): PhantomReified<ToTypeStr<FeeInfo>>;
31
31
  static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::admin::FeeInfo" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::admin::FeeInfo">;
32
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
33
- token: {
34
- name: {
35
- bytes: number[];
36
- };
37
- };
38
- value: string;
39
- }, {
40
- token: {
41
- name: {
42
- bytes: Iterable<number> & {
32
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
33
+ token: import("@mysten/sui/bcs").BcsStruct<{
34
+ name: import("@mysten/sui/bcs").BcsStruct<{
35
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
43
36
  length: number;
44
- };
45
- };
46
- };
47
- value: string | number | bigint;
48
- }>;
37
+ }, string>;
38
+ }, string>;
39
+ }, string>;
40
+ value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
41
+ }, string>;
49
42
  static fromFields(fields: Record<string, any>): FeeInfo;
50
43
  static fromFieldsWithTypes(item: FieldsWithTypes): FeeInfo;
51
44
  static fromBcs(data: Uint8Array): FeeInfo;
@@ -91,27 +84,20 @@ export declare class FeePool implements StructClass {
91
84
  static get r(): reified.StructClassReified<FeePool, FeePoolFields>;
92
85
  static phantom(): PhantomReified<ToTypeStr<FeePool>>;
93
86
  static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::admin::FeePool" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::admin::FeePool">;
94
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
95
- id: {
96
- id: {
97
- bytes: string;
98
- };
99
- };
100
- fee_infos: {
87
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
88
+ id: import("@mysten/sui/bcs").BcsStruct<{
89
+ id: import("@mysten/sui/bcs").BcsStruct<{
90
+ bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
91
+ }, string>;
92
+ }, string>;
93
+ fee_infos: import("@mysten/sui/bcs").BcsType<{
101
94
  token: {
102
95
  name: {
103
96
  bytes: number[];
104
97
  };
105
98
  };
106
99
  value: string;
107
- }[];
108
- }, {
109
- id: {
110
- id: {
111
- bytes: string;
112
- };
113
- };
114
- fee_infos: Iterable<{
100
+ }[], Iterable<{
115
101
  token: {
116
102
  name: {
117
103
  bytes: Iterable<number> & {
@@ -122,8 +108,8 @@ export declare class FeePool implements StructClass {
122
108
  value: string | number | bigint;
123
109
  }> & {
124
110
  length: number;
125
- };
126
- }>;
111
+ }, string>;
112
+ }, string>;
127
113
  static fromFields(fields: Record<string, any>): FeePool;
128
114
  static fromFieldsWithTypes(item: FieldsWithTypes): FeePool;
129
115
  static fromBcs(data: Uint8Array): FeePool;
@@ -175,23 +161,16 @@ export declare class ProtocolFeeEvent implements StructClass {
175
161
  static get r(): reified.StructClassReified<ProtocolFeeEvent, ProtocolFeeEventFields>;
176
162
  static phantom(): PhantomReified<ToTypeStr<ProtocolFeeEvent>>;
177
163
  static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::admin::ProtocolFeeEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::admin::ProtocolFeeEvent">;
178
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
179
- token: {
180
- name: {
181
- bytes: number[];
182
- };
183
- };
184
- amount: string;
185
- }, {
186
- token: {
187
- name: {
188
- bytes: Iterable<number> & {
164
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
165
+ token: import("@mysten/sui/bcs").BcsStruct<{
166
+ name: import("@mysten/sui/bcs").BcsStruct<{
167
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
189
168
  length: number;
190
- };
191
- };
192
- };
193
- amount: string | number | bigint;
194
- }>;
169
+ }, string>;
170
+ }, string>;
171
+ }, string>;
172
+ amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
173
+ }, string>;
195
174
  static fromFields(fields: Record<string, any>): ProtocolFeeEvent;
196
175
  static fromFieldsWithTypes(item: FieldsWithTypes): ProtocolFeeEvent;
197
176
  static fromBcs(data: Uint8Array): ProtocolFeeEvent;
@@ -237,23 +216,16 @@ export declare class PutInsuranceFundEvent implements StructClass {
237
216
  static get r(): reified.StructClassReified<PutInsuranceFundEvent, PutInsuranceFundEventFields>;
238
217
  static phantom(): PhantomReified<ToTypeStr<PutInsuranceFundEvent>>;
239
218
  static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::admin::PutInsuranceFundEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::admin::PutInsuranceFundEvent">;
240
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
241
- token: {
242
- name: {
243
- bytes: number[];
244
- };
245
- };
246
- amount: string;
247
- }, {
248
- token: {
249
- name: {
250
- bytes: Iterable<number> & {
219
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
220
+ token: import("@mysten/sui/bcs").BcsStruct<{
221
+ name: import("@mysten/sui/bcs").BcsStruct<{
222
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
251
223
  length: number;
252
- };
253
- };
254
- };
255
- amount: string | number | bigint;
256
- }>;
224
+ }, string>;
225
+ }, string>;
226
+ }, string>;
227
+ amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
228
+ }, string>;
257
229
  static fromFields(fields: Record<string, any>): PutInsuranceFundEvent;
258
230
  static fromFieldsWithTypes(item: FieldsWithTypes): PutInsuranceFundEvent;
259
231
  static fromBcs(data: Uint8Array): PutInsuranceFundEvent;
@@ -299,23 +271,16 @@ export declare class SendFeeEvent implements StructClass {
299
271
  static get r(): reified.StructClassReified<SendFeeEvent, SendFeeEventFields>;
300
272
  static phantom(): PhantomReified<ToTypeStr<SendFeeEvent>>;
301
273
  static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::admin::SendFeeEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::admin::SendFeeEvent">;
302
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
303
- token: {
304
- name: {
305
- bytes: number[];
306
- };
307
- };
308
- amount: string;
309
- }, {
310
- token: {
311
- name: {
312
- bytes: Iterable<number> & {
274
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
275
+ token: import("@mysten/sui/bcs").BcsStruct<{
276
+ name: import("@mysten/sui/bcs").BcsStruct<{
277
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
313
278
  length: number;
314
- };
315
- };
316
- };
317
- amount: string | number | bigint;
318
- }>;
279
+ }, string>;
280
+ }, string>;
281
+ }, string>;
282
+ amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
283
+ }, string>;
319
284
  static fromFields(fields: Record<string, any>): SendFeeEvent;
320
285
  static fromFieldsWithTypes(item: FieldsWithTypes): SendFeeEvent;
321
286
  static fromBcs(data: Uint8Array): SendFeeEvent;
@@ -369,61 +334,27 @@ export declare class Version implements StructClass {
369
334
  static get r(): reified.StructClassReified<Version, VersionFields>;
370
335
  static phantom(): PhantomReified<ToTypeStr<Version>>;
371
336
  static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::admin::Version" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::admin::Version">;
372
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
373
- id: {
374
- id: {
375
- bytes: string;
376
- };
377
- };
378
- value: string;
379
- fee_pool: {
380
- id: {
381
- id: {
382
- bytes: string;
383
- };
384
- };
385
- fee_infos: {
337
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
338
+ id: import("@mysten/sui/bcs").BcsStruct<{
339
+ id: import("@mysten/sui/bcs").BcsStruct<{
340
+ bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
341
+ }, string>;
342
+ }, string>;
343
+ value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
344
+ fee_pool: import("@mysten/sui/bcs").BcsStruct<{
345
+ id: import("@mysten/sui/bcs").BcsStruct<{
346
+ id: import("@mysten/sui/bcs").BcsStruct<{
347
+ bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
348
+ }, string>;
349
+ }, string>;
350
+ fee_infos: import("@mysten/sui/bcs").BcsType<{
386
351
  token: {
387
352
  name: {
388
353
  bytes: number[];
389
354
  };
390
355
  };
391
356
  value: string;
392
- }[];
393
- };
394
- liquidator_fee_pool: {
395
- id: {
396
- id: {
397
- bytes: string;
398
- };
399
- };
400
- fee_infos: {
401
- token: {
402
- name: {
403
- bytes: number[];
404
- };
405
- };
406
- value: string;
407
- }[];
408
- };
409
- authority: {
410
- contents: any[];
411
- };
412
- u64_padding: string[];
413
- }, {
414
- id: {
415
- id: {
416
- bytes: string;
417
- };
418
- };
419
- value: string | number | bigint;
420
- fee_pool: {
421
- id: {
422
- id: {
423
- bytes: string;
424
- };
425
- };
426
- fee_infos: Iterable<{
357
+ }[], Iterable<{
427
358
  token: {
428
359
  name: {
429
360
  bytes: Iterable<number> & {
@@ -434,15 +365,22 @@ export declare class Version implements StructClass {
434
365
  value: string | number | bigint;
435
366
  }> & {
436
367
  length: number;
437
- };
438
- };
439
- liquidator_fee_pool: {
440
- id: {
441
- id: {
442
- bytes: string;
368
+ }, string>;
369
+ }, string>;
370
+ liquidator_fee_pool: import("@mysten/sui/bcs").BcsStruct<{
371
+ id: import("@mysten/sui/bcs").BcsStruct<{
372
+ id: import("@mysten/sui/bcs").BcsStruct<{
373
+ bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
374
+ }, string>;
375
+ }, string>;
376
+ fee_infos: import("@mysten/sui/bcs").BcsType<{
377
+ token: {
378
+ name: {
379
+ bytes: number[];
380
+ };
443
381
  };
444
- };
445
- fee_infos: Iterable<{
382
+ value: string;
383
+ }[], Iterable<{
446
384
  token: {
447
385
  name: {
448
386
  bytes: Iterable<number> & {
@@ -453,17 +391,17 @@ export declare class Version implements StructClass {
453
391
  value: string | number | bigint;
454
392
  }> & {
455
393
  length: number;
456
- };
457
- };
458
- authority: {
459
- contents: Iterable<any> & {
394
+ }, string>;
395
+ }, string>;
396
+ authority: import("@mysten/sui/bcs").BcsStruct<{
397
+ contents: import("@mysten/sui/bcs").BcsType<string[], Iterable<string> & {
460
398
  length: number;
461
- };
462
- };
463
- u64_padding: Iterable<string | number | bigint> & {
399
+ }, string>;
400
+ }, string>;
401
+ u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
464
402
  length: number;
465
- };
466
- }>;
403
+ }, string>;
404
+ }, string>;
467
405
  static fromFields(fields: Record<string, any>): Version;
468
406
  static fromFieldsWithTypes(item: FieldsWithTypes): Version;
469
407
  static fromBcs(data: Uint8Array): Version;
@@ -34,37 +34,25 @@ export declare class CompetitionConfig implements StructClass {
34
34
  static get r(): reified.StructClassReified<CompetitionConfig, CompetitionConfigFields>;
35
35
  static phantom(): PhantomReified<ToTypeStr<CompetitionConfig>>;
36
36
  static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::competition::CompetitionConfig" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::competition::CompetitionConfig">;
37
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
38
- id: {
39
- id: {
40
- bytes: string;
41
- };
42
- };
43
- boost_bp: string[];
44
- is_active: boolean;
45
- program_name: {
46
- bytes: number[];
47
- };
48
- u64_padding: string[];
49
- }, {
50
- id: {
51
- id: {
52
- bytes: string;
53
- };
54
- };
55
- boost_bp: Iterable<string | number | bigint> & {
37
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
38
+ id: import("@mysten/sui/bcs").BcsStruct<{
39
+ id: import("@mysten/sui/bcs").BcsStruct<{
40
+ bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
41
+ }, string>;
42
+ }, string>;
43
+ boost_bp: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
56
44
  length: number;
57
- };
58
- is_active: boolean;
59
- program_name: {
60
- bytes: Iterable<number> & {
45
+ }, string>;
46
+ is_active: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
47
+ program_name: import("@mysten/sui/bcs").BcsStruct<{
48
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
61
49
  length: number;
62
- };
63
- };
64
- u64_padding: Iterable<string | number | bigint> & {
50
+ }, string>;
51
+ }, string>;
52
+ u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
65
53
  length: number;
66
- };
67
- }>;
54
+ }, string>;
55
+ }, string>;
68
56
  static fromFields(fields: Record<string, any>): CompetitionConfig;
69
57
  static fromFieldsWithTypes(item: FieldsWithTypes): CompetitionConfig;
70
58
  static fromBcs(data: Uint8Array): CompetitionConfig;
@@ -46,8 +46,8 @@ export declare class UnsettledBidReceipt implements StructClass {
46
46
  static get r(): reified.StructClassReified<UnsettledBidReceipt, UnsettledBidReceiptFields>;
47
47
  static phantom(): PhantomReified<ToTypeStr<UnsettledBidReceipt>>;
48
48
  static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::escrow::UnsettledBidReceipt" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::escrow::UnsettledBidReceipt">;
49
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
50
- receipt: {
49
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
50
+ receipt: import("@mysten/sui/bcs").BcsType<{
51
51
  id: {
52
52
  id: {
53
53
  bytes: string;
@@ -61,23 +61,7 @@ export declare class UnsettledBidReceipt implements StructClass {
61
61
  bytes: number[];
62
62
  };
63
63
  u64_padding: string[];
64
- }[];
65
- position_id: string;
66
- user: string;
67
- token_types: {
68
- name: {
69
- bytes: number[];
70
- };
71
- }[];
72
- unrealized_pnl_sign: boolean;
73
- unrealized_pnl: string;
74
- unrealized_trading_fee: string;
75
- unrealized_borrow_fee: string;
76
- unrealized_funding_fee_sign: boolean;
77
- unrealized_funding_fee: string;
78
- unrealized_liquidator_fee: string;
79
- }, {
80
- receipt: Iterable<{
64
+ }[], Iterable<{
81
65
  id: {
82
66
  id: {
83
67
  bytes: string;
@@ -97,10 +81,14 @@ export declare class UnsettledBidReceipt implements StructClass {
97
81
  };
98
82
  }> & {
99
83
  length: number;
100
- };
101
- position_id: string | number | bigint;
102
- user: string;
103
- token_types: Iterable<{
84
+ }, string>;
85
+ position_id: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
86
+ user: import("@mysten/sui/bcs").BcsType<string, string, string>;
87
+ token_types: import("@mysten/sui/bcs").BcsType<{
88
+ name: {
89
+ bytes: number[];
90
+ };
91
+ }[], Iterable<{
104
92
  name: {
105
93
  bytes: Iterable<number> & {
106
94
  length: number;
@@ -108,15 +96,15 @@ export declare class UnsettledBidReceipt implements StructClass {
108
96
  };
109
97
  }> & {
110
98
  length: number;
111
- };
112
- unrealized_pnl_sign: boolean;
113
- unrealized_pnl: string | number | bigint;
114
- unrealized_trading_fee: string | number | bigint;
115
- unrealized_borrow_fee: string | number | bigint;
116
- unrealized_funding_fee_sign: boolean;
117
- unrealized_funding_fee: string | number | bigint;
118
- unrealized_liquidator_fee: string | number | bigint;
119
- }>;
99
+ }, string>;
100
+ unrealized_pnl_sign: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
101
+ unrealized_pnl: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
102
+ unrealized_trading_fee: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
103
+ unrealized_borrow_fee: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
104
+ unrealized_funding_fee_sign: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
105
+ unrealized_funding_fee: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
106
+ unrealized_liquidator_fee: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
107
+ }, string>;
120
108
  static fromFields(fields: Record<string, any>): UnsettledBidReceipt;
121
109
  static fromFieldsWithTypes(item: FieldsWithTypes): UnsettledBidReceipt;
122
110
  static fromBcs(data: Uint8Array): UnsettledBidReceipt;