@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.
Files changed (60) 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/fetch.js +7 -7
  45. package/dist/src/index.js +16 -15
  46. package/dist/src/typus_perp/admin/structs.d.ts +85 -147
  47. package/dist/src/typus_perp/competition/structs.d.ts +16 -28
  48. package/dist/src/typus_perp/escrow/structs.d.ts +20 -32
  49. package/dist/src/typus_perp/lp-pool/structs.d.ts +736 -1299
  50. package/dist/src/typus_perp/position/structs.d.ts +236 -395
  51. package/dist/src/typus_perp/symbol/structs.d.ts +14 -25
  52. package/dist/src/typus_perp/tlp/structs.d.ts +10 -18
  53. package/dist/src/typus_perp/trading/structs.d.ts +714 -1267
  54. package/dist/src/typus_perp/treasury-caps/structs.d.ts +7 -13
  55. package/dist/src/typus_perp/user-account/structs.d.ts +27 -47
  56. package/dist/src/typus_stake_pool/admin/structs.d.ts +67 -115
  57. package/dist/src/typus_stake_pool/stake-pool/structs.d.ts +371 -649
  58. package/dist/src/user/history.js +1 -1
  59. package/dist/src/user/orderWithBidReceipt.d.ts +1 -0
  60. package/package.json +13 -4
@@ -36,29 +36,19 @@ export declare class Activate implements StructClass {
36
36
  static get r(): reified.StructClassReified<Activate, ActivateFields>;
37
37
  static phantom(): PhantomReified<ToTypeStr<Activate>>;
38
38
  static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::Activate">;
39
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
40
- signer: string;
41
- index: string;
42
- token: {
43
- name: {
44
- bytes: number[];
45
- };
46
- };
47
- amount: string;
48
- has_next: boolean;
49
- }, {
50
- signer: string;
51
- index: string | number | bigint;
52
- token: {
53
- name: {
54
- bytes: Iterable<number> & {
39
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
40
+ signer: import("@mysten/sui/bcs").BcsType<string, string, string>;
41
+ index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
42
+ token: import("@mysten/sui/bcs").BcsStruct<{
43
+ name: import("@mysten/sui/bcs").BcsStruct<{
44
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
55
45
  length: number;
56
- };
57
- };
58
- };
59
- amount: string | number | bigint;
60
- has_next: boolean;
61
- }>;
46
+ }, string>;
47
+ }, string>;
48
+ }, string>;
49
+ amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
50
+ has_next: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
51
+ }, string>;
62
52
  static fromFields(fields: Record<string, any>): Activate;
63
53
  static fromFieldsWithTypes(item: FieldsWithTypes): Activate;
64
54
  static fromBcs(data: Uint8Array): Activate;
@@ -112,17 +102,13 @@ export declare class BidShare implements StructClass {
112
102
  static get r(): reified.StructClassReified<BidShare, BidShareFields>;
113
103
  static phantom(): PhantomReified<ToTypeStr<BidShare>>;
114
104
  static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::BidShare">;
115
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
116
- receipt: string;
117
- share: string;
118
- u64_padding: string[];
119
- }, {
120
- receipt: string;
121
- share: string | number | bigint;
122
- u64_padding: Iterable<string | number | bigint> & {
105
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
106
+ receipt: import("@mysten/sui/bcs").BcsType<string, string, string>;
107
+ share: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
108
+ u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
123
109
  length: number;
124
- };
125
- }>;
110
+ }, string>;
111
+ }, string>;
126
112
  static fromFields(fields: Record<string, any>): BidShare;
127
113
  static fromFieldsWithTypes(item: FieldsWithTypes): BidShare;
128
114
  static fromBcs(data: Uint8Array): BidShare;
@@ -180,71 +166,55 @@ export declare class BidVault implements StructClass {
180
166
  static get r(): reified.StructClassReified<BidVault, BidVaultFields>;
181
167
  static phantom(): PhantomReified<ToTypeStr<BidVault>>;
182
168
  static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::BidVault">;
183
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
184
- id: {
185
- id: {
186
- bytes: string;
187
- };
188
- };
189
- deposit_token: {
190
- name: {
191
- bytes: number[];
192
- };
193
- };
194
- bid_token: {
195
- name: {
196
- bytes: number[];
197
- };
198
- };
199
- incentive_token: {
200
- vec: any[];
201
- };
202
- index: string;
203
- share_supply: string;
204
- metadata: {
205
- bytes: number[];
206
- };
207
- u64_padding: string[];
208
- bcs_padding: number[];
209
- }, {
210
- id: {
211
- id: {
212
- bytes: string;
213
- };
214
- };
215
- deposit_token: {
216
- name: {
217
- bytes: Iterable<number> & {
169
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
170
+ id: import("@mysten/sui/bcs").BcsStruct<{
171
+ id: import("@mysten/sui/bcs").BcsStruct<{
172
+ bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
173
+ }, string>;
174
+ }, string>;
175
+ deposit_token: import("@mysten/sui/bcs").BcsStruct<{
176
+ name: import("@mysten/sui/bcs").BcsStruct<{
177
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
218
178
  length: number;
219
- };
220
- };
221
- };
222
- bid_token: {
223
- name: {
224
- bytes: Iterable<number> & {
179
+ }, string>;
180
+ }, string>;
181
+ }, string>;
182
+ bid_token: import("@mysten/sui/bcs").BcsStruct<{
183
+ name: import("@mysten/sui/bcs").BcsStruct<{
184
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
225
185
  length: number;
186
+ }, string>;
187
+ }, string>;
188
+ }, string>;
189
+ incentive_token: import("@mysten/sui/bcs").BcsStruct<{
190
+ vec: import("@mysten/sui/bcs").BcsType<{
191
+ name: {
192
+ bytes: number[];
226
193
  };
227
- };
228
- };
229
- incentive_token: {
230
- vec: Iterable<any> & {
194
+ }[], Iterable<{
195
+ name: {
196
+ bytes: Iterable<number> & {
197
+ length: number;
198
+ };
199
+ };
200
+ }> & {
231
201
  length: number;
232
- };
233
- };
234
- index: string | number | bigint;
235
- share_supply: string | number | bigint;
236
- metadata: {
237
- bytes: Iterable<number> & {
202
+ }, string>;
203
+ }, string>;
204
+ index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
205
+ share_supply: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
206
+ metadata: import("@mysten/sui/bcs").BcsStruct<{
207
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
238
208
  length: number;
239
- };
240
- };
241
- u64_padding: Iterable<string | number | bigint> & {
209
+ }, string>;
210
+ }, string>;
211
+ u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
242
212
  length: number;
243
- };
244
- bcs_padding: Iterable<number> & {
213
+ }, string>;
214
+ bcs_padding: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
245
215
  length: number;
246
- };
247
- }>;
216
+ }, string>;
217
+ }, string>;
248
218
  static fromFields(fields: Record<string, any>): BidVault;
249
219
  static fromFieldsWithTypes(item: FieldsWithTypes): BidVault;
250
220
  static fromBcs(data: Uint8Array): BidVault;
@@ -316,27 +286,18 @@ export declare class Claim implements StructClass {
316
286
  static get r(): reified.StructClassReified<Claim, ClaimFields>;
317
287
  static phantom(): PhantomReified<ToTypeStr<Claim>>;
318
288
  static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::Claim">;
319
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
320
- signer: string;
321
- index: string;
322
- token: {
323
- name: {
324
- bytes: number[];
325
- };
326
- };
327
- amount: string;
328
- }, {
329
- signer: string;
330
- index: string | number | bigint;
331
- token: {
332
- name: {
333
- bytes: Iterable<number> & {
289
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
290
+ signer: import("@mysten/sui/bcs").BcsType<string, string, string>;
291
+ index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
292
+ token: import("@mysten/sui/bcs").BcsStruct<{
293
+ name: import("@mysten/sui/bcs").BcsStruct<{
294
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
334
295
  length: number;
335
- };
336
- };
337
- };
338
- amount: string | number | bigint;
339
- }>;
296
+ }, string>;
297
+ }, string>;
298
+ }, string>;
299
+ amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
300
+ }, string>;
340
301
  static fromFields(fields: Record<string, any>): Claim;
341
302
  static fromFieldsWithTypes(item: FieldsWithTypes): Claim;
342
303
  static fromBcs(data: Uint8Array): Claim;
@@ -396,39 +357,27 @@ export declare class Compound implements StructClass {
396
357
  static get r(): reified.StructClassReified<Compound, CompoundFields>;
397
358
  static phantom(): PhantomReified<ToTypeStr<Compound>>;
398
359
  static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::Compound">;
399
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
400
- signer: string;
401
- index: string;
402
- token: {
403
- name: {
404
- bytes: number[];
405
- };
406
- };
407
- amount: string;
408
- fee_amount: string;
409
- fee_share_amount: string;
410
- shared_fee_pool: {
411
- vec: any[];
412
- };
413
- }, {
414
- signer: string;
415
- index: string | number | bigint;
416
- token: {
417
- name: {
418
- bytes: Iterable<number> & {
360
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
361
+ signer: import("@mysten/sui/bcs").BcsType<string, string, string>;
362
+ index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
363
+ token: import("@mysten/sui/bcs").BcsStruct<{
364
+ name: import("@mysten/sui/bcs").BcsStruct<{
365
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
419
366
  length: number;
420
- };
421
- };
422
- };
423
- amount: string | number | bigint;
424
- fee_amount: string | number | bigint;
425
- fee_share_amount: string | number | bigint;
426
- shared_fee_pool: {
427
- vec: Iterable<any> & {
367
+ }, string>;
368
+ }, string>;
369
+ }, string>;
370
+ amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
371
+ fee_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
372
+ fee_share_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
373
+ shared_fee_pool: import("@mysten/sui/bcs").BcsStruct<{
374
+ vec: import("@mysten/sui/bcs").BcsType<number[][], Iterable<Iterable<number> & {
428
375
  length: number;
429
- };
430
- };
431
- }>;
376
+ }> & {
377
+ length: number;
378
+ }, string>;
379
+ }, string>;
380
+ }, string>;
432
381
  static fromFields(fields: Record<string, any>): Compound;
433
382
  static fromFieldsWithTypes(item: FieldsWithTypes): Compound;
434
383
  static fromBcs(data: Uint8Array): Compound;
@@ -492,41 +441,26 @@ export declare class Delivery implements StructClass {
492
441
  static get r(): reified.StructClassReified<Delivery, DeliveryFields>;
493
442
  static phantom(): PhantomReified<ToTypeStr<Delivery>>;
494
443
  static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::Delivery">;
495
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
496
- signer: string;
497
- index: string;
498
- premium_token: {
499
- name: {
500
- bytes: number[];
501
- };
502
- };
503
- incentive_token: {
504
- name: {
505
- bytes: number[];
506
- };
507
- };
508
- premium: string;
509
- incentive: string;
510
- }, {
511
- signer: string;
512
- index: string | number | bigint;
513
- premium_token: {
514
- name: {
515
- bytes: Iterable<number> & {
444
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
445
+ signer: import("@mysten/sui/bcs").BcsType<string, string, string>;
446
+ index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
447
+ premium_token: import("@mysten/sui/bcs").BcsStruct<{
448
+ name: import("@mysten/sui/bcs").BcsStruct<{
449
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
516
450
  length: number;
517
- };
518
- };
519
- };
520
- incentive_token: {
521
- name: {
522
- bytes: Iterable<number> & {
451
+ }, string>;
452
+ }, string>;
453
+ }, string>;
454
+ incentive_token: import("@mysten/sui/bcs").BcsStruct<{
455
+ name: import("@mysten/sui/bcs").BcsStruct<{
456
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
523
457
  length: number;
524
- };
525
- };
526
- };
527
- premium: string | number | bigint;
528
- incentive: string | number | bigint;
529
- }>;
458
+ }, string>;
459
+ }, string>;
460
+ }, string>;
461
+ premium: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
462
+ incentive: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
463
+ }, string>;
530
464
  static fromFields(fields: Record<string, any>): Delivery;
531
465
  static fromFieldsWithTypes(item: FieldsWithTypes): Delivery;
532
466
  static fromBcs(data: Uint8Array): Delivery;
@@ -588,27 +522,18 @@ export declare class Deposit implements StructClass {
588
522
  static get r(): reified.StructClassReified<Deposit, DepositFields>;
589
523
  static phantom(): PhantomReified<ToTypeStr<Deposit>>;
590
524
  static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::Deposit">;
591
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
592
- signer: string;
593
- index: string;
594
- token: {
595
- name: {
596
- bytes: number[];
597
- };
598
- };
599
- amount: string;
600
- }, {
601
- signer: string;
602
- index: string | number | bigint;
603
- token: {
604
- name: {
605
- bytes: Iterable<number> & {
525
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
526
+ signer: import("@mysten/sui/bcs").BcsType<string, string, string>;
527
+ index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
528
+ token: import("@mysten/sui/bcs").BcsStruct<{
529
+ name: import("@mysten/sui/bcs").BcsStruct<{
530
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
606
531
  length: number;
607
- };
608
- };
609
- };
610
- amount: string | number | bigint;
611
- }>;
532
+ }, string>;
533
+ }, string>;
534
+ }, string>;
535
+ amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
536
+ }, string>;
612
537
  static fromFields(fields: Record<string, any>): Deposit;
613
538
  static fromFieldsWithTypes(item: FieldsWithTypes): Deposit;
614
539
  static fromBcs(data: Uint8Array): Deposit;
@@ -670,27 +595,18 @@ export declare class DepositShare implements StructClass {
670
595
  static get r(): reified.StructClassReified<DepositShare, DepositShareFields>;
671
596
  static phantom(): PhantomReified<ToTypeStr<DepositShare>>;
672
597
  static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::DepositShare">;
673
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
674
- receipt: string;
675
- active_share: string;
676
- deactivating_share: string;
677
- inactive_share: string;
678
- warmup_share: string;
679
- premium_share: string;
680
- incentive_share: string;
681
- u64_padding: string[];
682
- }, {
683
- receipt: string;
684
- active_share: string | number | bigint;
685
- deactivating_share: string | number | bigint;
686
- inactive_share: string | number | bigint;
687
- warmup_share: string | number | bigint;
688
- premium_share: string | number | bigint;
689
- incentive_share: string | number | bigint;
690
- u64_padding: Iterable<string | number | bigint> & {
598
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
599
+ receipt: import("@mysten/sui/bcs").BcsType<string, string, string>;
600
+ active_share: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
601
+ deactivating_share: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
602
+ inactive_share: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
603
+ warmup_share: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
604
+ premium_share: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
605
+ incentive_share: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
606
+ u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
691
607
  length: number;
692
- };
693
- }>;
608
+ }, string>;
609
+ }, string>;
694
610
  static fromFields(fields: Record<string, any>): DepositShare;
695
611
  static fromFieldsWithTypes(item: FieldsWithTypes): DepositShare;
696
612
  static fromBcs(data: Uint8Array): DepositShare;
@@ -776,95 +692,70 @@ export declare class DepositVault implements StructClass {
776
692
  static get r(): reified.StructClassReified<DepositVault, DepositVaultFields>;
777
693
  static phantom(): PhantomReified<ToTypeStr<DepositVault>>;
778
694
  static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::DepositVault">;
779
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
780
- id: {
781
- id: {
782
- bytes: string;
783
- };
784
- };
785
- deposit_token: {
786
- name: {
787
- bytes: number[];
788
- };
789
- };
790
- bid_token: {
791
- name: {
792
- bytes: number[];
793
- };
794
- };
795
- incentive_token: {
796
- vec: any[];
797
- };
798
- index: string;
799
- fee_bp: string;
800
- fee_share_bp: string;
801
- shared_fee_pool: {
802
- vec: any[];
803
- };
804
- active_share_supply: string;
805
- deactivating_share_supply: string;
806
- inactive_share_supply: string;
807
- warmup_share_supply: string;
808
- premium_share_supply: string;
809
- incentive_share_supply: string;
810
- has_next: boolean;
811
- metadata: {
812
- bytes: number[];
813
- };
814
- u64_padding: string[];
815
- bcs_padding: number[];
816
- }, {
817
- id: {
818
- id: {
819
- bytes: string;
820
- };
821
- };
822
- deposit_token: {
823
- name: {
824
- bytes: Iterable<number> & {
695
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
696
+ id: import("@mysten/sui/bcs").BcsStruct<{
697
+ id: import("@mysten/sui/bcs").BcsStruct<{
698
+ bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
699
+ }, string>;
700
+ }, string>;
701
+ deposit_token: import("@mysten/sui/bcs").BcsStruct<{
702
+ name: import("@mysten/sui/bcs").BcsStruct<{
703
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
825
704
  length: number;
826
- };
827
- };
828
- };
829
- bid_token: {
830
- name: {
831
- bytes: Iterable<number> & {
705
+ }, string>;
706
+ }, string>;
707
+ }, string>;
708
+ bid_token: import("@mysten/sui/bcs").BcsStruct<{
709
+ name: import("@mysten/sui/bcs").BcsStruct<{
710
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
832
711
  length: number;
712
+ }, string>;
713
+ }, string>;
714
+ }, string>;
715
+ incentive_token: import("@mysten/sui/bcs").BcsStruct<{
716
+ vec: import("@mysten/sui/bcs").BcsType<{
717
+ name: {
718
+ bytes: number[];
833
719
  };
834
- };
835
- };
836
- incentive_token: {
837
- vec: Iterable<any> & {
720
+ }[], Iterable<{
721
+ name: {
722
+ bytes: Iterable<number> & {
723
+ length: number;
724
+ };
725
+ };
726
+ }> & {
838
727
  length: number;
839
- };
840
- };
841
- index: string | number | bigint;
842
- fee_bp: string | number | bigint;
843
- fee_share_bp: string | number | bigint;
844
- shared_fee_pool: {
845
- vec: Iterable<any> & {
728
+ }, string>;
729
+ }, string>;
730
+ index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
731
+ fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
732
+ fee_share_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
733
+ shared_fee_pool: import("@mysten/sui/bcs").BcsStruct<{
734
+ vec: import("@mysten/sui/bcs").BcsType<number[][], Iterable<Iterable<number> & {
846
735
  length: number;
847
- };
848
- };
849
- active_share_supply: string | number | bigint;
850
- deactivating_share_supply: string | number | bigint;
851
- inactive_share_supply: string | number | bigint;
852
- warmup_share_supply: string | number | bigint;
853
- premium_share_supply: string | number | bigint;
854
- incentive_share_supply: string | number | bigint;
855
- has_next: boolean;
856
- metadata: {
857
- bytes: Iterable<number> & {
736
+ }> & {
858
737
  length: number;
859
- };
860
- };
861
- u64_padding: Iterable<string | number | bigint> & {
738
+ }, string>;
739
+ }, string>;
740
+ active_share_supply: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
741
+ deactivating_share_supply: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
742
+ inactive_share_supply: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
743
+ warmup_share_supply: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
744
+ premium_share_supply: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
745
+ incentive_share_supply: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
746
+ has_next: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
747
+ metadata: import("@mysten/sui/bcs").BcsStruct<{
748
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
749
+ length: number;
750
+ }, string>;
751
+ }, string>;
752
+ u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
862
753
  length: number;
863
- };
864
- bcs_padding: Iterable<number> & {
754
+ }, string>;
755
+ bcs_padding: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
865
756
  length: number;
866
- };
867
- }>;
757
+ }, string>;
758
+ }, string>;
868
759
  static fromFields(fields: Record<string, any>): DepositVault;
869
760
  static fromFieldsWithTypes(item: FieldsWithTypes): DepositVault;
870
761
  static fromBcs(data: Uint8Array): DepositVault;
@@ -956,35 +847,33 @@ export declare class Exercise implements StructClass {
956
847
  static get r(): reified.StructClassReified<Exercise, ExerciseFields>;
957
848
  static phantom(): PhantomReified<ToTypeStr<Exercise>>;
958
849
  static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::Exercise">;
959
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
960
- signer: string;
961
- index: string;
962
- deposit_token: {
963
- name: {
964
- bytes: number[];
965
- };
966
- };
967
- incentive_token: {
968
- vec: any[];
969
- };
970
- amount: string;
971
- }, {
972
- signer: string;
973
- index: string | number | bigint;
974
- deposit_token: {
975
- name: {
976
- bytes: Iterable<number> & {
850
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
851
+ signer: import("@mysten/sui/bcs").BcsType<string, string, string>;
852
+ index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
853
+ deposit_token: import("@mysten/sui/bcs").BcsStruct<{
854
+ name: import("@mysten/sui/bcs").BcsStruct<{
855
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
977
856
  length: number;
857
+ }, string>;
858
+ }, string>;
859
+ }, string>;
860
+ incentive_token: import("@mysten/sui/bcs").BcsStruct<{
861
+ vec: import("@mysten/sui/bcs").BcsType<{
862
+ name: {
863
+ bytes: number[];
978
864
  };
979
- };
980
- };
981
- incentive_token: {
982
- vec: Iterable<any> & {
865
+ }[], Iterable<{
866
+ name: {
867
+ bytes: Iterable<number> & {
868
+ length: number;
869
+ };
870
+ };
871
+ }> & {
983
872
  length: number;
984
- };
985
- };
986
- amount: string | number | bigint;
987
- }>;
873
+ }, string>;
874
+ }, string>;
875
+ amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
876
+ }, string>;
988
877
  static fromFields(fields: Record<string, any>): Exercise;
989
878
  static fromFieldsWithTypes(item: FieldsWithTypes): Exercise;
990
879
  static fromBcs(data: Uint8Array): Exercise;
@@ -1050,39 +939,27 @@ export declare class Harvest implements StructClass {
1050
939
  static get r(): reified.StructClassReified<Harvest, HarvestFields>;
1051
940
  static phantom(): PhantomReified<ToTypeStr<Harvest>>;
1052
941
  static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::Harvest">;
1053
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
1054
- signer: string;
1055
- index: string;
1056
- token: {
1057
- name: {
1058
- bytes: number[];
1059
- };
1060
- };
1061
- amount: string;
1062
- fee_amount: string;
1063
- fee_share_amount: string;
1064
- shared_fee_pool: {
1065
- vec: any[];
1066
- };
1067
- }, {
1068
- signer: string;
1069
- index: string | number | bigint;
1070
- token: {
1071
- name: {
1072
- bytes: Iterable<number> & {
942
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
943
+ signer: import("@mysten/sui/bcs").BcsType<string, string, string>;
944
+ index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
945
+ token: import("@mysten/sui/bcs").BcsStruct<{
946
+ name: import("@mysten/sui/bcs").BcsStruct<{
947
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
1073
948
  length: number;
1074
- };
1075
- };
1076
- };
1077
- amount: string | number | bigint;
1078
- fee_amount: string | number | bigint;
1079
- fee_share_amount: string | number | bigint;
1080
- shared_fee_pool: {
1081
- vec: Iterable<any> & {
949
+ }, string>;
950
+ }, string>;
951
+ }, string>;
952
+ amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
953
+ fee_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
954
+ fee_share_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
955
+ shared_fee_pool: import("@mysten/sui/bcs").BcsStruct<{
956
+ vec: import("@mysten/sui/bcs").BcsType<number[][], Iterable<Iterable<number> & {
1082
957
  length: number;
1083
- };
1084
- };
1085
- }>;
958
+ }> & {
959
+ length: number;
960
+ }, string>;
961
+ }, string>;
962
+ }, string>;
1086
963
  static fromFields(fields: Record<string, any>): Harvest;
1087
964
  static fromFieldsWithTypes(item: FieldsWithTypes): Harvest;
1088
965
  static fromBcs(data: Uint8Array): Harvest;
@@ -1142,27 +1019,18 @@ export declare class IncentiviseBidder implements StructClass {
1142
1019
  static get r(): reified.StructClassReified<IncentiviseBidder, IncentiviseBidderFields>;
1143
1020
  static phantom(): PhantomReified<ToTypeStr<IncentiviseBidder>>;
1144
1021
  static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::IncentiviseBidder">;
1145
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
1146
- signer: string;
1147
- index: string;
1148
- token: {
1149
- name: {
1150
- bytes: number[];
1151
- };
1152
- };
1153
- amount: string;
1154
- }, {
1155
- signer: string;
1156
- index: string | number | bigint;
1157
- token: {
1158
- name: {
1159
- bytes: Iterable<number> & {
1022
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
1023
+ signer: import("@mysten/sui/bcs").BcsType<string, string, string>;
1024
+ index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1025
+ token: import("@mysten/sui/bcs").BcsStruct<{
1026
+ name: import("@mysten/sui/bcs").BcsStruct<{
1027
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
1160
1028
  length: number;
1161
- };
1162
- };
1163
- };
1164
- amount: string | number | bigint;
1165
- }>;
1029
+ }, string>;
1030
+ }, string>;
1031
+ }, string>;
1032
+ amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1033
+ }, string>;
1166
1034
  static fromFields(fields: Record<string, any>): IncentiviseBidder;
1167
1035
  static fromFieldsWithTypes(item: FieldsWithTypes): IncentiviseBidder;
1168
1036
  static fromBcs(data: Uint8Array): IncentiviseBidder;
@@ -1214,25 +1082,17 @@ export declare class NewBidVault implements StructClass {
1214
1082
  static get r(): reified.StructClassReified<NewBidVault, NewBidVaultFields>;
1215
1083
  static phantom(): PhantomReified<ToTypeStr<NewBidVault>>;
1216
1084
  static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::NewBidVault">;
1217
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
1218
- signer: string;
1219
- index: string;
1220
- bid_token: {
1221
- name: {
1222
- bytes: number[];
1223
- };
1224
- };
1225
- }, {
1226
- signer: string;
1227
- index: string | number | bigint;
1228
- bid_token: {
1229
- name: {
1230
- bytes: Iterable<number> & {
1085
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
1086
+ signer: import("@mysten/sui/bcs").BcsType<string, string, string>;
1087
+ index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1088
+ bid_token: import("@mysten/sui/bcs").BcsStruct<{
1089
+ name: import("@mysten/sui/bcs").BcsStruct<{
1090
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
1231
1091
  length: number;
1232
- };
1233
- };
1234
- };
1235
- }>;
1092
+ }, string>;
1093
+ }, string>;
1094
+ }, string>;
1095
+ }, string>;
1236
1096
  static fromFields(fields: Record<string, any>): NewBidVault;
1237
1097
  static fromFieldsWithTypes(item: FieldsWithTypes): NewBidVault;
1238
1098
  static fromBcs(data: Uint8Array): NewBidVault;
@@ -1284,37 +1144,24 @@ export declare class NewDepositVault implements StructClass {
1284
1144
  static get r(): reified.StructClassReified<NewDepositVault, NewDepositVaultFields>;
1285
1145
  static phantom(): PhantomReified<ToTypeStr<NewDepositVault>>;
1286
1146
  static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::NewDepositVault">;
1287
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
1288
- signer: string;
1289
- index: string;
1290
- deposit_token: {
1291
- name: {
1292
- bytes: number[];
1293
- };
1294
- };
1295
- bid_token: {
1296
- name: {
1297
- bytes: number[];
1298
- };
1299
- };
1300
- }, {
1301
- signer: string;
1302
- index: string | number | bigint;
1303
- deposit_token: {
1304
- name: {
1305
- bytes: Iterable<number> & {
1147
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
1148
+ signer: import("@mysten/sui/bcs").BcsType<string, string, string>;
1149
+ index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1150
+ deposit_token: import("@mysten/sui/bcs").BcsStruct<{
1151
+ name: import("@mysten/sui/bcs").BcsStruct<{
1152
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
1306
1153
  length: number;
1307
- };
1308
- };
1309
- };
1310
- bid_token: {
1311
- name: {
1312
- bytes: Iterable<number> & {
1154
+ }, string>;
1155
+ }, string>;
1156
+ }, string>;
1157
+ bid_token: import("@mysten/sui/bcs").BcsStruct<{
1158
+ name: import("@mysten/sui/bcs").BcsStruct<{
1159
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
1313
1160
  length: number;
1314
- };
1315
- };
1316
- };
1317
- }>;
1161
+ }, string>;
1162
+ }, string>;
1163
+ }, string>;
1164
+ }, string>;
1318
1165
  static fromFields(fields: Record<string, any>): NewDepositVault;
1319
1166
  static fromFieldsWithTypes(item: FieldsWithTypes): NewDepositVault;
1320
1167
  static fromBcs(data: Uint8Array): NewDepositVault;
@@ -1368,23 +1215,16 @@ export declare class NewRefundVault implements StructClass {
1368
1215
  static get r(): reified.StructClassReified<NewRefundVault, NewRefundVaultFields>;
1369
1216
  static phantom(): PhantomReified<ToTypeStr<NewRefundVault>>;
1370
1217
  static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::NewRefundVault">;
1371
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
1372
- signer: string;
1373
- token: {
1374
- name: {
1375
- bytes: number[];
1376
- };
1377
- };
1378
- }, {
1379
- signer: string;
1380
- token: {
1381
- name: {
1382
- bytes: Iterable<number> & {
1218
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
1219
+ signer: import("@mysten/sui/bcs").BcsType<string, string, string>;
1220
+ token: import("@mysten/sui/bcs").BcsStruct<{
1221
+ name: import("@mysten/sui/bcs").BcsStruct<{
1222
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
1383
1223
  length: number;
1384
- };
1385
- };
1386
- };
1387
- }>;
1224
+ }, string>;
1225
+ }, string>;
1226
+ }, string>;
1227
+ }, string>;
1388
1228
  static fromFields(fields: Record<string, any>): NewRefundVault;
1389
1229
  static fromFieldsWithTypes(item: FieldsWithTypes): NewRefundVault;
1390
1230
  static fromBcs(data: Uint8Array): NewRefundVault;
@@ -1436,29 +1276,19 @@ export declare class Recoup implements StructClass {
1436
1276
  static get r(): reified.StructClassReified<Recoup, RecoupFields>;
1437
1277
  static phantom(): PhantomReified<ToTypeStr<Recoup>>;
1438
1278
  static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::Recoup">;
1439
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
1440
- signer: string;
1441
- index: string;
1442
- token: {
1443
- name: {
1444
- bytes: number[];
1445
- };
1446
- };
1447
- active: string;
1448
- deactivating: string;
1449
- }, {
1450
- signer: string;
1451
- index: string | number | bigint;
1452
- token: {
1453
- name: {
1454
- bytes: Iterable<number> & {
1279
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
1280
+ signer: import("@mysten/sui/bcs").BcsType<string, string, string>;
1281
+ index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1282
+ token: import("@mysten/sui/bcs").BcsStruct<{
1283
+ name: import("@mysten/sui/bcs").BcsStruct<{
1284
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
1455
1285
  length: number;
1456
- };
1457
- };
1458
- };
1459
- active: string | number | bigint;
1460
- deactivating: string | number | bigint;
1461
- }>;
1286
+ }, string>;
1287
+ }, string>;
1288
+ }, string>;
1289
+ active: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1290
+ deactivating: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1291
+ }, string>;
1462
1292
  static fromFields(fields: Record<string, any>): Recoup;
1463
1293
  static fromFieldsWithTypes(item: FieldsWithTypes): Recoup;
1464
1294
  static fromBcs(data: Uint8Array): Recoup;
@@ -1514,27 +1344,18 @@ export declare class Redeem implements StructClass {
1514
1344
  static get r(): reified.StructClassReified<Redeem, RedeemFields>;
1515
1345
  static phantom(): PhantomReified<ToTypeStr<Redeem>>;
1516
1346
  static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::Redeem">;
1517
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
1518
- signer: string;
1519
- index: string;
1520
- token: {
1521
- name: {
1522
- bytes: number[];
1523
- };
1524
- };
1525
- amount: string;
1526
- }, {
1527
- signer: string;
1528
- index: string | number | bigint;
1529
- token: {
1530
- name: {
1531
- bytes: Iterable<number> & {
1347
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
1348
+ signer: import("@mysten/sui/bcs").BcsType<string, string, string>;
1349
+ index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1350
+ token: import("@mysten/sui/bcs").BcsStruct<{
1351
+ name: import("@mysten/sui/bcs").BcsStruct<{
1352
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
1532
1353
  length: number;
1533
- };
1534
- };
1535
- };
1536
- amount: string | number | bigint;
1537
- }>;
1354
+ }, string>;
1355
+ }, string>;
1356
+ }, string>;
1357
+ amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1358
+ }, string>;
1538
1359
  static fromFields(fields: Record<string, any>): Redeem;
1539
1360
  static fromFieldsWithTypes(item: FieldsWithTypes): Redeem;
1540
1361
  static fromBcs(data: Uint8Array): Redeem;
@@ -1586,17 +1407,13 @@ export declare class RefundShare implements StructClass {
1586
1407
  static get r(): reified.StructClassReified<RefundShare, RefundShareFields>;
1587
1408
  static phantom(): PhantomReified<ToTypeStr<RefundShare>>;
1588
1409
  static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::RefundShare">;
1589
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
1590
- user: string;
1591
- share: string;
1592
- u64_padding: string[];
1593
- }, {
1594
- user: string;
1595
- share: string | number | bigint;
1596
- u64_padding: Iterable<string | number | bigint> & {
1410
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
1411
+ user: import("@mysten/sui/bcs").BcsType<string, string, string>;
1412
+ share: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1413
+ u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
1597
1414
  length: number;
1598
- };
1599
- }>;
1415
+ }, string>;
1416
+ }, string>;
1600
1417
  static fromFields(fields: Record<string, any>): RefundShare;
1601
1418
  static fromFieldsWithTypes(item: FieldsWithTypes): RefundShare;
1602
1419
  static fromBcs(data: Uint8Array): RefundShare;
@@ -1646,41 +1463,27 @@ export declare class RefundVault implements StructClass {
1646
1463
  static get r(): reified.StructClassReified<RefundVault, RefundVaultFields>;
1647
1464
  static phantom(): PhantomReified<ToTypeStr<RefundVault>>;
1648
1465
  static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::RefundVault">;
1649
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
1650
- id: {
1651
- id: {
1652
- bytes: string;
1653
- };
1654
- };
1655
- token: {
1656
- name: {
1657
- bytes: number[];
1658
- };
1659
- };
1660
- share_supply: string;
1661
- u64_padding: string[];
1662
- bcs_padding: number[];
1663
- }, {
1664
- id: {
1665
- id: {
1666
- bytes: string;
1667
- };
1668
- };
1669
- token: {
1670
- name: {
1671
- bytes: Iterable<number> & {
1466
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
1467
+ id: import("@mysten/sui/bcs").BcsStruct<{
1468
+ id: import("@mysten/sui/bcs").BcsStruct<{
1469
+ bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
1470
+ }, string>;
1471
+ }, string>;
1472
+ token: import("@mysten/sui/bcs").BcsStruct<{
1473
+ name: import("@mysten/sui/bcs").BcsStruct<{
1474
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
1672
1475
  length: number;
1673
- };
1674
- };
1675
- };
1676
- share_supply: string | number | bigint;
1677
- u64_padding: Iterable<string | number | bigint> & {
1476
+ }, string>;
1477
+ }, string>;
1478
+ }, string>;
1479
+ share_supply: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1480
+ u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
1678
1481
  length: number;
1679
- };
1680
- bcs_padding: Iterable<number> & {
1482
+ }, string>;
1483
+ bcs_padding: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
1681
1484
  length: number;
1682
- };
1683
- }>;
1485
+ }, string>;
1486
+ }, string>;
1684
1487
  static fromFields(fields: Record<string, any>): RefundVault;
1685
1488
  static fromFieldsWithTypes(item: FieldsWithTypes): RefundVault;
1686
1489
  static fromBcs(data: Uint8Array): RefundVault;
@@ -1740,41 +1543,26 @@ export declare class Settle implements StructClass {
1740
1543
  static get r(): reified.StructClassReified<Settle, SettleFields>;
1741
1544
  static phantom(): PhantomReified<ToTypeStr<Settle>>;
1742
1545
  static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::Settle">;
1743
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
1744
- signer: string;
1745
- index: string;
1746
- deposit_token: {
1747
- name: {
1748
- bytes: number[];
1749
- };
1750
- };
1751
- bid_token: {
1752
- name: {
1753
- bytes: number[];
1754
- };
1755
- };
1756
- share_price: string;
1757
- share_price_decimal: string;
1758
- }, {
1759
- signer: string;
1760
- index: string | number | bigint;
1761
- deposit_token: {
1762
- name: {
1763
- bytes: Iterable<number> & {
1546
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
1547
+ signer: import("@mysten/sui/bcs").BcsType<string, string, string>;
1548
+ index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1549
+ deposit_token: import("@mysten/sui/bcs").BcsStruct<{
1550
+ name: import("@mysten/sui/bcs").BcsStruct<{
1551
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
1764
1552
  length: number;
1765
- };
1766
- };
1767
- };
1768
- bid_token: {
1769
- name: {
1770
- bytes: Iterable<number> & {
1553
+ }, string>;
1554
+ }, string>;
1555
+ }, string>;
1556
+ bid_token: import("@mysten/sui/bcs").BcsStruct<{
1557
+ name: import("@mysten/sui/bcs").BcsStruct<{
1558
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
1771
1559
  length: number;
1772
- };
1773
- };
1774
- };
1775
- share_price: string | number | bigint;
1776
- share_price_decimal: string | number | bigint;
1777
- }>;
1560
+ }, string>;
1561
+ }, string>;
1562
+ }, string>;
1563
+ share_price: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1564
+ share_price_decimal: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1565
+ }, string>;
1778
1566
  static fromFields(fields: Record<string, any>): Settle;
1779
1567
  static fromFieldsWithTypes(item: FieldsWithTypes): Settle;
1780
1568
  static fromBcs(data: Uint8Array): Settle;
@@ -1834,25 +1622,17 @@ export declare class Terminate implements StructClass {
1834
1622
  static get r(): reified.StructClassReified<Terminate, TerminateFields>;
1835
1623
  static phantom(): PhantomReified<ToTypeStr<Terminate>>;
1836
1624
  static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::Terminate">;
1837
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
1838
- signer: string;
1839
- index: string;
1840
- token: {
1841
- name: {
1842
- bytes: number[];
1843
- };
1844
- };
1845
- }, {
1846
- signer: string;
1847
- index: string | number | bigint;
1848
- token: {
1849
- name: {
1850
- bytes: Iterable<number> & {
1625
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
1626
+ signer: import("@mysten/sui/bcs").BcsType<string, string, string>;
1627
+ index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1628
+ token: import("@mysten/sui/bcs").BcsStruct<{
1629
+ name: import("@mysten/sui/bcs").BcsStruct<{
1630
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
1851
1631
  length: number;
1852
- };
1853
- };
1854
- };
1855
- }>;
1632
+ }, string>;
1633
+ }, string>;
1634
+ }, string>;
1635
+ }, string>;
1856
1636
  static fromFields(fields: Record<string, any>): Terminate;
1857
1637
  static fromFieldsWithTypes(item: FieldsWithTypes): Terminate;
1858
1638
  static fromBcs(data: Uint8Array): Terminate;
@@ -1906,39 +1686,25 @@ export declare class TypusBidReceipt implements StructClass {
1906
1686
  static get r(): reified.StructClassReified<TypusBidReceipt, TypusBidReceiptFields>;
1907
1687
  static phantom(): PhantomReified<ToTypeStr<TypusBidReceipt>>;
1908
1688
  static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::TypusBidReceipt">;
1909
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
1910
- id: {
1911
- id: {
1912
- bytes: string;
1913
- };
1914
- };
1915
- vid: {
1916
- bytes: string;
1917
- };
1918
- index: string;
1919
- metadata: {
1920
- bytes: number[];
1921
- };
1922
- u64_padding: string[];
1923
- }, {
1924
- id: {
1925
- id: {
1926
- bytes: string;
1927
- };
1928
- };
1929
- vid: {
1930
- bytes: string;
1931
- };
1932
- index: string | number | bigint;
1933
- metadata: {
1934
- bytes: Iterable<number> & {
1689
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
1690
+ id: import("@mysten/sui/bcs").BcsStruct<{
1691
+ id: import("@mysten/sui/bcs").BcsStruct<{
1692
+ bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
1693
+ }, string>;
1694
+ }, string>;
1695
+ vid: import("@mysten/sui/bcs").BcsStruct<{
1696
+ bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
1697
+ }, string>;
1698
+ index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1699
+ metadata: import("@mysten/sui/bcs").BcsStruct<{
1700
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
1935
1701
  length: number;
1936
- };
1937
- };
1938
- u64_padding: Iterable<string | number | bigint> & {
1702
+ }, string>;
1703
+ }, string>;
1704
+ u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
1939
1705
  length: number;
1940
- };
1941
- }>;
1706
+ }, string>;
1707
+ }, string>;
1942
1708
  static fromFields(fields: Record<string, any>): TypusBidReceipt;
1943
1709
  static fromFieldsWithTypes(item: FieldsWithTypes): TypusBidReceipt;
1944
1710
  static fromBcs(data: Uint8Array): TypusBidReceipt;
@@ -1992,39 +1758,25 @@ export declare class TypusDepositReceipt implements StructClass {
1992
1758
  static get r(): reified.StructClassReified<TypusDepositReceipt, TypusDepositReceiptFields>;
1993
1759
  static phantom(): PhantomReified<ToTypeStr<TypusDepositReceipt>>;
1994
1760
  static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::TypusDepositReceipt">;
1995
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
1996
- id: {
1997
- id: {
1998
- bytes: string;
1999
- };
2000
- };
2001
- vid: {
2002
- bytes: string;
2003
- };
2004
- index: string;
2005
- metadata: {
2006
- bytes: number[];
2007
- };
2008
- u64_padding: string[];
2009
- }, {
2010
- id: {
2011
- id: {
2012
- bytes: string;
2013
- };
2014
- };
2015
- vid: {
2016
- bytes: string;
2017
- };
2018
- index: string | number | bigint;
2019
- metadata: {
2020
- bytes: Iterable<number> & {
1761
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
1762
+ id: import("@mysten/sui/bcs").BcsStruct<{
1763
+ id: import("@mysten/sui/bcs").BcsStruct<{
1764
+ bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
1765
+ }, string>;
1766
+ }, string>;
1767
+ vid: import("@mysten/sui/bcs").BcsStruct<{
1768
+ bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
1769
+ }, string>;
1770
+ index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1771
+ metadata: import("@mysten/sui/bcs").BcsStruct<{
1772
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
2021
1773
  length: number;
2022
- };
2023
- };
2024
- u64_padding: Iterable<string | number | bigint> & {
1774
+ }, string>;
1775
+ }, string>;
1776
+ u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
2025
1777
  length: number;
2026
- };
2027
- }>;
1778
+ }, string>;
1779
+ }, string>;
2028
1780
  static fromFields(fields: Record<string, any>): TypusDepositReceipt;
2029
1781
  static fromFieldsWithTypes(item: FieldsWithTypes): TypusDepositReceipt;
2030
1782
  static fromBcs(data: Uint8Array): TypusDepositReceipt;
@@ -2076,27 +1828,18 @@ export declare class Unsubscribe implements StructClass {
2076
1828
  static get r(): reified.StructClassReified<Unsubscribe, UnsubscribeFields>;
2077
1829
  static phantom(): PhantomReified<ToTypeStr<Unsubscribe>>;
2078
1830
  static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::Unsubscribe">;
2079
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
2080
- signer: string;
2081
- index: string;
2082
- token: {
2083
- name: {
2084
- bytes: number[];
2085
- };
2086
- };
2087
- amount: string;
2088
- }, {
2089
- signer: string;
2090
- index: string | number | bigint;
2091
- token: {
2092
- name: {
2093
- bytes: Iterable<number> & {
1831
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
1832
+ signer: import("@mysten/sui/bcs").BcsType<string, string, string>;
1833
+ index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1834
+ token: import("@mysten/sui/bcs").BcsStruct<{
1835
+ name: import("@mysten/sui/bcs").BcsStruct<{
1836
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
2094
1837
  length: number;
2095
- };
2096
- };
2097
- };
2098
- amount: string | number | bigint;
2099
- }>;
1838
+ }, string>;
1839
+ }, string>;
1840
+ }, string>;
1841
+ amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1842
+ }, string>;
2100
1843
  static fromFields(fields: Record<string, any>): Unsubscribe;
2101
1844
  static fromFieldsWithTypes(item: FieldsWithTypes): Unsubscribe;
2102
1845
  static fromBcs(data: Uint8Array): Unsubscribe;
@@ -2150,17 +1893,12 @@ export declare class UpdateFeeConfig implements StructClass {
2150
1893
  static get r(): reified.StructClassReified<UpdateFeeConfig, UpdateFeeConfigFields>;
2151
1894
  static phantom(): PhantomReified<ToTypeStr<UpdateFeeConfig>>;
2152
1895
  static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::UpdateFeeConfig">;
2153
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
2154
- signer: string;
2155
- index: string;
2156
- prev_fee_bp: string;
2157
- fee_bp: string;
2158
- }, {
2159
- signer: string;
2160
- index: string | number | bigint;
2161
- prev_fee_bp: string | number | bigint;
2162
- fee_bp: string | number | bigint;
2163
- }>;
1896
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
1897
+ signer: import("@mysten/sui/bcs").BcsType<string, string, string>;
1898
+ index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1899
+ prev_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1900
+ fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1901
+ }, string>;
2164
1902
  static fromFields(fields: Record<string, any>): UpdateFeeConfig;
2165
1903
  static fromFieldsWithTypes(item: FieldsWithTypes): UpdateFeeConfig;
2166
1904
  static fromBcs(data: Uint8Array): UpdateFeeConfig;
@@ -2214,33 +1952,26 @@ export declare class UpdateFeeShareConfig implements StructClass {
2214
1952
  static get r(): reified.StructClassReified<UpdateFeeShareConfig, UpdateFeeShareConfigFields>;
2215
1953
  static phantom(): PhantomReified<ToTypeStr<UpdateFeeShareConfig>>;
2216
1954
  static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::UpdateFeeShareConfig">;
2217
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
2218
- signer: string;
2219
- index: string;
2220
- prev_fee_bp: string;
2221
- prev_shared_fee_pool: {
2222
- vec: any[];
2223
- };
2224
- fee_bp: string;
2225
- shared_fee_pool: {
2226
- vec: any[];
2227
- };
2228
- }, {
2229
- signer: string;
2230
- index: string | number | bigint;
2231
- prev_fee_bp: string | number | bigint;
2232
- prev_shared_fee_pool: {
2233
- vec: Iterable<any> & {
1955
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
1956
+ signer: import("@mysten/sui/bcs").BcsType<string, string, string>;
1957
+ index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1958
+ prev_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1959
+ prev_shared_fee_pool: import("@mysten/sui/bcs").BcsStruct<{
1960
+ vec: import("@mysten/sui/bcs").BcsType<number[][], Iterable<Iterable<number> & {
2234
1961
  length: number;
2235
- };
2236
- };
2237
- fee_bp: string | number | bigint;
2238
- shared_fee_pool: {
2239
- vec: Iterable<any> & {
1962
+ }> & {
2240
1963
  length: number;
2241
- };
2242
- };
2243
- }>;
1964
+ }, string>;
1965
+ }, string>;
1966
+ fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1967
+ shared_fee_pool: import("@mysten/sui/bcs").BcsStruct<{
1968
+ vec: import("@mysten/sui/bcs").BcsType<number[][], Iterable<Iterable<number> & {
1969
+ length: number;
1970
+ }> & {
1971
+ length: number;
1972
+ }, string>;
1973
+ }, string>;
1974
+ }, string>;
2244
1975
  static fromFields(fields: Record<string, any>): UpdateFeeShareConfig;
2245
1976
  static fromFieldsWithTypes(item: FieldsWithTypes): UpdateFeeShareConfig;
2246
1977
  static fromBcs(data: Uint8Array): UpdateFeeShareConfig;
@@ -2288,11 +2019,9 @@ export declare class VAULT implements StructClass {
2288
2019
  static get r(): reified.StructClassReified<VAULT, VAULTFields>;
2289
2020
  static phantom(): PhantomReified<ToTypeStr<VAULT>>;
2290
2021
  static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::VAULT">;
2291
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
2292
- dummy_field: boolean;
2293
- }, {
2294
- dummy_field: boolean;
2295
- }>;
2022
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
2023
+ dummy_field: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
2024
+ }, string>;
2296
2025
  static fromFields(fields: Record<string, any>): VAULT;
2297
2026
  static fromFieldsWithTypes(item: FieldsWithTypes): VAULT;
2298
2027
  static fromBcs(data: Uint8Array): VAULT;
@@ -2336,27 +2065,18 @@ export declare class Withdraw implements StructClass {
2336
2065
  static get r(): reified.StructClassReified<Withdraw, WithdrawFields>;
2337
2066
  static phantom(): PhantomReified<ToTypeStr<Withdraw>>;
2338
2067
  static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::Withdraw">;
2339
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
2340
- signer: string;
2341
- index: string;
2342
- token: {
2343
- name: {
2344
- bytes: number[];
2345
- };
2346
- };
2347
- amount: string;
2348
- }, {
2349
- signer: string;
2350
- index: string | number | bigint;
2351
- token: {
2352
- name: {
2353
- bytes: Iterable<number> & {
2068
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
2069
+ signer: import("@mysten/sui/bcs").BcsType<string, string, string>;
2070
+ index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2071
+ token: import("@mysten/sui/bcs").BcsStruct<{
2072
+ name: import("@mysten/sui/bcs").BcsStruct<{
2073
+ bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
2354
2074
  length: number;
2355
- };
2356
- };
2357
- };
2358
- amount: string | number | bigint;
2359
- }>;
2075
+ }, string>;
2076
+ }, string>;
2077
+ }, string>;
2078
+ amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2079
+ }, string>;
2360
2080
  static fromFields(fields: Record<string, any>): Withdraw;
2361
2081
  static fromFieldsWithTypes(item: FieldsWithTypes): Withdraw;
2362
2082
  static fromBcs(data: Uint8Array): Withdraw;