@typus/typus-perp-sdk 1.2.2 → 1.3.1

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