@typus/typus-perp-sdk 1.1.28 → 1.1.30

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 (59) 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/history.js +1 -1
  57. package/dist/src/user/orderWithBidReceipt.d.ts +1 -0
  58. package/dist/src/user/orderWithBidReceipt.js +1 -0
  59. package/package.json +5 -4
@@ -29,25 +29,16 @@ export declare class BigVector<Element extends PhantomTypeArgument> implements S
29
29
  static get r(): typeof BigVector.reified;
30
30
  static phantom<Element extends PhantomReified<PhantomTypeArgument>>(Element: Element): PhantomReified<ToTypeStr<BigVector<ToPhantomTypeArgument<Element>>>>;
31
31
  static get p(): typeof BigVector.phantom;
32
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
33
- id: {
34
- id: {
35
- bytes: string;
36
- };
37
- };
38
- slice_count: string;
39
- slice_size: string;
40
- length: string;
41
- }, {
42
- id: {
43
- id: {
44
- bytes: string;
45
- };
46
- };
47
- slice_count: string | number | bigint;
48
- slice_size: string | number | bigint;
49
- length: string | number | bigint;
50
- }>;
32
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
33
+ id: import("@mysten/sui/bcs").BcsStruct<{
34
+ id: import("@mysten/sui/bcs").BcsStruct<{
35
+ bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
36
+ }, string>;
37
+ }, string>;
38
+ slice_count: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
39
+ slice_size: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
40
+ length: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
41
+ }, string>;
51
42
  static fromFields<Element extends PhantomReified<PhantomTypeArgument>>(typeArg: Element, fields: Record<string, any>): BigVector<ToPhantomTypeArgument<Element>>;
52
43
  static fromFieldsWithTypes<Element extends PhantomReified<PhantomTypeArgument>>(typeArg: Element, item: FieldsWithTypes): BigVector<ToPhantomTypeArgument<Element>>;
53
44
  static fromBcs<Element extends PhantomReified<PhantomTypeArgument>>(typeArg: Element, data: Uint8Array): BigVector<ToPhantomTypeArgument<Element>>;
@@ -58,79 +58,44 @@ export declare class Auction implements StructClass {
58
58
  static get r(): reified.StructClassReified<Auction, AuctionFields>;
59
59
  static phantom(): PhantomReified<ToTypeStr<Auction>>;
60
60
  static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::dutch::Auction">;
61
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
62
- id: {
63
- id: {
64
- bytes: string;
65
- };
66
- };
67
- index: string;
68
- token: {
69
- name: {
70
- bytes: number[];
71
- };
72
- };
73
- start_ts_ms: string;
74
- end_ts_ms: string;
75
- size: string;
76
- decay_speed: string;
77
- initial_price: string;
78
- final_price: string;
79
- fee_bp: string;
80
- incentive_bp: string;
81
- token_decimal: string;
82
- size_decimal: string;
83
- total_bid_size: string;
84
- able_to_remove_bid: boolean;
85
- bids: {
86
- id: {
87
- id: {
88
- bytes: string;
89
- };
90
- };
91
- slice_count: string;
92
- slice_size: string;
93
- length: string;
94
- };
95
- bid_index: string;
96
- }, {
97
- id: {
98
- id: {
99
- bytes: string;
100
- };
101
- };
102
- index: string | number | bigint;
103
- token: {
104
- name: {
105
- bytes: Iterable<number> & {
61
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
62
+ id: import("@mysten/sui/bcs").BcsStruct<{
63
+ id: import("@mysten/sui/bcs").BcsStruct<{
64
+ bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
65
+ }, string>;
66
+ }, string>;
67
+ index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
68
+ token: import("@mysten/sui/bcs").BcsStruct<{
69
+ name: import("@mysten/sui/bcs").BcsStruct<{
70
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
106
71
  length: number;
107
- };
108
- };
109
- };
110
- start_ts_ms: string | number | bigint;
111
- end_ts_ms: string | number | bigint;
112
- size: string | number | bigint;
113
- decay_speed: string | number | bigint;
114
- initial_price: string | number | bigint;
115
- final_price: string | number | bigint;
116
- fee_bp: string | number | bigint;
117
- incentive_bp: string | number | bigint;
118
- token_decimal: string | number | bigint;
119
- size_decimal: string | number | bigint;
120
- total_bid_size: string | number | bigint;
121
- able_to_remove_bid: boolean;
122
- bids: {
123
- id: {
124
- id: {
125
- bytes: string;
126
- };
127
- };
128
- slice_count: string | number | bigint;
129
- slice_size: string | number | bigint;
130
- length: string | number | bigint;
131
- };
132
- bid_index: string | number | bigint;
133
- }>;
72
+ }, string>;
73
+ }, string>;
74
+ }, string>;
75
+ start_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
76
+ end_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
77
+ size: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
78
+ decay_speed: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
79
+ initial_price: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
80
+ final_price: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
81
+ fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
82
+ incentive_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
83
+ token_decimal: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
84
+ size_decimal: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
85
+ total_bid_size: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
86
+ able_to_remove_bid: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
87
+ bids: 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
+ slice_count: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
94
+ slice_size: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
95
+ length: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
96
+ }, string>;
97
+ bid_index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
98
+ }, string>;
134
99
  static fromFields(fields: Record<string, any>): Auction;
135
100
  static fromFieldsWithTypes(item: FieldsWithTypes): Auction;
136
101
  static fromBcs(data: Uint8Array): Auction;
@@ -228,25 +193,16 @@ export declare class Bid implements StructClass {
228
193
  static get r(): reified.StructClassReified<Bid, BidFields>;
229
194
  static phantom(): PhantomReified<ToTypeStr<Bid>>;
230
195
  static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::dutch::Bid">;
231
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
232
- index: string;
233
- bidder: string;
234
- price: string;
235
- size: string;
236
- bidder_balance: string;
237
- incentive_balance: string;
238
- fee_discount: string;
239
- ts_ms: string;
240
- }, {
241
- index: string | number | bigint;
242
- bidder: string;
243
- price: string | number | bigint;
244
- size: string | number | bigint;
245
- bidder_balance: string | number | bigint;
246
- incentive_balance: string | number | bigint;
247
- fee_discount: string | number | bigint;
248
- ts_ms: string | number | bigint;
249
- }>;
196
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
197
+ index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
198
+ bidder: import("@mysten/sui/bcs").BcsType<string, string, string>;
199
+ price: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
200
+ size: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
201
+ bidder_balance: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
202
+ incentive_balance: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
203
+ fee_discount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
204
+ ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
205
+ }, string>;
250
206
  static fromFields(fields: Record<string, any>): Bid;
251
207
  static fromFieldsWithTypes(item: FieldsWithTypes): Bid;
252
208
  static fromBcs(data: Uint8Array): Bid;
@@ -298,11 +254,9 @@ export declare class DUTCH implements StructClass {
298
254
  static get r(): reified.StructClassReified<DUTCH, DUTCHFields>;
299
255
  static phantom(): PhantomReified<ToTypeStr<DUTCH>>;
300
256
  static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::dutch::DUTCH">;
301
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
302
- dummy_field: boolean;
303
- }, {
304
- dummy_field: boolean;
305
- }>;
257
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
258
+ dummy_field: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
259
+ }, string>;
306
260
  static fromFields(fields: Record<string, any>): DUTCH;
307
261
  static fromFieldsWithTypes(item: FieldsWithTypes): DUTCH;
308
262
  static fromBcs(data: Uint8Array): DUTCH;
@@ -356,37 +310,23 @@ export declare class Delivery implements StructClass {
356
310
  static get r(): reified.StructClassReified<Delivery, DeliveryFields>;
357
311
  static phantom(): PhantomReified<ToTypeStr<Delivery>>;
358
312
  static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::dutch::Delivery">;
359
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
360
- signer: string;
361
- index: string;
362
- token: {
363
- name: {
364
- bytes: number[];
365
- };
366
- };
367
- price: string;
368
- size: string;
369
- bidder_bid_value: string;
370
- bidder_fee: string;
371
- incentive_bid_value: string;
372
- incentive_fee: string;
373
- }, {
374
- signer: string;
375
- index: string | number | bigint;
376
- token: {
377
- name: {
378
- bytes: Iterable<number> & {
313
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
314
+ signer: import("@mysten/sui/bcs").BcsType<string, string, string>;
315
+ index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
316
+ token: import("@mysten/sui/bcs").BcsStruct<{
317
+ name: import("@mysten/sui/bcs").BcsStruct<{
318
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
379
319
  length: number;
380
- };
381
- };
382
- };
383
- price: string | number | bigint;
384
- size: string | number | bigint;
385
- bidder_bid_value: string | number | bigint;
386
- bidder_fee: string | number | bigint;
387
- incentive_bid_value: string | number | bigint;
388
- incentive_fee: string | number | bigint;
389
- }>;
320
+ }, string>;
321
+ }, string>;
322
+ }, string>;
323
+ price: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
324
+ size: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
325
+ bidder_bid_value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
326
+ bidder_fee: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
327
+ incentive_bid_value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
328
+ incentive_fee: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
329
+ }, string>;
390
330
  static fromFields(fields: Record<string, any>): Delivery;
391
331
  static fromFieldsWithTypes(item: FieldsWithTypes): Delivery;
392
332
  static fromBcs(data: Uint8Array): Delivery;
@@ -460,37 +400,23 @@ export declare class NewBid implements StructClass {
460
400
  static get r(): reified.StructClassReified<NewBid, NewBidFields>;
461
401
  static phantom(): PhantomReified<ToTypeStr<NewBid>>;
462
402
  static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::dutch::NewBid">;
463
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
464
- signer: string;
465
- index: string;
466
- token: {
467
- name: {
468
- bytes: number[];
469
- };
470
- };
471
- bid_index: string;
472
- price: string;
473
- size: string;
474
- bidder_balance: string;
475
- incentive_balance: string;
476
- ts_ms: string;
477
- }, {
478
- signer: string;
479
- index: string | number | bigint;
480
- token: {
481
- name: {
482
- bytes: Iterable<number> & {
403
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
404
+ signer: import("@mysten/sui/bcs").BcsType<string, string, string>;
405
+ index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
406
+ token: import("@mysten/sui/bcs").BcsStruct<{
407
+ name: import("@mysten/sui/bcs").BcsStruct<{
408
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
483
409
  length: number;
484
- };
485
- };
486
- };
487
- bid_index: string | number | bigint;
488
- price: string | number | bigint;
489
- size: string | number | bigint;
490
- bidder_balance: string | number | bigint;
491
- incentive_balance: string | number | bigint;
492
- ts_ms: string | number | bigint;
493
- }>;
410
+ }, string>;
411
+ }, string>;
412
+ }, string>;
413
+ bid_index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
414
+ price: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
415
+ size: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
416
+ bidder_balance: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
417
+ incentive_balance: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
418
+ ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
419
+ }, string>;
494
420
  static fromFields(fields: Record<string, any>): NewBid;
495
421
  static fromFieldsWithTypes(item: FieldsWithTypes): NewBid;
496
422
  static fromBcs(data: Uint8Array): NewBid;
@@ -566,39 +492,24 @@ export declare class RemoveBid implements StructClass {
566
492
  static get r(): reified.StructClassReified<RemoveBid, RemoveBidFields>;
567
493
  static phantom(): PhantomReified<ToTypeStr<RemoveBid>>;
568
494
  static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::dutch::RemoveBid">;
569
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
570
- signer: string;
571
- index: string;
572
- token: {
573
- name: {
574
- bytes: number[];
575
- };
576
- };
577
- bid_index: string;
578
- price: string;
579
- size: string;
580
- bidder_balance: string;
581
- incentive_balance: string;
582
- fee_discount: string;
583
- ts_ms: string;
584
- }, {
585
- signer: string;
586
- index: string | number | bigint;
587
- token: {
588
- name: {
589
- bytes: Iterable<number> & {
495
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
496
+ signer: import("@mysten/sui/bcs").BcsType<string, string, string>;
497
+ index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
498
+ token: import("@mysten/sui/bcs").BcsStruct<{
499
+ name: import("@mysten/sui/bcs").BcsStruct<{
500
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
590
501
  length: number;
591
- };
592
- };
593
- };
594
- bid_index: string | number | bigint;
595
- price: string | number | bigint;
596
- size: string | number | bigint;
597
- bidder_balance: string | number | bigint;
598
- incentive_balance: string | number | bigint;
599
- fee_discount: string | number | bigint;
600
- ts_ms: string | number | bigint;
601
- }>;
502
+ }, string>;
503
+ }, string>;
504
+ }, string>;
505
+ bid_index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
506
+ price: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
507
+ size: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
508
+ bidder_balance: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
509
+ incentive_balance: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
510
+ fee_discount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
511
+ ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
512
+ }, string>;
602
513
  static fromFields(fields: Record<string, any>): RemoveBid;
603
514
  static fromFieldsWithTypes(item: FieldsWithTypes): RemoveBid;
604
515
  static fromBcs(data: Uint8Array): RemoveBid;
@@ -662,25 +573,17 @@ export declare class Terminate implements StructClass {
662
573
  static get r(): reified.StructClassReified<Terminate, TerminateFields>;
663
574
  static phantom(): PhantomReified<ToTypeStr<Terminate>>;
664
575
  static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::dutch::Terminate">;
665
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
666
- signer: string;
667
- index: string;
668
- token: {
669
- name: {
670
- bytes: number[];
671
- };
672
- };
673
- }, {
674
- signer: string;
675
- index: string | number | bigint;
676
- token: {
677
- name: {
678
- bytes: Iterable<number> & {
576
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
577
+ signer: import("@mysten/sui/bcs").BcsType<string, string, string>;
578
+ index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
579
+ token: import("@mysten/sui/bcs").BcsStruct<{
580
+ name: import("@mysten/sui/bcs").BcsStruct<{
581
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
679
582
  length: number;
680
- };
681
- };
682
- };
683
- }>;
583
+ }, string>;
584
+ }, string>;
585
+ }, string>;
586
+ }, string>;
684
587
  static fromFields(fields: Record<string, any>): Terminate;
685
588
  static fromFieldsWithTypes(item: FieldsWithTypes): Terminate;
686
589
  static fromBcs(data: Uint8Array): Terminate;
@@ -768,53 +671,30 @@ export declare class UpdateAuctionConfig implements StructClass {
768
671
  static get r(): reified.StructClassReified<UpdateAuctionConfig, UpdateAuctionConfigFields>;
769
672
  static phantom(): PhantomReified<ToTypeStr<UpdateAuctionConfig>>;
770
673
  static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::dutch::UpdateAuctionConfig">;
771
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
772
- signer: string;
773
- index: string;
774
- prev_start_ts_ms: string;
775
- prev_end_ts_ms: string;
776
- prev_decay_speed: string;
777
- prev_initial_price: string;
778
- prev_final_price: string;
779
- prev_fee_bp: string;
780
- prev_incentive_bp: string;
781
- prev_token_decimal: string;
782
- prev_size_decimal: string;
783
- prev_able_to_remove_bid: boolean;
784
- start_ts_ms: string;
785
- end_ts_ms: string;
786
- decay_speed: string;
787
- initial_price: string;
788
- final_price: string;
789
- fee_bp: string;
790
- incentive_bp: string;
791
- token_decimal: string;
792
- size_decimal: string;
793
- able_to_remove_bid: boolean;
794
- }, {
795
- signer: string;
796
- index: string | number | bigint;
797
- prev_start_ts_ms: string | number | bigint;
798
- prev_end_ts_ms: string | number | bigint;
799
- prev_decay_speed: string | number | bigint;
800
- prev_initial_price: string | number | bigint;
801
- prev_final_price: string | number | bigint;
802
- prev_fee_bp: string | number | bigint;
803
- prev_incentive_bp: string | number | bigint;
804
- prev_token_decimal: string | number | bigint;
805
- prev_size_decimal: string | number | bigint;
806
- prev_able_to_remove_bid: boolean;
807
- start_ts_ms: string | number | bigint;
808
- end_ts_ms: string | number | bigint;
809
- decay_speed: string | number | bigint;
810
- initial_price: string | number | bigint;
811
- final_price: string | number | bigint;
812
- fee_bp: string | number | bigint;
813
- incentive_bp: string | number | bigint;
814
- token_decimal: string | number | bigint;
815
- size_decimal: string | number | bigint;
816
- able_to_remove_bid: boolean;
817
- }>;
674
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
675
+ signer: import("@mysten/sui/bcs").BcsType<string, string, string>;
676
+ index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
677
+ prev_start_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
678
+ prev_end_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
679
+ prev_decay_speed: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
680
+ prev_initial_price: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
681
+ prev_final_price: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
682
+ prev_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
683
+ prev_incentive_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
684
+ prev_token_decimal: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
685
+ prev_size_decimal: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
686
+ prev_able_to_remove_bid: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
687
+ start_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
688
+ end_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
689
+ decay_speed: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
690
+ initial_price: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
691
+ final_price: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
692
+ fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
693
+ incentive_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
694
+ token_decimal: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
695
+ size_decimal: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
696
+ able_to_remove_bid: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
697
+ }, string>;
818
698
  static fromFields(fields: Record<string, any>): UpdateAuctionConfig;
819
699
  static fromFieldsWithTypes(item: FieldsWithTypes): UpdateAuctionConfig;
820
700
  static fromBcs(data: Uint8Array): UpdateAuctionConfig;
@@ -22,11 +22,9 @@ export declare class I64 implements StructClass {
22
22
  static get r(): import("../../../../_framework/reified").StructClassReified<I64, I64Fields>;
23
23
  static phantom(): PhantomReified<ToTypeStr<I64>>;
24
24
  static get p(): PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::i64::I64">;
25
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
26
- bits: string;
27
- }, {
28
- bits: string | number | bigint;
29
- }>;
25
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
26
+ bits: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
27
+ }, string>;
30
28
  static fromFields(fields: Record<string, any>): I64;
31
29
  static fromFieldsWithTypes(item: FieldsWithTypes): I64;
32
30
  static fromBcs(data: Uint8Array): I64;
@@ -31,33 +31,22 @@ export declare class LinkedList<K extends TypeArgument, V extends PhantomTypeArg
31
31
  static get r(): typeof LinkedList.reified;
32
32
  static phantom<K extends Reified<TypeArgument, any>, V extends PhantomReified<PhantomTypeArgument>>(K: K, V: V): PhantomReified<ToTypeStr<LinkedList<ToTypeArgument<K>, ToPhantomTypeArgument<V>>>>;
33
33
  static get p(): typeof LinkedList.phantom;
34
- static get bcs(): <K extends BcsType<any>>(K: K) => BcsType<{
35
- id: {
36
- bytes: string;
37
- };
38
- first: {
39
- vec: any[];
40
- };
41
- last: {
42
- vec: any[];
43
- };
44
- length: string;
45
- }, {
46
- id: {
47
- bytes: string;
48
- };
49
- first: {
50
- 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
+ bytes: BcsType<string, string, string>;
37
+ }, string>;
38
+ first: import("@mysten/sui/bcs").BcsStruct<{
39
+ vec: BcsType<import("@mysten/bcs").InferBcsType<K>[], Iterable<import("@mysten/bcs").InferBcsInput<K>> & {
51
40
  length: number;
52
- };
53
- };
54
- last: {
55
- vec: Iterable<any> & {
41
+ }, string>;
42
+ }, string>;
43
+ last: import("@mysten/sui/bcs").BcsStruct<{
44
+ vec: BcsType<import("@mysten/bcs").InferBcsType<K>[], Iterable<import("@mysten/bcs").InferBcsInput<K>> & {
56
45
  length: number;
57
- };
58
- };
59
- length: string | number | bigint;
60
- }>;
46
+ }, string>;
47
+ }, string>;
48
+ length: BcsType<string, string | number | bigint, "u64">;
49
+ }, string>;
61
50
  static fromFields<K extends Reified<TypeArgument, any>, V extends PhantomReified<PhantomTypeArgument>>(typeArgs: [K, V], fields: Record<string, any>): LinkedList<ToTypeArgument<K>, ToPhantomTypeArgument<V>>;
62
51
  static fromFieldsWithTypes<K extends Reified<TypeArgument, any>, V extends PhantomReified<PhantomTypeArgument>>(typeArgs: [K, V], item: FieldsWithTypes): LinkedList<ToTypeArgument<K>, ToPhantomTypeArgument<V>>;
63
52
  static fromBcs<K extends Reified<TypeArgument, any>, V extends PhantomReified<PhantomTypeArgument>>(typeArgs: [K, V], data: Uint8Array): LinkedList<ToTypeArgument<K>, ToPhantomTypeArgument<V>>;
@@ -107,29 +96,20 @@ export declare class Node<K extends TypeArgument, V extends TypeArgument> implem
107
96
  static get r(): typeof Node.reified;
108
97
  static phantom<K extends Reified<TypeArgument, any>, V extends Reified<TypeArgument, any>>(K: K, V: V): PhantomReified<ToTypeStr<Node<ToTypeArgument<K>, ToTypeArgument<V>>>>;
109
98
  static get p(): typeof Node.phantom;
110
- static get bcs(): <K extends BcsType<any>, V extends BcsType<any>>(K: K, V: V) => BcsType<{
111
- value: V extends BcsType<infer U, any> ? U : never;
112
- prev: {
113
- vec: any[];
114
- };
115
- next: {
116
- vec: any[];
117
- };
118
- exists: boolean;
119
- }, {
120
- value: V extends BcsType<any, infer U_1> ? U_1 : never;
121
- prev: {
122
- vec: Iterable<any> & {
99
+ static get bcs(): <K extends BcsType<any>, V extends BcsType<any>>(K: K, V: V) => import("@mysten/sui/bcs").BcsStruct<{
100
+ value: V;
101
+ prev: import("@mysten/sui/bcs").BcsStruct<{
102
+ vec: BcsType<import("@mysten/bcs").InferBcsType<K>[], Iterable<import("@mysten/bcs").InferBcsInput<K>> & {
123
103
  length: number;
124
- };
125
- };
126
- next: {
127
- vec: Iterable<any> & {
104
+ }, string>;
105
+ }, string>;
106
+ next: import("@mysten/sui/bcs").BcsStruct<{
107
+ vec: BcsType<import("@mysten/bcs").InferBcsType<K>[], Iterable<import("@mysten/bcs").InferBcsInput<K>> & {
128
108
  length: number;
129
- };
130
- };
131
- exists: boolean;
132
- }>;
109
+ }, string>;
110
+ }, string>;
111
+ exists: BcsType<boolean, boolean, "bool">;
112
+ }, string>;
133
113
  static fromFields<K extends Reified<TypeArgument, any>, V extends Reified<TypeArgument, any>>(typeArgs: [K, V], fields: Record<string, any>): Node<ToTypeArgument<K>, ToTypeArgument<V>>;
134
114
  static fromFieldsWithTypes<K extends Reified<TypeArgument, any>, V extends Reified<TypeArgument, any>>(typeArgs: [K, V], item: FieldsWithTypes): Node<ToTypeArgument<K>, ToTypeArgument<V>>;
135
115
  static fromBcs<K extends Reified<TypeArgument, any>, V extends Reified<TypeArgument, any>>(typeArgs: [K, V], data: Uint8Array): Node<ToTypeArgument<K>, ToTypeArgument<V>>;