@typus/typus-perp-sdk 1.2.2 → 1.3.0

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 (71) hide show
  1. package/dist/src/client.d.ts +22 -3
  2. package/dist/src/client.js +66 -8
  3. package/dist/src/fetch.d.ts +61 -20
  4. package/dist/src/fetch.js +20 -14
  5. package/dist/src/generated/typus_perp/admin.d.ts +65 -21
  6. package/dist/src/generated/typus_perp/admin.js +139 -123
  7. package/dist/src/generated/typus_perp/competition.d.ts +5 -17
  8. package/dist/src/generated/typus_perp/competition.js +63 -39
  9. package/dist/src/generated/typus_perp/deps/std/type_name.d.ts +9 -9
  10. package/dist/src/generated/typus_perp/deps/std/type_name.js +13 -16
  11. package/dist/src/generated/typus_perp/deps/sui/balance.d.ts +2 -2
  12. package/dist/src/generated/typus_perp/deps/sui/balance.js +5 -8
  13. package/dist/src/generated/typus_perp/deps/sui/object.d.ts +8 -0
  14. package/dist/src/generated/typus_perp/deps/sui/object.js +13 -0
  15. package/dist/src/generated/typus_perp/deps/sui/object_table.d.ts +5 -3
  16. package/dist/src/generated/typus_perp/deps/sui/object_table.js +40 -9
  17. package/dist/src/generated/typus_perp/deps/sui/table.d.ts +5 -3
  18. package/dist/src/generated/typus_perp/deps/sui/table.js +40 -9
  19. package/dist/src/generated/typus_perp/deps/sui/vec_set.d.ts +5 -3
  20. package/dist/src/generated/typus_perp/deps/sui/vec_set.js +5 -8
  21. package/dist/src/generated/typus_perp/deps/typus/keyed_big_vector.d.ts +4 -2
  22. package/dist/src/generated/typus_perp/deps/typus/keyed_big_vector.js +9 -12
  23. package/dist/src/generated/typus_perp/deps/typus/linked_object_table.d.ts +12 -6
  24. package/dist/src/generated/typus_perp/deps/typus/linked_object_table.js +41 -10
  25. package/dist/src/generated/typus_perp/deps/typus_framework/vault.d.ts +4 -2
  26. package/dist/src/generated/typus_perp/deps/typus_framework/vault.js +40 -9
  27. package/dist/src/generated/typus_perp/error.d.ts +201 -94
  28. package/dist/src/generated/typus_perp/error.js +300 -273
  29. package/dist/src/generated/typus_perp/escrow.d.ts +14 -6
  30. package/dist/src/generated/typus_perp/escrow.js +38 -37
  31. package/dist/src/generated/typus_perp/lending.d.ts +1 -1
  32. package/dist/src/generated/typus_perp/lending.js +3 -3
  33. package/dist/src/generated/typus_perp/lp_pool.d.ts +438 -392
  34. package/dist/src/generated/typus_perp/lp_pool.js +987 -934
  35. package/dist/src/generated/typus_perp/math.d.ts +13 -16
  36. package/dist/src/generated/typus_perp/math.js +51 -50
  37. package/dist/src/generated/typus_perp/position.d.ts +194 -106
  38. package/dist/src/generated/typus_perp/position.js +714 -733
  39. package/dist/src/generated/typus_perp/profit_vault.d.ts +62 -20
  40. package/dist/src/generated/typus_perp/profit_vault.js +162 -148
  41. package/dist/src/generated/typus_perp/symbol.d.ts +12 -5
  42. package/dist/src/generated/typus_perp/symbol.js +28 -25
  43. package/dist/src/generated/typus_perp/trading.d.ts +956 -139
  44. package/dist/src/generated/typus_perp/trading.js +1577 -1151
  45. package/dist/src/generated/typus_perp/treasury_caps.d.ts +16 -7
  46. package/dist/src/generated/typus_perp/treasury_caps.js +60 -24
  47. package/dist/src/generated/typus_perp/user_account.d.ts +40 -0
  48. package/dist/src/generated/typus_perp/user_account.js +66 -0
  49. package/dist/src/generated/typus_stake_pool/admin.d.ts +144 -10
  50. package/dist/src/generated/typus_stake_pool/admin.js +132 -49
  51. package/dist/src/generated/typus_stake_pool/deps/std/type_name.d.ts +9 -9
  52. package/dist/src/generated/typus_stake_pool/deps/std/type_name.js +13 -16
  53. package/dist/src/generated/typus_stake_pool/deps/sui/object.d.ts +8 -0
  54. package/dist/src/generated/typus_stake_pool/deps/sui/object.js +13 -0
  55. package/dist/src/generated/typus_stake_pool/deps/sui/vec_map.d.ts +36 -0
  56. package/dist/src/generated/typus_stake_pool/deps/sui/vec_map.js +31 -0
  57. package/dist/src/generated/typus_stake_pool/deps/sui/vec_set.d.ts +5 -3
  58. package/dist/src/generated/typus_stake_pool/deps/sui/vec_set.js +5 -8
  59. package/dist/src/generated/typus_stake_pool/stake_pool.d.ts +180 -79
  60. package/dist/src/generated/typus_stake_pool/stake_pool.js +446 -414
  61. package/dist/src/generated/utils/index.d.ts +4 -23
  62. package/dist/src/generated/utils/index.js +34 -54
  63. package/dist/src/index.d.ts +5 -0
  64. package/dist/src/index.js +35 -13
  65. package/dist/src/user/order.d.ts +0 -4
  66. package/dist/src/user/order.js +31 -74
  67. package/dist/src/user/orderWithBidReceipt.d.ts +0 -3
  68. package/dist/src/user/orderWithBidReceipt.js +24 -45
  69. package/dist/src/user/tlp.d.ts +0 -5
  70. package/dist/src/user/tlp.js +28 -73
  71. package/package.json +42 -40
@@ -6,8 +6,8 @@
6
6
  * logic for creating, updating, and closing them. All of the functions are inner
7
7
  * package functions used in `trading.move`.
8
8
  */
9
- import { MoveStruct, type RawTransactionArgument } from "../utils/index.js";
10
- import { type Transaction } from "@mysten/sui/transactions";
9
+ import { MoveStruct, type RawTransactionArgument } from '../utils/index';
10
+ import { type Transaction } from '@mysten/sui/transactions';
11
11
  export declare const OptionCollateralInfo: MoveStruct<{
12
12
  /** The index of the portfolio. */
13
13
  index: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
@@ -23,11 +23,11 @@ export declare const OptionCollateralInfo: MoveStruct<{
23
23
  }, string>;
24
24
  }, "@typus/perp::position::OptionCollateralInfo">;
25
25
  export declare const Position: MoveStruct<{
26
- id: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
26
+ id: MoveStruct<{
27
+ id: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
28
+ }, "0x2::object::UID">;
27
29
  /** The timestamp when the position was created. */
28
30
  create_ts_ms: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
29
- /** The timestamp when the position was last updated. */
30
- update_ts_ms: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
31
31
  /** The ID of the position. */
32
32
  position_id: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
33
33
  /** A vector of the linked order IDs. */
@@ -109,7 +109,9 @@ export declare const Position: MoveStruct<{
109
109
  }, string>;
110
110
  }, "@typus/perp::position::Position">;
111
111
  export declare const TradingOrder: MoveStruct<{
112
- id: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
112
+ id: MoveStruct<{
113
+ id: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
114
+ }, "0x2::object::UID">;
113
115
  /** The timestamp when the order was created. */
114
116
  create_ts_ms: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
115
117
  /** The ID of the order. */
@@ -265,7 +267,9 @@ export interface CreateOrderOptions {
265
267
  orderId: RawTransactionArgument<number | bigint>,
266
268
  oraclePrice: RawTransactionArgument<number | bigint>
267
269
  ];
268
- typeArguments: [string];
270
+ typeArguments: [
271
+ string
272
+ ];
269
273
  }
270
274
  /** Creates a new trading order. WARNING: no authority check inside */
271
275
  export declare function createOrder(options: CreateOrderOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
@@ -275,8 +279,13 @@ export interface RemoveOrderArguments {
275
279
  }
276
280
  export interface RemoveOrderOptions {
277
281
  package?: string;
278
- arguments: RemoveOrderArguments | [version: RawTransactionArgument<string>, order: RawTransactionArgument<string>];
279
- typeArguments: [string];
282
+ arguments: RemoveOrderArguments | [
283
+ version: RawTransactionArgument<string>,
284
+ order: RawTransactionArgument<string>
285
+ ];
286
+ typeArguments: [
287
+ string
288
+ ];
280
289
  }
281
290
  /** Removes a trading order. WARNING: no authority check inside */
282
291
  export declare function removeOrder(options: RemoveOrderOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
@@ -310,7 +319,9 @@ export interface ManagerCreateReduceOnlyOrderOptions {
310
319
  orderId: RawTransactionArgument<number | bigint>,
311
320
  oraclePrice: RawTransactionArgument<number | bigint>
312
321
  ];
313
- typeArguments: [string];
322
+ typeArguments: [
323
+ string
324
+ ];
314
325
  }
315
326
  /** [Authorized Function] Creates a reduce-only order by the manager. */
316
327
  export declare function managerCreateReduceOnlyOrder(options: ManagerCreateReduceOnlyOrderOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
@@ -332,7 +343,9 @@ export interface IncreaseCollateralOptions {
332
343
  tradingPairOraclePrice: RawTransactionArgument<number | bigint>,
333
344
  tradingPairOraclePriceDecimal: RawTransactionArgument<number | bigint>
334
345
  ];
335
- typeArguments: [string];
346
+ typeArguments: [
347
+ string
348
+ ];
336
349
  }
337
350
  /** Increases the collateral of a position. WARNING: no authority check inside */
338
351
  export declare function increaseCollateral(options: IncreaseCollateralOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
@@ -354,7 +367,9 @@ export interface ReleaseCollateralOptions {
354
367
  tradingPairOraclePrice: RawTransactionArgument<number | bigint>,
355
368
  tradingPairOraclePriceDecimal: RawTransactionArgument<number | bigint>
356
369
  ];
357
- typeArguments: [string];
370
+ typeArguments: [
371
+ string
372
+ ];
358
373
  }
359
374
  /** Releases collateral from a position. WARNING: no authority check inside */
360
375
  export declare function releaseCollateral(options: ReleaseCollateralOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
@@ -364,8 +379,13 @@ export interface RemovePositionArguments {
364
379
  }
365
380
  export interface RemovePositionOptions {
366
381
  package?: string;
367
- arguments: RemovePositionArguments | [version: RawTransactionArgument<string>, position: RawTransactionArgument<string>];
368
- typeArguments: [string];
382
+ arguments: RemovePositionArguments | [
383
+ version: RawTransactionArgument<string>,
384
+ position: RawTransactionArgument<string>
385
+ ];
386
+ typeArguments: [
387
+ string
388
+ ];
369
389
  }
370
390
  /** Removes a position. WARNING: no authority check inside */
371
391
  export declare function removePosition(options: RemovePositionOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
@@ -386,6 +406,8 @@ export interface OrderFilledArguments {
386
406
  cumulativeFundingRateIndexSign: RawTransactionArgument<boolean>;
387
407
  cumulativeFundingRateIndex: RawTransactionArgument<number | bigint>;
388
408
  tradingFeeMbp: RawTransactionArgument<number | bigint>;
409
+ referralCodeId: RawTransactionArgument<number | bigint>;
410
+ feeReductionBp: RawTransactionArgument<number | bigint>;
389
411
  }
390
412
  export interface OrderFilledOptions {
391
413
  package?: string;
@@ -405,9 +427,13 @@ export interface OrderFilledOptions {
405
427
  cumulativeBorrowRate: RawTransactionArgument<number | bigint>,
406
428
  cumulativeFundingRateIndexSign: RawTransactionArgument<boolean>,
407
429
  cumulativeFundingRateIndex: RawTransactionArgument<number | bigint>,
408
- tradingFeeMbp: RawTransactionArgument<number | bigint>
430
+ tradingFeeMbp: RawTransactionArgument<number | bigint>,
431
+ referralCodeId: RawTransactionArgument<number | bigint>,
432
+ feeReductionBp: RawTransactionArgument<number | bigint>
433
+ ];
434
+ typeArguments: [
435
+ string
409
436
  ];
410
- typeArguments: [string];
411
437
  }
412
438
  /** Handles a filled order. WARNING: no authority check inside */
413
439
  export declare function orderFilled(options: OrderFilledOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
@@ -435,7 +461,9 @@ export interface RealizePositionPnlAndFeeOptions {
435
461
  collateralOraclePrice: RawTransactionArgument<number | bigint>,
436
462
  collateralOraclePriceDecimal: RawTransactionArgument<number | bigint>
437
463
  ];
438
- typeArguments: [string];
464
+ typeArguments: [
465
+ string
466
+ ];
439
467
  }
440
468
  /** Realizes the PnL and fees of a position. WARNING: no authority check inside */
441
469
  export declare function realizePositionPnlAndFee(options: RealizePositionPnlAndFeeOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
@@ -453,7 +481,9 @@ export interface RealizeFundingFeeOptions {
453
481
  collateralOraclePrice: RawTransactionArgument<number | bigint>,
454
482
  collateralOraclePriceDecimal: RawTransactionArgument<number | bigint>
455
483
  ];
456
- typeArguments: [string];
484
+ typeArguments: [
485
+ string
486
+ ];
457
487
  }
458
488
  /** Realizes the funding fee of a position. WARNING: no authority check inside */
459
489
  export declare function realizeFundingFee(options: RealizeFundingFeeOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
@@ -463,7 +493,10 @@ export interface CheckOrderFilledArguments {
463
493
  }
464
494
  export interface CheckOrderFilledOptions {
465
495
  package?: string;
466
- arguments: CheckOrderFilledArguments | [order: RawTransactionArgument<string>, oraclePrice: RawTransactionArgument<number | bigint>];
496
+ arguments: CheckOrderFilledArguments | [
497
+ order: RawTransactionArgument<string>,
498
+ oraclePrice: RawTransactionArgument<number | bigint>
499
+ ];
467
500
  }
468
501
  export declare function checkOrderFilled(options: CheckOrderFilledOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
469
502
  export interface CalculatePeriodBorrowCostArguments {
@@ -624,7 +657,10 @@ export interface RemovePositionWithBidReceiptsArguments {
624
657
  }
625
658
  export interface RemovePositionWithBidReceiptsOptions {
626
659
  package?: string;
627
- arguments: RemovePositionWithBidReceiptsArguments | [version: RawTransactionArgument<string>, position: RawTransactionArgument<string>];
660
+ arguments: RemovePositionWithBidReceiptsArguments | [
661
+ version: RawTransactionArgument<string>,
662
+ position: RawTransactionArgument<string>
663
+ ];
628
664
  }
629
665
  export declare function removePositionWithBidReceipts(options: RemovePositionWithBidReceiptsOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
630
666
  export interface OrderFilledWithBidReceiptsCollateralArguments {
@@ -635,8 +671,7 @@ export interface OrderFilledWithBidReceiptsCollateralArguments {
635
671
  competitionConfig: RawTransactionArgument<string>;
636
672
  liquidityPool: RawTransactionArgument<string>;
637
673
  dovRegistry: RawTransactionArgument<string>;
638
- typusOracleTradingSymbol: RawTransactionArgument<string>;
639
- typusOracleCToken: RawTransactionArgument<string>;
674
+ oracleV2: RawTransactionArgument<string>;
640
675
  order: RawTransactionArgument<string>;
641
676
  originalPosition: RawTransactionArgument<string | null>;
642
677
  nextPositionId: RawTransactionArgument<number | bigint>;
@@ -648,6 +683,8 @@ export interface OrderFilledWithBidReceiptsCollateralArguments {
648
683
  cumulativeFundingRateIndexSign: RawTransactionArgument<boolean>;
649
684
  cumulativeFundingRateIndex: RawTransactionArgument<number | bigint>;
650
685
  tradingFeeMbp: RawTransactionArgument<number | bigint>;
686
+ referralCodeId: RawTransactionArgument<number | bigint>;
687
+ feeReductionBp: RawTransactionArgument<number | bigint>;
651
688
  }
652
689
  export interface OrderFilledWithBidReceiptsCollateralOptions {
653
690
  package?: string;
@@ -659,8 +696,7 @@ export interface OrderFilledWithBidReceiptsCollateralOptions {
659
696
  competitionConfig: RawTransactionArgument<string>,
660
697
  liquidityPool: RawTransactionArgument<string>,
661
698
  dovRegistry: RawTransactionArgument<string>,
662
- typusOracleTradingSymbol: RawTransactionArgument<string>,
663
- typusOracleCToken: RawTransactionArgument<string>,
699
+ oracleV2: RawTransactionArgument<string>,
664
700
  order: RawTransactionArgument<string>,
665
701
  originalPosition: RawTransactionArgument<string | null>,
666
702
  nextPositionId: RawTransactionArgument<number | bigint>,
@@ -671,15 +707,19 @@ export interface OrderFilledWithBidReceiptsCollateralOptions {
671
707
  cumulativeBorrowRate: RawTransactionArgument<number | bigint>,
672
708
  cumulativeFundingRateIndexSign: RawTransactionArgument<boolean>,
673
709
  cumulativeFundingRateIndex: RawTransactionArgument<number | bigint>,
674
- tradingFeeMbp: RawTransactionArgument<number | bigint>
710
+ tradingFeeMbp: RawTransactionArgument<number | bigint>,
711
+ referralCodeId: RawTransactionArgument<number | bigint>,
712
+ feeReductionBp: RawTransactionArgument<number | bigint>
713
+ ];
714
+ typeArguments: [
715
+ string,
716
+ string
675
717
  ];
676
- typeArguments: [string, string];
677
718
  }
678
719
  export declare function orderFilledWithBidReceiptsCollateral(options: OrderFilledWithBidReceiptsCollateralOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
679
720
  export interface CheckOptionCollateralPositionLiquidatedArguments {
680
721
  dovRegistry: RawTransactionArgument<string>;
681
- typusOracleTradingSymbol: RawTransactionArgument<string>;
682
- typusOracleCToken: RawTransactionArgument<string>;
722
+ oracleV2: RawTransactionArgument<string>;
683
723
  position: RawTransactionArgument<string>;
684
724
  collateralOraclePrice: RawTransactionArgument<number | bigint>;
685
725
  collateralOraclePriceDecimal: RawTransactionArgument<number | bigint>;
@@ -695,8 +735,7 @@ export interface CheckOptionCollateralPositionLiquidatedOptions {
695
735
  package?: string;
696
736
  arguments: CheckOptionCollateralPositionLiquidatedArguments | [
697
737
  dovRegistry: RawTransactionArgument<string>,
698
- typusOracleTradingSymbol: RawTransactionArgument<string>,
699
- typusOracleCToken: RawTransactionArgument<string>,
738
+ oracleV2: RawTransactionArgument<string>,
700
739
  position: RawTransactionArgument<string>,
701
740
  collateralOraclePrice: RawTransactionArgument<number | bigint>,
702
741
  collateralOraclePriceDecimal: RawTransactionArgument<number | bigint>,
@@ -708,7 +747,9 @@ export interface CheckOptionCollateralPositionLiquidatedOptions {
708
747
  cumulativeFundingRateIndexSign: RawTransactionArgument<boolean>,
709
748
  cumulativeFundingRateIndex: RawTransactionArgument<number | bigint>
710
749
  ];
711
- typeArguments: [string];
750
+ typeArguments: [
751
+ string
752
+ ];
712
753
  }
713
754
  export declare function checkOptionCollateralPositionLiquidated(options: CheckOptionCollateralPositionLiquidatedOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
714
755
  export interface AddPositionLinkedOrderInfoArguments {
@@ -732,7 +773,10 @@ export interface RemovePositionLinkedOrderInfoArguments {
732
773
  }
733
774
  export interface RemovePositionLinkedOrderInfoOptions {
734
775
  package?: string;
735
- arguments: RemovePositionLinkedOrderInfoArguments | [position: RawTransactionArgument<string>, linkedOrderId: RawTransactionArgument<number | bigint>];
776
+ arguments: RemovePositionLinkedOrderInfoArguments | [
777
+ position: RawTransactionArgument<string>,
778
+ linkedOrderId: RawTransactionArgument<number | bigint>
779
+ ];
736
780
  }
737
781
  /** Removes linked order info from a position. WARNING: no authority check inside */
738
782
  export declare function removePositionLinkedOrderInfo(options: RemovePositionLinkedOrderInfoOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
@@ -766,19 +810,19 @@ export interface UpdatePositionBorrowRateAndFundingRateOptions {
766
810
  export declare function updatePositionBorrowRateAndFundingRate(options: UpdatePositionBorrowRateAndFundingRateOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
767
811
  export interface UpdateOptionPositionCollateralAmountArguments {
768
812
  dovRegistry: RawTransactionArgument<string>;
769
- typusOracleTradingSymbol: RawTransactionArgument<string>;
770
- typusOracleCToken: RawTransactionArgument<string>;
813
+ oracleV2: RawTransactionArgument<string>;
771
814
  position: RawTransactionArgument<string>;
772
815
  }
773
816
  export interface UpdateOptionPositionCollateralAmountOptions {
774
817
  package?: string;
775
818
  arguments: UpdateOptionPositionCollateralAmountArguments | [
776
819
  dovRegistry: RawTransactionArgument<string>,
777
- typusOracleTradingSymbol: RawTransactionArgument<string>,
778
- typusOracleCToken: RawTransactionArgument<string>,
820
+ oracleV2: RawTransactionArgument<string>,
779
821
  position: RawTransactionArgument<string>
780
822
  ];
781
- typeArguments: [string];
823
+ typeArguments: [
824
+ string
825
+ ];
782
826
  }
783
827
  /**
784
828
  * Updates the collateral amount of an option position. WARNING: no authority check
@@ -827,19 +871,19 @@ export interface CalculateFilled_Options {
827
871
  export declare function calculateFilled_(options: CalculateFilled_Options): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
828
872
  export interface CalculateIntrinsicValueArguments {
829
873
  dovRegistry: RawTransactionArgument<string>;
830
- typusOracleTradingSymbol: RawTransactionArgument<string>;
831
- typusOracleCToken: RawTransactionArgument<string>;
874
+ oracleV2: RawTransactionArgument<string>;
832
875
  receipts: RawTransactionArgument<string[]>;
833
876
  }
834
877
  export interface CalculateIntrinsicValueOptions {
835
878
  package?: string;
836
879
  arguments: CalculateIntrinsicValueArguments | [
837
880
  dovRegistry: RawTransactionArgument<string>,
838
- typusOracleTradingSymbol: RawTransactionArgument<string>,
839
- typusOracleCToken: RawTransactionArgument<string>,
881
+ oracleV2: RawTransactionArgument<string>,
840
882
  receipts: RawTransactionArgument<string[]>
841
883
  ];
842
- typeArguments: [string];
884
+ typeArguments: [
885
+ string
886
+ ];
843
887
  }
844
888
  export declare function calculateIntrinsicValue(options: CalculateIntrinsicValueOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
845
889
  export interface CollateralWithPnlArguments {
@@ -913,7 +957,9 @@ export interface IsOptionCollateralOrderArguments {
913
957
  }
914
958
  export interface IsOptionCollateralOrderOptions {
915
959
  package?: string;
916
- arguments: IsOptionCollateralOrderArguments | [order: RawTransactionArgument<string>];
960
+ arguments: IsOptionCollateralOrderArguments | [
961
+ order: RawTransactionArgument<string>
962
+ ];
917
963
  }
918
964
  export declare function isOptionCollateralOrder(options: IsOptionCollateralOrderOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
919
965
  export interface GetOrderCollateralTokenArguments {
@@ -921,7 +967,9 @@ export interface GetOrderCollateralTokenArguments {
921
967
  }
922
968
  export interface GetOrderCollateralTokenOptions {
923
969
  package?: string;
924
- arguments: GetOrderCollateralTokenArguments | [order: RawTransactionArgument<string>];
970
+ arguments: GetOrderCollateralTokenArguments | [
971
+ order: RawTransactionArgument<string>
972
+ ];
925
973
  }
926
974
  export declare function getOrderCollateralToken(options: GetOrderCollateralTokenOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
927
975
  export interface GetOrderCollateralTokenDecimalArguments {
@@ -929,7 +977,9 @@ export interface GetOrderCollateralTokenDecimalArguments {
929
977
  }
930
978
  export interface GetOrderCollateralTokenDecimalOptions {
931
979
  package?: string;
932
- arguments: GetOrderCollateralTokenDecimalArguments | [order: RawTransactionArgument<string>];
980
+ arguments: GetOrderCollateralTokenDecimalArguments | [
981
+ order: RawTransactionArgument<string>
982
+ ];
933
983
  }
934
984
  export declare function getOrderCollateralTokenDecimal(options: GetOrderCollateralTokenDecimalOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
935
985
  export interface GetOrderTradingSymbolArguments {
@@ -937,7 +987,9 @@ export interface GetOrderTradingSymbolArguments {
937
987
  }
938
988
  export interface GetOrderTradingSymbolOptions {
939
989
  package?: string;
940
- arguments: GetOrderTradingSymbolArguments | [order: RawTransactionArgument<string>];
990
+ arguments: GetOrderTradingSymbolArguments | [
991
+ order: RawTransactionArgument<string>
992
+ ];
941
993
  }
942
994
  export declare function getOrderTradingSymbol(options: GetOrderTradingSymbolOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
943
995
  export interface GetOrderPriceArguments {
@@ -945,7 +997,9 @@ export interface GetOrderPriceArguments {
945
997
  }
946
998
  export interface GetOrderPriceOptions {
947
999
  package?: string;
948
- arguments: GetOrderPriceArguments | [order: RawTransactionArgument<string>];
1000
+ arguments: GetOrderPriceArguments | [
1001
+ order: RawTransactionArgument<string>
1002
+ ];
949
1003
  }
950
1004
  export declare function getOrderPrice(options: GetOrderPriceOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
951
1005
  export interface GetOrderUserArguments {
@@ -953,7 +1007,9 @@ export interface GetOrderUserArguments {
953
1007
  }
954
1008
  export interface GetOrderUserOptions {
955
1009
  package?: string;
956
- arguments: GetOrderUserArguments | [order: RawTransactionArgument<string>];
1010
+ arguments: GetOrderUserArguments | [
1011
+ order: RawTransactionArgument<string>
1012
+ ];
957
1013
  }
958
1014
  export declare function getOrderUser(options: GetOrderUserOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
959
1015
  export interface GetOrderIdArguments {
@@ -961,7 +1017,9 @@ export interface GetOrderIdArguments {
961
1017
  }
962
1018
  export interface GetOrderIdOptions {
963
1019
  package?: string;
964
- arguments: GetOrderIdArguments | [order: RawTransactionArgument<string>];
1020
+ arguments: GetOrderIdArguments | [
1021
+ order: RawTransactionArgument<string>
1022
+ ];
965
1023
  }
966
1024
  export declare function getOrderId(options: GetOrderIdOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
967
1025
  export interface GetOrderSizeArguments {
@@ -969,7 +1027,9 @@ export interface GetOrderSizeArguments {
969
1027
  }
970
1028
  export interface GetOrderSizeOptions {
971
1029
  package?: string;
972
- arguments: GetOrderSizeArguments | [order: RawTransactionArgument<string>];
1030
+ arguments: GetOrderSizeArguments | [
1031
+ order: RawTransactionArgument<string>
1032
+ ];
973
1033
  }
974
1034
  export declare function getOrderSize(options: GetOrderSizeOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
975
1035
  export interface GetOrderSideArguments {
@@ -977,7 +1037,9 @@ export interface GetOrderSideArguments {
977
1037
  }
978
1038
  export interface GetOrderSideOptions {
979
1039
  package?: string;
980
- arguments: GetOrderSideArguments | [order: RawTransactionArgument<string>];
1040
+ arguments: GetOrderSideArguments | [
1041
+ order: RawTransactionArgument<string>
1042
+ ];
981
1043
  }
982
1044
  export declare function getOrderSide(options: GetOrderSideOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
983
1045
  export interface GetOrderReduceOnlyArguments {
@@ -985,7 +1047,9 @@ export interface GetOrderReduceOnlyArguments {
985
1047
  }
986
1048
  export interface GetOrderReduceOnlyOptions {
987
1049
  package?: string;
988
- arguments: GetOrderReduceOnlyArguments | [order: RawTransactionArgument<string>];
1050
+ arguments: GetOrderReduceOnlyArguments | [
1051
+ order: RawTransactionArgument<string>
1052
+ ];
989
1053
  }
990
1054
  export declare function getOrderReduceOnly(options: GetOrderReduceOnlyOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
991
1055
  export interface GetOrderLinkedPositionIdArguments {
@@ -993,7 +1057,9 @@ export interface GetOrderLinkedPositionIdArguments {
993
1057
  }
994
1058
  export interface GetOrderLinkedPositionIdOptions {
995
1059
  package?: string;
996
- arguments: GetOrderLinkedPositionIdArguments | [order: RawTransactionArgument<string>];
1060
+ arguments: GetOrderLinkedPositionIdArguments | [
1061
+ order: RawTransactionArgument<string>
1062
+ ];
997
1063
  }
998
1064
  export declare function getOrderLinkedPositionId(options: GetOrderLinkedPositionIdOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
999
1065
  export interface GetOrderTypeTagArguments {
@@ -1001,7 +1067,9 @@ export interface GetOrderTypeTagArguments {
1001
1067
  }
1002
1068
  export interface GetOrderTypeTagOptions {
1003
1069
  package?: string;
1004
- arguments: GetOrderTypeTagArguments | [order: RawTransactionArgument<string>];
1070
+ arguments: GetOrderTypeTagArguments | [
1071
+ order: RawTransactionArgument<string>
1072
+ ];
1005
1073
  }
1006
1074
  export declare function getOrderTypeTag(options: GetOrderTypeTagOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1007
1075
  export interface GetOrderCollateralAmountArguments {
@@ -1009,25 +1077,29 @@ export interface GetOrderCollateralAmountArguments {
1009
1077
  }
1010
1078
  export interface GetOrderCollateralAmountOptions {
1011
1079
  package?: string;
1012
- arguments: GetOrderCollateralAmountArguments | [order: RawTransactionArgument<string>];
1013
- typeArguments: [string];
1080
+ arguments: GetOrderCollateralAmountArguments | [
1081
+ order: RawTransactionArgument<string>
1082
+ ];
1083
+ typeArguments: [
1084
+ string
1085
+ ];
1014
1086
  }
1015
1087
  export declare function getOrderCollateralAmount(options: GetOrderCollateralAmountOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1016
1088
  export interface GetOptionCollateralOrderCollateralAmountArguments {
1017
1089
  dovRegistry: RawTransactionArgument<string>;
1018
- typusOracleTradingSymbol: RawTransactionArgument<string>;
1019
- typusOracleCToken: RawTransactionArgument<string>;
1090
+ oracleV2: RawTransactionArgument<string>;
1020
1091
  order: RawTransactionArgument<string>;
1021
1092
  }
1022
1093
  export interface GetOptionCollateralOrderCollateralAmountOptions {
1023
1094
  package?: string;
1024
1095
  arguments: GetOptionCollateralOrderCollateralAmountArguments | [
1025
1096
  dovRegistry: RawTransactionArgument<string>,
1026
- typusOracleTradingSymbol: RawTransactionArgument<string>,
1027
- typusOracleCToken: RawTransactionArgument<string>,
1097
+ oracleV2: RawTransactionArgument<string>,
1028
1098
  order: RawTransactionArgument<string>
1029
1099
  ];
1030
- typeArguments: [string];
1100
+ typeArguments: [
1101
+ string
1102
+ ];
1031
1103
  }
1032
1104
  export declare function getOptionCollateralOrderCollateralAmount(options: GetOptionCollateralOrderCollateralAmountOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1033
1105
  export interface CalculateTradingFeeArguments {
@@ -1073,7 +1145,9 @@ export interface IsOptionCollateralPositionArguments {
1073
1145
  }
1074
1146
  export interface IsOptionCollateralPositionOptions {
1075
1147
  package?: string;
1076
- arguments: IsOptionCollateralPositionArguments | [position: RawTransactionArgument<string>];
1148
+ arguments: IsOptionCollateralPositionArguments | [
1149
+ position: RawTransactionArgument<string>
1150
+ ];
1077
1151
  }
1078
1152
  export declare function isOptionCollateralPosition(options: IsOptionCollateralPositionOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1079
1153
  export interface EmitRealizedFundingEventArguments {
@@ -1100,30 +1174,14 @@ export interface EmitRealizedFundingEventOptions {
1100
1174
  ];
1101
1175
  }
1102
1176
  export declare function emitRealizedFundingEvent(options: EmitRealizedFundingEventOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1103
- export interface CheckPositionUpdateTimestampArguments {
1104
- position: RawTransactionArgument<string>;
1105
- thresholdTsMs: RawTransactionArgument<number | bigint>;
1106
- }
1107
- export interface CheckPositionUpdateTimestampOptions {
1108
- package?: string;
1109
- arguments: CheckPositionUpdateTimestampArguments | [position: RawTransactionArgument<string>, thresholdTsMs: RawTransactionArgument<number | bigint>];
1110
- }
1111
- export declare function checkPositionUpdateTimestamp(options: CheckPositionUpdateTimestampOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1112
- export interface CheckPositionUpdateTimestamp_Arguments {
1113
- position: RawTransactionArgument<string>;
1114
- thresholdTsMs: RawTransactionArgument<number | bigint>;
1115
- }
1116
- export interface CheckPositionUpdateTimestamp_Options {
1117
- package?: string;
1118
- arguments: CheckPositionUpdateTimestamp_Arguments | [position: RawTransactionArgument<string>, thresholdTsMs: RawTransactionArgument<number | bigint>];
1119
- }
1120
- export declare function checkPositionUpdateTimestamp_(options: CheckPositionUpdateTimestamp_Options): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1121
1177
  export interface GetPositionIdArguments {
1122
1178
  position: RawTransactionArgument<string>;
1123
1179
  }
1124
1180
  export interface GetPositionIdOptions {
1125
1181
  package?: string;
1126
- arguments: GetPositionIdArguments | [position: RawTransactionArgument<string>];
1182
+ arguments: GetPositionIdArguments | [
1183
+ position: RawTransactionArgument<string>
1184
+ ];
1127
1185
  }
1128
1186
  export declare function getPositionId(options: GetPositionIdOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1129
1187
  export interface GetPositionSizeArguments {
@@ -1131,7 +1189,9 @@ export interface GetPositionSizeArguments {
1131
1189
  }
1132
1190
  export interface GetPositionSizeOptions {
1133
1191
  package?: string;
1134
- arguments: GetPositionSizeArguments | [position: RawTransactionArgument<string>];
1192
+ arguments: GetPositionSizeArguments | [
1193
+ position: RawTransactionArgument<string>
1194
+ ];
1135
1195
  }
1136
1196
  export declare function getPositionSize(options: GetPositionSizeOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1137
1197
  export interface GetPositionSideArguments {
@@ -1139,7 +1199,9 @@ export interface GetPositionSideArguments {
1139
1199
  }
1140
1200
  export interface GetPositionSideOptions {
1141
1201
  package?: string;
1142
- arguments: GetPositionSideArguments | [position: RawTransactionArgument<string>];
1202
+ arguments: GetPositionSideArguments | [
1203
+ position: RawTransactionArgument<string>
1204
+ ];
1143
1205
  }
1144
1206
  export declare function getPositionSide(options: GetPositionSideOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1145
1207
  export interface GetPositionUserArguments {
@@ -1147,7 +1209,9 @@ export interface GetPositionUserArguments {
1147
1209
  }
1148
1210
  export interface GetPositionUserOptions {
1149
1211
  package?: string;
1150
- arguments: GetPositionUserArguments | [position: RawTransactionArgument<string>];
1212
+ arguments: GetPositionUserArguments | [
1213
+ position: RawTransactionArgument<string>
1214
+ ];
1151
1215
  }
1152
1216
  export declare function getPositionUser(options: GetPositionUserOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1153
1217
  export interface GetPositionSymbolArguments {
@@ -1155,7 +1219,9 @@ export interface GetPositionSymbolArguments {
1155
1219
  }
1156
1220
  export interface GetPositionSymbolOptions {
1157
1221
  package?: string;
1158
- arguments: GetPositionSymbolArguments | [position: RawTransactionArgument<string>];
1222
+ arguments: GetPositionSymbolArguments | [
1223
+ position: RawTransactionArgument<string>
1224
+ ];
1159
1225
  }
1160
1226
  export declare function getPositionSymbol(options: GetPositionSymbolOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1161
1227
  export interface GetPositionOptionCollateralInfoArguments {
@@ -1163,7 +1229,9 @@ export interface GetPositionOptionCollateralInfoArguments {
1163
1229
  }
1164
1230
  export interface GetPositionOptionCollateralInfoOptions {
1165
1231
  package?: string;
1166
- arguments: GetPositionOptionCollateralInfoArguments | [position: RawTransactionArgument<string>];
1232
+ arguments: GetPositionOptionCollateralInfoArguments | [
1233
+ position: RawTransactionArgument<string>
1234
+ ];
1167
1235
  }
1168
1236
  export declare function getPositionOptionCollateralInfo(options: GetPositionOptionCollateralInfoOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1169
1237
  export interface GetReserveAmountArguments {
@@ -1171,7 +1239,9 @@ export interface GetReserveAmountArguments {
1171
1239
  }
1172
1240
  export interface GetReserveAmountOptions {
1173
1241
  package?: string;
1174
- arguments: GetReserveAmountArguments | [position: RawTransactionArgument<string>];
1242
+ arguments: GetReserveAmountArguments | [
1243
+ position: RawTransactionArgument<string>
1244
+ ];
1175
1245
  }
1176
1246
  export declare function getReserveAmount(options: GetReserveAmountOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1177
1247
  export interface GetPositionSizeDecimalArguments {
@@ -1179,7 +1249,9 @@ export interface GetPositionSizeDecimalArguments {
1179
1249
  }
1180
1250
  export interface GetPositionSizeDecimalOptions {
1181
1251
  package?: string;
1182
- arguments: GetPositionSizeDecimalArguments | [position: RawTransactionArgument<string>];
1252
+ arguments: GetPositionSizeDecimalArguments | [
1253
+ position: RawTransactionArgument<string>
1254
+ ];
1183
1255
  }
1184
1256
  export declare function getPositionSizeDecimal(options: GetPositionSizeDecimalOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1185
1257
  export interface GetPositionCollateralTokenDecimalArguments {
@@ -1187,7 +1259,9 @@ export interface GetPositionCollateralTokenDecimalArguments {
1187
1259
  }
1188
1260
  export interface GetPositionCollateralTokenDecimalOptions {
1189
1261
  package?: string;
1190
- arguments: GetPositionCollateralTokenDecimalArguments | [position: RawTransactionArgument<string>];
1262
+ arguments: GetPositionCollateralTokenDecimalArguments | [
1263
+ position: RawTransactionArgument<string>
1264
+ ];
1191
1265
  }
1192
1266
  export declare function getPositionCollateralTokenDecimal(options: GetPositionCollateralTokenDecimalOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1193
1267
  export interface CalculateUnrealizedCostArguments {
@@ -1195,7 +1269,9 @@ export interface CalculateUnrealizedCostArguments {
1195
1269
  }
1196
1270
  export interface CalculateUnrealizedCostOptions {
1197
1271
  package?: string;
1198
- arguments: CalculateUnrealizedCostArguments | [position: RawTransactionArgument<string>];
1272
+ arguments: CalculateUnrealizedCostArguments | [
1273
+ position: RawTransactionArgument<string>
1274
+ ];
1199
1275
  }
1200
1276
  export declare function calculateUnrealizedCost(options: CalculateUnrealizedCostOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1201
1277
  export interface GetPositionLinkedOrderIdsArguments {
@@ -1203,7 +1279,9 @@ export interface GetPositionLinkedOrderIdsArguments {
1203
1279
  }
1204
1280
  export interface GetPositionLinkedOrderIdsOptions {
1205
1281
  package?: string;
1206
- arguments: GetPositionLinkedOrderIdsArguments | [position: RawTransactionArgument<string>];
1282
+ arguments: GetPositionLinkedOrderIdsArguments | [
1283
+ position: RawTransactionArgument<string>
1284
+ ];
1207
1285
  }
1208
1286
  export declare function getPositionLinkedOrderIds(options: GetPositionLinkedOrderIdsOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1209
1287
  export interface GetPositionCollateralTokenTypeArguments {
@@ -1211,7 +1289,9 @@ export interface GetPositionCollateralTokenTypeArguments {
1211
1289
  }
1212
1290
  export interface GetPositionCollateralTokenTypeOptions {
1213
1291
  package?: string;
1214
- arguments: GetPositionCollateralTokenTypeArguments | [position: RawTransactionArgument<string>];
1292
+ arguments: GetPositionCollateralTokenTypeArguments | [
1293
+ position: RawTransactionArgument<string>
1294
+ ];
1215
1295
  }
1216
1296
  export declare function getPositionCollateralTokenType(options: GetPositionCollateralTokenTypeOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1217
1297
  export interface GetPositionCollateralAmountArguments {
@@ -1219,25 +1299,29 @@ export interface GetPositionCollateralAmountArguments {
1219
1299
  }
1220
1300
  export interface GetPositionCollateralAmountOptions {
1221
1301
  package?: string;
1222
- arguments: GetPositionCollateralAmountArguments | [position: RawTransactionArgument<string>];
1223
- typeArguments: [string];
1302
+ arguments: GetPositionCollateralAmountArguments | [
1303
+ position: RawTransactionArgument<string>
1304
+ ];
1305
+ typeArguments: [
1306
+ string
1307
+ ];
1224
1308
  }
1225
1309
  export declare function getPositionCollateralAmount(options: GetPositionCollateralAmountOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1226
1310
  export interface GetOptionPositionCollateralAmountArguments {
1227
1311
  dovRegistry: RawTransactionArgument<string>;
1228
- typusOracleTradingSymbol: RawTransactionArgument<string>;
1229
- typusOracleCToken: RawTransactionArgument<string>;
1312
+ oracleV2: RawTransactionArgument<string>;
1230
1313
  position: RawTransactionArgument<string>;
1231
1314
  }
1232
1315
  export interface GetOptionPositionCollateralAmountOptions {
1233
1316
  package?: string;
1234
1317
  arguments: GetOptionPositionCollateralAmountArguments | [
1235
1318
  dovRegistry: RawTransactionArgument<string>,
1236
- typusOracleTradingSymbol: RawTransactionArgument<string>,
1237
- typusOracleCToken: RawTransactionArgument<string>,
1319
+ oracleV2: RawTransactionArgument<string>,
1238
1320
  position: RawTransactionArgument<string>
1239
1321
  ];
1240
- typeArguments: [string];
1322
+ typeArguments: [
1323
+ string
1324
+ ];
1241
1325
  }
1242
1326
  export declare function getOptionPositionCollateralAmount(options: GetOptionPositionCollateralAmountOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1243
1327
  export interface OptionPositionBidReceiptsExpiredArguments {
@@ -1246,28 +1330,32 @@ export interface OptionPositionBidReceiptsExpiredArguments {
1246
1330
  }
1247
1331
  export interface OptionPositionBidReceiptsExpiredOptions {
1248
1332
  package?: string;
1249
- arguments: OptionPositionBidReceiptsExpiredArguments | [dovRegistry: RawTransactionArgument<string>, position: RawTransactionArgument<string>];
1333
+ arguments: OptionPositionBidReceiptsExpiredArguments | [
1334
+ dovRegistry: RawTransactionArgument<string>,
1335
+ position: RawTransactionArgument<string>
1336
+ ];
1250
1337
  }
1251
1338
  export declare function optionPositionBidReceiptsExpired(options: OptionPositionBidReceiptsExpiredOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1252
1339
  export interface GetOptionPositionExerciseValueArguments {
1253
1340
  dovRegistry: RawTransactionArgument<string>;
1254
- typusOracleTradingSymbol: RawTransactionArgument<string>;
1255
- typusOracleCToken: RawTransactionArgument<string>;
1341
+ oracleV2: RawTransactionArgument<string>;
1256
1342
  position: RawTransactionArgument<string>;
1257
1343
  }
1258
1344
  export interface GetOptionPositionExerciseValueOptions {
1259
1345
  package?: string;
1260
1346
  arguments: GetOptionPositionExerciseValueArguments | [
1261
1347
  dovRegistry: RawTransactionArgument<string>,
1262
- typusOracleTradingSymbol: RawTransactionArgument<string>,
1263
- typusOracleCToken: RawTransactionArgument<string>,
1348
+ oracleV2: RawTransactionArgument<string>,
1264
1349
  position: RawTransactionArgument<string>
1265
1350
  ];
1266
- typeArguments: [string];
1351
+ typeArguments: [
1352
+ string
1353
+ ];
1267
1354
  }
1268
1355
  export declare function getOptionPositionExerciseValue(options: GetOptionPositionExerciseValueOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1269
1356
  export interface GetMaxOrderTypeTagOptions {
1270
1357
  package?: string;
1271
- arguments?: [];
1358
+ arguments?: [
1359
+ ];
1272
1360
  }
1273
1361
  export declare function getMaxOrderTypeTag(options?: GetMaxOrderTypeTagOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;