@typus/typus-perp-sdk 1.1.54 → 1.2.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 (76) hide show
  1. package/dist/src/api/sentio.js +2 -2
  2. package/dist/src/client.d.ts +13 -12
  3. package/dist/src/client.js +24 -49
  4. package/dist/src/fetch.d.ts +15 -61
  5. package/dist/src/fetch.js +63 -163
  6. package/dist/src/generated/typus_perp/admin.d.ts +32 -42
  7. package/dist/src/generated/typus_perp/admin.js +41 -67
  8. package/dist/src/generated/typus_perp/competition.d.ts +22 -10
  9. package/dist/src/generated/typus_perp/competition.js +19 -54
  10. package/dist/src/generated/typus_perp/deps/std/type_name.d.ts +2 -2
  11. package/dist/src/generated/typus_perp/deps/std/type_name.js +2 -2
  12. package/dist/src/generated/typus_perp/deps/sui/balance.d.ts +3 -3
  13. package/dist/src/generated/typus_perp/deps/sui/balance.js +3 -3
  14. package/dist/src/generated/typus_perp/deps/sui/object_table.d.ts +4 -6
  15. package/dist/src/generated/typus_perp/deps/sui/object_table.js +4 -38
  16. package/dist/src/generated/typus_perp/deps/sui/table.d.ts +4 -6
  17. package/dist/src/generated/typus_perp/deps/sui/table.js +4 -38
  18. package/dist/src/generated/typus_perp/deps/sui/vec_set.d.ts +2 -2
  19. package/dist/src/generated/typus_perp/deps/sui/vec_set.js +2 -2
  20. package/dist/src/generated/typus_perp/deps/typus/keyed_big_vector.d.ts +7 -9
  21. package/dist/src/generated/typus_perp/deps/typus/keyed_big_vector.js +6 -6
  22. package/dist/src/generated/typus_perp/deps/typus/linked_object_table.d.ts +6 -10
  23. package/dist/src/generated/typus_perp/deps/typus/linked_object_table.js +5 -39
  24. package/dist/src/generated/typus_perp/deps/typus_framework/vault.d.ts +14 -8
  25. package/dist/src/generated/typus_perp/deps/typus_framework/vault.js +13 -39
  26. package/dist/src/generated/typus_perp/error.d.ts +97 -87
  27. package/dist/src/generated/typus_perp/error.js +18 -0
  28. package/dist/src/generated/typus_perp/escrow.d.ts +17 -21
  29. package/dist/src/generated/typus_perp/escrow.js +10 -22
  30. package/dist/src/generated/typus_perp/lending.d.ts +47 -0
  31. package/dist/src/generated/typus_perp/lending.js +40 -0
  32. package/dist/src/generated/typus_perp/lp_pool.d.ts +718 -397
  33. package/dist/src/generated/typus_perp/lp_pool.js +485 -365
  34. package/dist/src/generated/typus_perp/math.d.ts +18 -8
  35. package/dist/src/generated/typus_perp/math.js +24 -6
  36. package/dist/src/generated/typus_perp/position.d.ts +207 -185
  37. package/dist/src/generated/typus_perp/position.js +236 -277
  38. package/dist/src/generated/typus_perp/profit_vault.d.ts +64 -72
  39. package/dist/src/generated/typus_perp/profit_vault.js +48 -86
  40. package/dist/src/generated/typus_perp/symbol.d.ts +6 -6
  41. package/dist/src/generated/typus_perp/symbol.js +11 -13
  42. package/dist/src/generated/typus_perp/trading.d.ts +451 -558
  43. package/dist/src/generated/typus_perp/trading.js +429 -681
  44. package/dist/src/generated/typus_perp/treasury_caps.d.ts +5 -7
  45. package/dist/src/generated/typus_perp/treasury_caps.js +8 -45
  46. package/dist/src/generated/typus_stake_pool/admin.d.ts +13 -122
  47. package/dist/src/generated/typus_stake_pool/admin.js +19 -103
  48. package/dist/src/generated/typus_stake_pool/deps/std/type_name.d.ts +2 -2
  49. package/dist/src/generated/typus_stake_pool/deps/std/type_name.js +2 -2
  50. package/dist/src/generated/typus_stake_pool/deps/sui/vec_set.d.ts +2 -2
  51. package/dist/src/generated/typus_stake_pool/deps/sui/vec_set.js +2 -2
  52. package/dist/src/generated/typus_stake_pool/stake_pool.d.ts +249 -240
  53. package/dist/src/generated/typus_stake_pool/stake_pool.js +159 -246
  54. package/dist/src/generated/utils/index.d.ts +21 -2
  55. package/dist/src/generated/utils/index.js +34 -10
  56. package/dist/src/index.js +4 -4
  57. package/dist/src/user/history.js +13 -12
  58. package/dist/src/user/order.d.ts +1 -1
  59. package/dist/src/user/orderWithBidReceipt.d.ts +1 -1
  60. package/package.json +7 -13
  61. package/dist/src/generated/typus_perp/deps/sui/object.d.ts +0 -8
  62. package/dist/src/generated/typus_perp/deps/sui/object.js +0 -16
  63. package/dist/src/generated/typus_perp/user_account.d.ts +0 -146
  64. package/dist/src/generated/typus_perp/user_account.js +0 -221
  65. package/dist/src/generated/typus_stake_pool/deps/sui/object.d.ts +0 -8
  66. package/dist/src/generated/typus_stake_pool/deps/sui/object.js +0 -16
  67. package/dist/src/generated/typus_stake_pool/deps/sui/vec_map.d.ts +0 -30
  68. package/dist/src/generated/typus_stake_pool/deps/sui/vec_map.js +0 -37
  69. package/dist/src/grpc/graphql.d.ts +0 -26
  70. package/dist/src/grpc/graphql.js +0 -126
  71. package/dist/src/grpc/grpc.d.ts +0 -1
  72. package/dist/src/grpc/grpc.js +0 -38
  73. package/dist/src/grpc/ledgerService.d.ts +0 -0
  74. package/dist/src/grpc/ledgerService.js +0 -64
  75. package/dist/src/grpc/liveDataService.d.ts +0 -0
  76. package/dist/src/grpc/liveDataService.js +0 -49
@@ -7,271 +7,265 @@
7
7
  * configurations. It also contains the entry functions for creating pools, adding
8
8
  * liquidity, swapping, and redeeming.
9
9
  */
10
- import { MoveStruct, type RawTransactionArgument } from "../utils/index";
10
+ import { MoveStruct, type RawTransactionArgument } from "../utils/index.js";
11
11
  import { type Transaction } from "@mysten/sui/transactions";
12
12
  export declare const Registry: MoveStruct<{
13
- id: MoveStruct<{
14
- id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
15
- }, "0x2::object::UID">;
13
+ id: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
16
14
  /** The number of pools in the registry. */
17
- num_pool: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
15
+ num_pool: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
18
16
  /** The UID of the liquidity pool registry. */
19
- liquidity_pool_registry: MoveStruct<{
20
- id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
21
- }, "0x2::object::UID">;
17
+ liquidity_pool_registry: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
22
18
  }, "@typus/perp::lp_pool::Registry">;
23
19
  export declare const SpotConfig: MoveStruct<{
24
20
  /** The minimum deposit amount. */
25
- min_deposit: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
21
+ min_deposit: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
26
22
  /** The maximum capacity of the pool. */
27
- max_capacity: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
23
+ max_capacity: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
28
24
  /** The target weight of the token in the pool in basis points. */
29
- target_weight_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
25
+ target_weight_bp: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
30
26
  /** The basic mint fee in basis points. */
31
- basic_mint_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
27
+ basic_mint_fee_bp: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
32
28
  /** The additional mint fee in basis points. */
33
- additional_mint_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
29
+ additional_mint_fee_bp: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
34
30
  /** The basic burn fee in basis points. */
35
- basic_burn_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
31
+ basic_burn_fee_bp: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
36
32
  /** The additional burn fee in basis points. */
37
- additional_burn_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
33
+ additional_burn_fee_bp: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
38
34
  /** The swap fee in basis points. */
39
- swap_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
35
+ swap_fee_bp: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
40
36
  /** The protocol's share of the swap fee in basis points. */
41
- swap_fee_protocol_share_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
37
+ swap_fee_protocol_share_bp: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
42
38
  /** The protocol's share of the lending interest in basis points. */
43
- lending_protocol_share_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
39
+ lending_protocol_share_bp: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
44
40
  /** Padding for future use. */
45
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
41
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
46
42
  length: number;
47
43
  }, string>;
48
44
  }, "@typus/perp::lp_pool::SpotConfig">;
49
45
  export declare const MarginConfig: MoveStruct<{
50
46
  /** The basic borrow rate at utilization 0. */
51
- basic_borrow_rate_0: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
47
+ basic_borrow_rate_0: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
52
48
  /** The basic borrow rate at utilization 1. */
53
- basic_borrow_rate_1: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
49
+ basic_borrow_rate_1: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
54
50
  /** The basic borrow rate at utilization 2. */
55
- basic_borrow_rate_2: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
51
+ basic_borrow_rate_2: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
56
52
  /** The utilization threshold 0 in basis points. */
57
- utilization_threshold_bp_0: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
53
+ utilization_threshold_bp_0: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
58
54
  /** The utilization threshold 1 in basis points. */
59
- utilization_threshold_bp_1: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
55
+ utilization_threshold_bp_1: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
60
56
  /** The borrow interval in milliseconds. */
61
- borrow_interval_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
57
+ borrow_interval_ts_ms: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
62
58
  /** The maximum order reserve ratio in basis points. */
63
- max_order_reserve_ratio_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
59
+ max_order_reserve_ratio_bp: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
64
60
  /** Padding for future use. */
65
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
61
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
66
62
  length: number;
67
63
  }, string>;
68
64
  }, "@typus/perp::lp_pool::MarginConfig">;
69
65
  export declare const Config: MoveStruct<{
70
66
  /** The address of the oracle. */
71
- oracle_id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
67
+ oracle_id: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
72
68
  /** The number of decimals for the liquidity token. */
73
- liquidity_token_decimal: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
69
+ liquidity_token_decimal: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
74
70
  /** The spot-related configuration for the token pool. */
75
71
  spot_config: MoveStruct<{
76
72
  /** The minimum deposit amount. */
77
- min_deposit: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
73
+ min_deposit: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
78
74
  /** The maximum capacity of the pool. */
79
- max_capacity: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
75
+ max_capacity: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
80
76
  /** The target weight of the token in the pool in basis points. */
81
- target_weight_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
77
+ target_weight_bp: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
82
78
  /** The basic mint fee in basis points. */
83
- basic_mint_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
79
+ basic_mint_fee_bp: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
84
80
  /** The additional mint fee in basis points. */
85
- additional_mint_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
81
+ additional_mint_fee_bp: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
86
82
  /** The basic burn fee in basis points. */
87
- basic_burn_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
83
+ basic_burn_fee_bp: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
88
84
  /** The additional burn fee in basis points. */
89
- additional_burn_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
85
+ additional_burn_fee_bp: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
90
86
  /** The swap fee in basis points. */
91
- swap_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
87
+ swap_fee_bp: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
92
88
  /** The protocol's share of the swap fee in basis points. */
93
- swap_fee_protocol_share_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
89
+ swap_fee_protocol_share_bp: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
94
90
  /** The protocol's share of the lending interest in basis points. */
95
- lending_protocol_share_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
91
+ lending_protocol_share_bp: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
96
92
  /** Padding for future use. */
97
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
93
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
98
94
  length: number;
99
95
  }, string>;
100
96
  }, "@typus/perp::lp_pool::SpotConfig">;
101
97
  /** The margin-related configuration for the token pool. */
102
98
  margin_config: MoveStruct<{
103
99
  /** The basic borrow rate at utilization 0. */
104
- basic_borrow_rate_0: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
100
+ basic_borrow_rate_0: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
105
101
  /** The basic borrow rate at utilization 1. */
106
- basic_borrow_rate_1: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
102
+ basic_borrow_rate_1: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
107
103
  /** The basic borrow rate at utilization 2. */
108
- basic_borrow_rate_2: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
104
+ basic_borrow_rate_2: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
109
105
  /** The utilization threshold 0 in basis points. */
110
- utilization_threshold_bp_0: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
106
+ utilization_threshold_bp_0: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
111
107
  /** The utilization threshold 1 in basis points. */
112
- utilization_threshold_bp_1: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
108
+ utilization_threshold_bp_1: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
113
109
  /** The borrow interval in milliseconds. */
114
- borrow_interval_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
110
+ borrow_interval_ts_ms: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
115
111
  /** The maximum order reserve ratio in basis points. */
116
- max_order_reserve_ratio_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
112
+ max_order_reserve_ratio_bp: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
117
113
  /** Padding for future use. */
118
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
114
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
119
115
  length: number;
120
116
  }, string>;
121
117
  }, "@typus/perp::lp_pool::MarginConfig">;
122
118
  /** Padding for future use. */
123
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
119
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
124
120
  length: number;
125
121
  }, string>;
126
122
  }, "@typus/perp::lp_pool::Config">;
127
123
  export declare const State: MoveStruct<{
128
124
  /** The amount of liquidity in the pool. */
129
- liquidity_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
125
+ liquidity_amount: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
130
126
  /** The value of the liquidity in USD. */
131
- value_in_usd: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
127
+ value_in_usd: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
132
128
  /** The amount of liquidity reserved for open positions. */
133
- reserved_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
129
+ reserved_amount: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
134
130
  /** The timestamp of the last update to the value_in_usd. */
135
- update_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
131
+ update_ts_ms: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
136
132
  /** Whether the token pool is active. */
137
- is_active: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
133
+ is_active: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<boolean, boolean, "bool">;
138
134
  /** The timestamp of the last borrow rate calculation. */
139
- last_borrow_rate_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
135
+ last_borrow_rate_ts_ms: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
140
136
  /** The cumulative borrow rate. */
141
- cumulative_borrow_rate: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
137
+ cumulative_borrow_rate: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
142
138
  /** The previous timestamp of the last borrow rate calculation. */
143
- previous_last_borrow_rate_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
139
+ previous_last_borrow_rate_ts_ms: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
144
140
  /** The previous cumulative borrow rate. */
145
- previous_cumulative_borrow_rate: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
141
+ previous_cumulative_borrow_rate: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
146
142
  /** The current lending amount. */
147
- current_lending_amount: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
143
+ current_lending_amount: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
148
144
  length: number;
149
145
  }, string>;
150
146
  /** Padding for future use. */
151
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
147
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
152
148
  length: number;
153
149
  }, string>;
154
150
  }, "@typus/perp::lp_pool::State">;
155
151
  export declare const TokenPool: MoveStruct<{
156
152
  /** The type name of the token. */
157
153
  token_type: MoveStruct<{
158
- name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
154
+ name: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string, "string">;
159
155
  }, "std::type_name::TypeName">;
160
156
  /** The configuration for the token pool. */
161
157
  config: MoveStruct<{
162
158
  /** The address of the oracle. */
163
- oracle_id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
159
+ oracle_id: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
164
160
  /** The number of decimals for the liquidity token. */
165
- liquidity_token_decimal: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
161
+ liquidity_token_decimal: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
166
162
  /** The spot-related configuration for the token pool. */
167
163
  spot_config: MoveStruct<{
168
164
  /** The minimum deposit amount. */
169
- min_deposit: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
165
+ min_deposit: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
170
166
  /** The maximum capacity of the pool. */
171
- max_capacity: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
167
+ max_capacity: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
172
168
  /** The target weight of the token in the pool in basis points. */
173
- target_weight_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
169
+ target_weight_bp: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
174
170
  /** The basic mint fee in basis points. */
175
- basic_mint_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
171
+ basic_mint_fee_bp: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
176
172
  /** The additional mint fee in basis points. */
177
- additional_mint_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
173
+ additional_mint_fee_bp: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
178
174
  /** The basic burn fee in basis points. */
179
- basic_burn_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
175
+ basic_burn_fee_bp: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
180
176
  /** The additional burn fee in basis points. */
181
- additional_burn_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
177
+ additional_burn_fee_bp: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
182
178
  /** The swap fee in basis points. */
183
- swap_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
179
+ swap_fee_bp: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
184
180
  /** The protocol's share of the swap fee in basis points. */
185
- swap_fee_protocol_share_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
181
+ swap_fee_protocol_share_bp: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
186
182
  /** The protocol's share of the lending interest in basis points. */
187
- lending_protocol_share_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
183
+ lending_protocol_share_bp: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
188
184
  /** Padding for future use. */
189
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
185
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
190
186
  length: number;
191
187
  }, string>;
192
188
  }, "@typus/perp::lp_pool::SpotConfig">;
193
189
  /** The margin-related configuration for the token pool. */
194
190
  margin_config: MoveStruct<{
195
191
  /** The basic borrow rate at utilization 0. */
196
- basic_borrow_rate_0: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
192
+ basic_borrow_rate_0: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
197
193
  /** The basic borrow rate at utilization 1. */
198
- basic_borrow_rate_1: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
194
+ basic_borrow_rate_1: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
199
195
  /** The basic borrow rate at utilization 2. */
200
- basic_borrow_rate_2: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
196
+ basic_borrow_rate_2: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
201
197
  /** The utilization threshold 0 in basis points. */
202
- utilization_threshold_bp_0: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
198
+ utilization_threshold_bp_0: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
203
199
  /** The utilization threshold 1 in basis points. */
204
- utilization_threshold_bp_1: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
200
+ utilization_threshold_bp_1: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
205
201
  /** The borrow interval in milliseconds. */
206
- borrow_interval_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
202
+ borrow_interval_ts_ms: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
207
203
  /** The maximum order reserve ratio in basis points. */
208
- max_order_reserve_ratio_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
204
+ max_order_reserve_ratio_bp: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
209
205
  /** Padding for future use. */
210
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
206
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
211
207
  length: number;
212
208
  }, string>;
213
209
  }, "@typus/perp::lp_pool::MarginConfig">;
214
210
  /** Padding for future use. */
215
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
211
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
216
212
  length: number;
217
213
  }, string>;
218
214
  }, "@typus/perp::lp_pool::Config">;
219
215
  /** The state of the token pool. */
220
216
  state: MoveStruct<{
221
217
  /** The amount of liquidity in the pool. */
222
- liquidity_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
218
+ liquidity_amount: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
223
219
  /** The value of the liquidity in USD. */
224
- value_in_usd: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
220
+ value_in_usd: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
225
221
  /** The amount of liquidity reserved for open positions. */
226
- reserved_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
222
+ reserved_amount: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
227
223
  /** The timestamp of the last update to the value_in_usd. */
228
- update_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
224
+ update_ts_ms: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
229
225
  /** Whether the token pool is active. */
230
- is_active: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
226
+ is_active: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<boolean, boolean, "bool">;
231
227
  /** The timestamp of the last borrow rate calculation. */
232
- last_borrow_rate_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
228
+ last_borrow_rate_ts_ms: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
233
229
  /** The cumulative borrow rate. */
234
- cumulative_borrow_rate: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
230
+ cumulative_borrow_rate: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
235
231
  /** The previous timestamp of the last borrow rate calculation. */
236
- previous_last_borrow_rate_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
232
+ previous_last_borrow_rate_ts_ms: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
237
233
  /** The previous cumulative borrow rate. */
238
- previous_cumulative_borrow_rate: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
234
+ previous_cumulative_borrow_rate: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
239
235
  /** The current lending amount. */
240
- current_lending_amount: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
236
+ current_lending_amount: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
241
237
  length: number;
242
238
  }, string>;
243
239
  /** Padding for future use. */
244
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
240
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
245
241
  length: number;
246
242
  }, string>;
247
243
  }, "@typus/perp::lp_pool::State">;
248
244
  }, "@typus/perp::lp_pool::TokenPool">;
249
245
  export declare const LiquidityPoolInfo: MoveStruct<{
250
246
  /** The number of decimals for the LP token. */
251
- lp_token_decimal: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
247
+ lp_token_decimal: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
252
248
  /** The total supply of LP tokens. */
253
- total_share_supply: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
249
+ total_share_supply: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
254
250
  /** The total value locked in the pool in USD. */
255
- tvl_usd: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
251
+ tvl_usd: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
256
252
  /** Whether the pool is active. */
257
- is_active: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
253
+ is_active: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<boolean, boolean, "bool">;
258
254
  }, "@typus/perp::lp_pool::LiquidityPoolInfo">;
259
255
  export declare const LiquidityPool: MoveStruct<{
260
256
  /**
261
257
  * The UID of the object. Token balances are dynamic fields under this id with
262
258
  * TypeName key.
263
259
  */
264
- id: MoveStruct<{
265
- id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
266
- }, "0x2::object::UID">;
260
+ id: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
267
261
  /** The index of the pool. */
268
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
262
+ index: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
269
263
  /** The type name of the LP token. */
270
264
  lp_token_type: MoveStruct<{
271
- name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
265
+ name: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string, "string">;
272
266
  }, "std::type_name::TypeName">;
273
267
  /** A vector of the type names of the liquidity tokens. */
274
- liquidity_tokens: import("@mysten/sui/bcs").BcsType<{
268
+ liquidity_tokens: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<{
275
269
  name: string;
276
270
  }[], Iterable<{
277
271
  name: string;
@@ -279,7 +273,7 @@ export declare const LiquidityPool: MoveStruct<{
279
273
  length: number;
280
274
  }, string>;
281
275
  /** A vector of the token pools. */
282
- token_pools: import("@mysten/sui/bcs").BcsType<{
276
+ token_pools: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<{
283
277
  token_type: {
284
278
  name: string;
285
279
  };
@@ -385,20 +379,18 @@ export declare const LiquidityPool: MoveStruct<{
385
379
  /** Information about the liquidity pool. */
386
380
  pool_info: MoveStruct<{
387
381
  /** The number of decimals for the LP token. */
388
- lp_token_decimal: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
382
+ lp_token_decimal: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
389
383
  /** The total supply of LP tokens. */
390
- total_share_supply: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
384
+ total_share_supply: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
391
385
  /** The total value locked in the pool in USD. */
392
- tvl_usd: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
386
+ tvl_usd: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
393
387
  /** Whether the pool is active. */
394
- is_active: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
388
+ is_active: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<boolean, boolean, "bool">;
395
389
  }, "@typus/perp::lp_pool::LiquidityPoolInfo">;
396
390
  /** A vector of unsettled bid receipts from liquidations. */
397
- liquidated_unsettled_receipts: import("@mysten/sui/bcs").BcsType<{
391
+ liquidated_unsettled_receipts: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<{
398
392
  receipt: {
399
- id: {
400
- id: string;
401
- };
393
+ id: string;
402
394
  vid: string;
403
395
  index: string;
404
396
  metadata: string;
@@ -418,9 +410,7 @@ export declare const LiquidityPool: MoveStruct<{
418
410
  unrealized_liquidator_fee: string;
419
411
  }[], Iterable<{
420
412
  receipt: Iterable<{
421
- id: {
422
- id: string | Uint8Array<ArrayBufferLike>;
423
- };
413
+ id: string | Uint8Array<ArrayBufferLike>;
424
414
  vid: string | Uint8Array<ArrayBufferLike>;
425
415
  index: string | number | bigint;
426
416
  metadata: string;
@@ -448,488 +438,525 @@ export declare const LiquidityPool: MoveStruct<{
448
438
  length: number;
449
439
  }, string>;
450
440
  /** Padding for future use. */
451
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
441
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
452
442
  length: number;
453
443
  }, string>;
454
444
  /** Padding for future use. */
455
- bcs_padding: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
445
+ bcs_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<number[], Iterable<number> & {
456
446
  length: number;
457
447
  }, string>;
458
448
  }, "@typus/perp::lp_pool::LiquidityPool">;
459
449
  export declare const DeactivatingShares: MoveStruct<{
460
450
  /** The balance of the deactivating shares. */
461
451
  balance: MoveStruct<{
462
- value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
463
- }, "0x2::balance::Balance">;
452
+ value: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
453
+ }, "0x2::balance::Balance<phantom T>">;
464
454
  /** The timestamp of the redemption. */
465
- redeem_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
455
+ redeem_ts_ms: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
466
456
  /** The timestamp when the shares can be unlocked. */
467
- unlock_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
457
+ unlock_ts_ms: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
468
458
  /** Padding for future use. */
469
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
459
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
470
460
  length: number;
471
461
  }, string>;
472
- }, "@typus/perp::lp_pool::DeactivatingShares">;
462
+ }, "@typus/perp::lp_pool::DeactivatingShares<phantom TOKEN>">;
473
463
  export declare const ManagerDepositReceipt: MoveStruct<{
474
- id: MoveStruct<{
475
- id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
476
- }, "0x2::object::UID">;
464
+ id: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
477
465
  /** The index of the pool. */
478
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
466
+ index: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
479
467
  /** The type name of the token. */
480
468
  token_type: MoveStruct<{
481
- name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
469
+ name: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string, "string">;
482
470
  }, "std::type_name::TypeName">;
483
471
  /** The amount of the deposit. */
484
- amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
472
+ amount: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
485
473
  /** Padding for future use. */
486
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
474
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
487
475
  length: number;
488
476
  }, string>;
489
477
  }, "@typus/perp::lp_pool::ManagerDepositReceipt">;
490
478
  export declare const NewLiquidityPoolEvent: MoveStruct<{
491
- sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
492
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
479
+ sender: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
480
+ index: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
493
481
  lp_token_type: MoveStruct<{
494
- name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
482
+ name: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string, "string">;
495
483
  }, "std::type_name::TypeName">;
496
- lp_token_decimal: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
497
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
484
+ lp_token_decimal: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
485
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
498
486
  length: number;
499
487
  }, string>;
500
488
  }, "@typus/perp::lp_pool::NewLiquidityPoolEvent">;
501
489
  export declare const UpdateUnlockCountdownTsMsEvent: MoveStruct<{
502
- sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
503
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
504
- previous_unlock_countdown_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
505
- new_unlock_countdown_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
506
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
490
+ sender: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
491
+ index: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
492
+ previous_unlock_countdown_ts_ms: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
493
+ new_unlock_countdown_ts_ms: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
494
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
507
495
  length: number;
508
496
  }, string>;
509
497
  }, "@typus/perp::lp_pool::UpdateUnlockCountdownTsMsEvent">;
510
498
  export declare const UpdateRebalanceCostThresholdBpEvent: MoveStruct<{
511
- sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
512
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
513
- previous_rebalance_cost_threshold_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
514
- new_rebalance_cost_threshold_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
515
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
499
+ sender: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
500
+ index: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
501
+ previous_rebalance_cost_threshold_bp: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
502
+ new_rebalance_cost_threshold_bp: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
503
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
516
504
  length: number;
517
505
  }, string>;
518
506
  }, "@typus/perp::lp_pool::UpdateRebalanceCostThresholdBpEvent">;
519
507
  export declare const AddLiquidityTokenEvent: MoveStruct<{
520
- sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
521
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
508
+ sender: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
509
+ index: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
522
510
  token_type: MoveStruct<{
523
- name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
511
+ name: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string, "string">;
524
512
  }, "std::type_name::TypeName">;
525
513
  config: MoveStruct<{
526
514
  /** The address of the oracle. */
527
- oracle_id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
515
+ oracle_id: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
528
516
  /** The number of decimals for the liquidity token. */
529
- liquidity_token_decimal: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
517
+ liquidity_token_decimal: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
530
518
  /** The spot-related configuration for the token pool. */
531
519
  spot_config: MoveStruct<{
532
520
  /** The minimum deposit amount. */
533
- min_deposit: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
521
+ min_deposit: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
534
522
  /** The maximum capacity of the pool. */
535
- max_capacity: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
523
+ max_capacity: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
536
524
  /** The target weight of the token in the pool in basis points. */
537
- target_weight_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
525
+ target_weight_bp: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
538
526
  /** The basic mint fee in basis points. */
539
- basic_mint_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
527
+ basic_mint_fee_bp: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
540
528
  /** The additional mint fee in basis points. */
541
- additional_mint_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
529
+ additional_mint_fee_bp: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
542
530
  /** The basic burn fee in basis points. */
543
- basic_burn_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
531
+ basic_burn_fee_bp: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
544
532
  /** The additional burn fee in basis points. */
545
- additional_burn_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
533
+ additional_burn_fee_bp: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
546
534
  /** The swap fee in basis points. */
547
- swap_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
535
+ swap_fee_bp: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
548
536
  /** The protocol's share of the swap fee in basis points. */
549
- swap_fee_protocol_share_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
537
+ swap_fee_protocol_share_bp: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
550
538
  /** The protocol's share of the lending interest in basis points. */
551
- lending_protocol_share_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
539
+ lending_protocol_share_bp: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
552
540
  /** Padding for future use. */
553
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
541
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
554
542
  length: number;
555
543
  }, string>;
556
544
  }, "@typus/perp::lp_pool::SpotConfig">;
557
545
  /** The margin-related configuration for the token pool. */
558
546
  margin_config: MoveStruct<{
559
547
  /** The basic borrow rate at utilization 0. */
560
- basic_borrow_rate_0: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
548
+ basic_borrow_rate_0: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
561
549
  /** The basic borrow rate at utilization 1. */
562
- basic_borrow_rate_1: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
550
+ basic_borrow_rate_1: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
563
551
  /** The basic borrow rate at utilization 2. */
564
- basic_borrow_rate_2: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
552
+ basic_borrow_rate_2: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
565
553
  /** The utilization threshold 0 in basis points. */
566
- utilization_threshold_bp_0: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
554
+ utilization_threshold_bp_0: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
567
555
  /** The utilization threshold 1 in basis points. */
568
- utilization_threshold_bp_1: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
556
+ utilization_threshold_bp_1: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
569
557
  /** The borrow interval in milliseconds. */
570
- borrow_interval_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
558
+ borrow_interval_ts_ms: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
571
559
  /** The maximum order reserve ratio in basis points. */
572
- max_order_reserve_ratio_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
560
+ max_order_reserve_ratio_bp: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
573
561
  /** Padding for future use. */
574
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
562
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
575
563
  length: number;
576
564
  }, string>;
577
565
  }, "@typus/perp::lp_pool::MarginConfig">;
578
566
  /** Padding for future use. */
579
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
567
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
580
568
  length: number;
581
569
  }, string>;
582
570
  }, "@typus/perp::lp_pool::Config">;
583
571
  state: MoveStruct<{
584
572
  /** The amount of liquidity in the pool. */
585
- liquidity_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
573
+ liquidity_amount: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
586
574
  /** The value of the liquidity in USD. */
587
- value_in_usd: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
575
+ value_in_usd: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
588
576
  /** The amount of liquidity reserved for open positions. */
589
- reserved_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
577
+ reserved_amount: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
590
578
  /** The timestamp of the last update to the value_in_usd. */
591
- update_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
579
+ update_ts_ms: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
592
580
  /** Whether the token pool is active. */
593
- is_active: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
581
+ is_active: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<boolean, boolean, "bool">;
594
582
  /** The timestamp of the last borrow rate calculation. */
595
- last_borrow_rate_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
583
+ last_borrow_rate_ts_ms: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
596
584
  /** The cumulative borrow rate. */
597
- cumulative_borrow_rate: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
585
+ cumulative_borrow_rate: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
598
586
  /** The previous timestamp of the last borrow rate calculation. */
599
- previous_last_borrow_rate_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
587
+ previous_last_borrow_rate_ts_ms: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
600
588
  /** The previous cumulative borrow rate. */
601
- previous_cumulative_borrow_rate: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
589
+ previous_cumulative_borrow_rate: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
602
590
  /** The current lending amount. */
603
- current_lending_amount: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
591
+ current_lending_amount: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
604
592
  length: number;
605
593
  }, string>;
606
594
  /** Padding for future use. */
607
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
595
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
608
596
  length: number;
609
597
  }, string>;
610
598
  }, "@typus/perp::lp_pool::State">;
611
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
599
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
612
600
  length: number;
613
601
  }, string>;
614
602
  }, "@typus/perp::lp_pool::AddLiquidityTokenEvent">;
615
603
  export declare const UpdateSpotConfigEvent: MoveStruct<{
616
- sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
617
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
604
+ sender: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
605
+ index: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
618
606
  liquidity_token_type: MoveStruct<{
619
- name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
607
+ name: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string, "string">;
620
608
  }, "std::type_name::TypeName">;
621
609
  previous_spot_config: MoveStruct<{
622
610
  /** The minimum deposit amount. */
623
- min_deposit: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
611
+ min_deposit: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
624
612
  /** The maximum capacity of the pool. */
625
- max_capacity: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
613
+ max_capacity: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
626
614
  /** The target weight of the token in the pool in basis points. */
627
- target_weight_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
615
+ target_weight_bp: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
628
616
  /** The basic mint fee in basis points. */
629
- basic_mint_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
617
+ basic_mint_fee_bp: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
630
618
  /** The additional mint fee in basis points. */
631
- additional_mint_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
619
+ additional_mint_fee_bp: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
632
620
  /** The basic burn fee in basis points. */
633
- basic_burn_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
621
+ basic_burn_fee_bp: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
634
622
  /** The additional burn fee in basis points. */
635
- additional_burn_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
623
+ additional_burn_fee_bp: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
636
624
  /** The swap fee in basis points. */
637
- swap_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
625
+ swap_fee_bp: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
638
626
  /** The protocol's share of the swap fee in basis points. */
639
- swap_fee_protocol_share_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
627
+ swap_fee_protocol_share_bp: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
640
628
  /** The protocol's share of the lending interest in basis points. */
641
- lending_protocol_share_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
629
+ lending_protocol_share_bp: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
642
630
  /** Padding for future use. */
643
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
631
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
644
632
  length: number;
645
633
  }, string>;
646
634
  }, "@typus/perp::lp_pool::SpotConfig">;
647
635
  new_spot_config: MoveStruct<{
648
636
  /** The minimum deposit amount. */
649
- min_deposit: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
637
+ min_deposit: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
650
638
  /** The maximum capacity of the pool. */
651
- max_capacity: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
639
+ max_capacity: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
652
640
  /** The target weight of the token in the pool in basis points. */
653
- target_weight_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
641
+ target_weight_bp: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
654
642
  /** The basic mint fee in basis points. */
655
- basic_mint_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
643
+ basic_mint_fee_bp: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
656
644
  /** The additional mint fee in basis points. */
657
- additional_mint_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
645
+ additional_mint_fee_bp: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
658
646
  /** The basic burn fee in basis points. */
659
- basic_burn_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
647
+ basic_burn_fee_bp: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
660
648
  /** The additional burn fee in basis points. */
661
- additional_burn_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
649
+ additional_burn_fee_bp: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
662
650
  /** The swap fee in basis points. */
663
- swap_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
651
+ swap_fee_bp: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
664
652
  /** The protocol's share of the swap fee in basis points. */
665
- swap_fee_protocol_share_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
653
+ swap_fee_protocol_share_bp: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
666
654
  /** The protocol's share of the lending interest in basis points. */
667
- lending_protocol_share_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
655
+ lending_protocol_share_bp: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
668
656
  /** Padding for future use. */
669
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
657
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
670
658
  length: number;
671
659
  }, string>;
672
660
  }, "@typus/perp::lp_pool::SpotConfig">;
673
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
661
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
674
662
  length: number;
675
663
  }, string>;
676
664
  }, "@typus/perp::lp_pool::UpdateSpotConfigEvent">;
677
665
  export declare const ManagerEmergencyDepositEvent: MoveStruct<{
678
- sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
679
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
666
+ sender: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
667
+ index: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
680
668
  liquidity_token_type: MoveStruct<{
681
- name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
669
+ name: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string, "string">;
682
670
  }, "std::type_name::TypeName">;
683
- amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
684
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
671
+ amount: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
672
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
685
673
  length: number;
686
674
  }, string>;
687
675
  }, "@typus/perp::lp_pool::ManagerEmergencyDepositEvent">;
688
676
  export declare const ManagerEmergencyWithdrawEvent: MoveStruct<{
689
- sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
690
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
677
+ sender: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
678
+ index: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
691
679
  liquidity_token_type: MoveStruct<{
692
- name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
680
+ name: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string, "string">;
693
681
  }, "std::type_name::TypeName">;
694
- amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
695
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
682
+ amount: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
683
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
696
684
  length: number;
697
685
  }, string>;
698
686
  }, "@typus/perp::lp_pool::ManagerEmergencyWithdrawEvent">;
699
687
  export declare const UpdateMarginConfigEvent: MoveStruct<{
700
- sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
701
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
688
+ sender: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
689
+ index: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
702
690
  liquidity_token_type: MoveStruct<{
703
- name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
691
+ name: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string, "string">;
704
692
  }, "std::type_name::TypeName">;
705
693
  previous_margin_config: MoveStruct<{
706
694
  /** The basic borrow rate at utilization 0. */
707
- basic_borrow_rate_0: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
695
+ basic_borrow_rate_0: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
708
696
  /** The basic borrow rate at utilization 1. */
709
- basic_borrow_rate_1: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
697
+ basic_borrow_rate_1: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
710
698
  /** The basic borrow rate at utilization 2. */
711
- basic_borrow_rate_2: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
699
+ basic_borrow_rate_2: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
712
700
  /** The utilization threshold 0 in basis points. */
713
- utilization_threshold_bp_0: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
701
+ utilization_threshold_bp_0: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
714
702
  /** The utilization threshold 1 in basis points. */
715
- utilization_threshold_bp_1: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
703
+ utilization_threshold_bp_1: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
716
704
  /** The borrow interval in milliseconds. */
717
- borrow_interval_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
705
+ borrow_interval_ts_ms: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
718
706
  /** The maximum order reserve ratio in basis points. */
719
- max_order_reserve_ratio_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
707
+ max_order_reserve_ratio_bp: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
720
708
  /** Padding for future use. */
721
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
709
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
722
710
  length: number;
723
711
  }, string>;
724
712
  }, "@typus/perp::lp_pool::MarginConfig">;
725
713
  new_margin_config: MoveStruct<{
726
714
  /** The basic borrow rate at utilization 0. */
727
- basic_borrow_rate_0: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
715
+ basic_borrow_rate_0: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
728
716
  /** The basic borrow rate at utilization 1. */
729
- basic_borrow_rate_1: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
717
+ basic_borrow_rate_1: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
730
718
  /** The basic borrow rate at utilization 2. */
731
- basic_borrow_rate_2: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
719
+ basic_borrow_rate_2: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
732
720
  /** The utilization threshold 0 in basis points. */
733
- utilization_threshold_bp_0: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
721
+ utilization_threshold_bp_0: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
734
722
  /** The utilization threshold 1 in basis points. */
735
- utilization_threshold_bp_1: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
723
+ utilization_threshold_bp_1: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
736
724
  /** The borrow interval in milliseconds. */
737
- borrow_interval_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
725
+ borrow_interval_ts_ms: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
738
726
  /** The maximum order reserve ratio in basis points. */
739
- max_order_reserve_ratio_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
727
+ max_order_reserve_ratio_bp: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
740
728
  /** Padding for future use. */
741
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
729
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
742
730
  length: number;
743
731
  }, string>;
744
732
  }, "@typus/perp::lp_pool::MarginConfig">;
745
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
733
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
746
734
  length: number;
747
735
  }, string>;
748
736
  }, "@typus/perp::lp_pool::UpdateMarginConfigEvent">;
749
737
  export declare const MintLpEvent: MoveStruct<{
750
- sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
751
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
738
+ sender: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
739
+ index: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
752
740
  liquidity_token_type: MoveStruct<{
753
- name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
741
+ name: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string, "string">;
754
742
  }, "std::type_name::TypeName">;
755
- deposit_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
756
- deposit_amount_usd: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
757
- mint_fee_usd: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
743
+ deposit_amount: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
744
+ deposit_amount_usd: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
745
+ mint_fee_usd: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
758
746
  lp_token_type: MoveStruct<{
759
- name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
747
+ name: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string, "string">;
760
748
  }, "std::type_name::TypeName">;
761
- minted_lp_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
762
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
749
+ minted_lp_amount: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
750
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
763
751
  length: number;
764
752
  }, string>;
765
753
  }, "@typus/perp::lp_pool::MintLpEvent">;
766
754
  export declare const UpdateBorrowInfoEvent: MoveStruct<{
767
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
755
+ index: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
768
756
  liquidity_token_type: MoveStruct<{
769
- name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
757
+ name: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string, "string">;
770
758
  }, "std::type_name::TypeName">;
771
- previous_borrow_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
772
- previous_cumulative_borrow_rate: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
773
- borrow_interval_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
774
- last_borrow_rate_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
775
- last_cumulative_borrow_rate: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
776
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
759
+ previous_borrow_ts_ms: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
760
+ previous_cumulative_borrow_rate: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
761
+ borrow_interval_ts_ms: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
762
+ last_borrow_rate_ts_ms: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
763
+ last_cumulative_borrow_rate: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
764
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
777
765
  length: number;
778
766
  }, string>;
779
767
  }, "@typus/perp::lp_pool::UpdateBorrowInfoEvent">;
780
768
  export declare const SwapEvent: MoveStruct<{
781
- sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
782
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
769
+ sender: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
770
+ index: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
783
771
  from_token_type: MoveStruct<{
784
- name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
772
+ name: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string, "string">;
785
773
  }, "std::type_name::TypeName">;
786
- from_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
774
+ from_amount: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
787
775
  to_token_type: MoveStruct<{
788
- name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
776
+ name: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string, "string">;
789
777
  }, "std::type_name::TypeName">;
790
- min_to_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
791
- actual_to_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
792
- fee_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
793
- fee_amount_usd: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
794
- oracle_price_from_token: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
795
- oracle_price_to_token: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
796
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
778
+ min_to_amount: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
779
+ actual_to_amount: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
780
+ fee_amount: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
781
+ fee_amount_usd: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
782
+ oracle_price_from_token: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
783
+ oracle_price_to_token: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
784
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
797
785
  length: number;
798
786
  }, string>;
799
787
  }, "@typus/perp::lp_pool::SwapEvent">;
800
788
  export declare const RedeemEvent: MoveStruct<{
801
- sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
802
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
803
- share: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
804
- share_price: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
805
- timestamp_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
806
- unlock_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
807
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
789
+ sender: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
790
+ index: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
791
+ share: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
792
+ share_price: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
793
+ timestamp_ts_ms: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
794
+ unlock_ts_ms: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
795
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
808
796
  length: number;
809
797
  }, string>;
810
798
  }, "@typus/perp::lp_pool::RedeemEvent">;
811
799
  export declare const SuspendPoolEvent: MoveStruct<{
812
- sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
813
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
814
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
800
+ sender: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
801
+ index: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
802
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
815
803
  length: number;
816
804
  }, string>;
817
805
  }, "@typus/perp::lp_pool::SuspendPoolEvent">;
818
806
  export declare const ResumePoolEvent: MoveStruct<{
819
- sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
820
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
821
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
807
+ sender: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
808
+ index: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
809
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
822
810
  length: number;
823
811
  }, string>;
824
812
  }, "@typus/perp::lp_pool::ResumePoolEvent">;
825
813
  export declare const SuspendTokenPoolEvent: MoveStruct<{
826
- sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
827
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
814
+ sender: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
815
+ index: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
828
816
  liquidity_token: MoveStruct<{
829
- name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
817
+ name: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string, "string">;
830
818
  }, "std::type_name::TypeName">;
831
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
819
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
832
820
  length: number;
833
821
  }, string>;
834
822
  }, "@typus/perp::lp_pool::SuspendTokenPoolEvent">;
835
823
  export declare const ResumeTokenPoolEvent: MoveStruct<{
836
- sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
837
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
824
+ sender: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
825
+ index: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
838
826
  liquidity_token: MoveStruct<{
839
- name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
827
+ name: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string, "string">;
840
828
  }, "std::type_name::TypeName">;
841
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
829
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
842
830
  length: number;
843
831
  }, string>;
844
832
  }, "@typus/perp::lp_pool::ResumeTokenPoolEvent">;
833
+ export declare const DepositLendingEvent: MoveStruct<{
834
+ index: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
835
+ lending_index: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
836
+ c_token_type: MoveStruct<{
837
+ name: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string, "string">;
838
+ }, "std::type_name::TypeName">;
839
+ deposit_amount: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
840
+ minted_market_coin_amount: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
841
+ latest_lending_amount: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
842
+ latest_market_coin_amount: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
843
+ latest_reserved_amount: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
844
+ latest_liquidity_amount: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
845
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
846
+ length: number;
847
+ }, string>;
848
+ }, "@typus/perp::lp_pool::DepositLendingEvent">;
849
+ export declare const WithdrawLendingEvent: MoveStruct<{
850
+ index: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
851
+ lending_index: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
852
+ c_token_type: MoveStruct<{
853
+ name: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string, "string">;
854
+ }, "std::type_name::TypeName">;
855
+ r_token_type: MoveStruct<{
856
+ name: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string, "string">;
857
+ }, "std::type_name::TypeName">;
858
+ withdraw_amount: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
859
+ withdrawn_collateral_amount: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
860
+ latest_lending_amount: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
861
+ latest_market_coin_amount: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
862
+ latest_reserved_amount: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
863
+ latest_liquidity_amount: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
864
+ lending_interest: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
865
+ protocol_share: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
866
+ lending_reward: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
867
+ reward_protocol_share: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
868
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
869
+ length: number;
870
+ }, string>;
871
+ }, "@typus/perp::lp_pool::WithdrawLendingEvent">;
845
872
  export declare const ManagerRemoveLiquidityTokenEvent: MoveStruct<{
846
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
873
+ index: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
847
874
  liquidity_token: MoveStruct<{
848
- name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
875
+ name: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string, "string">;
849
876
  }, "std::type_name::TypeName">;
850
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
877
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
851
878
  length: number;
852
879
  }, string>;
853
880
  }, "@typus/perp::lp_pool::ManagerRemoveLiquidityTokenEvent">;
854
881
  export declare const RebalanceProcess: MoveStruct<{
855
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
882
+ index: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
856
883
  token_type_a: MoveStruct<{
857
- name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
884
+ name: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string, "string">;
858
885
  }, "std::type_name::TypeName">;
859
- token_decimal_a: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
860
- token_amount_a: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
861
- oracle_price_a: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
862
- reduced_usd: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
886
+ token_decimal_a: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
887
+ token_amount_a: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
888
+ oracle_price_a: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
889
+ reduced_usd: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
863
890
  token_type_b: MoveStruct<{
864
- name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
891
+ name: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string, "string">;
865
892
  }, "std::type_name::TypeName">;
866
- token_decimal_b: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
867
- oracle_price_b: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
893
+ token_decimal_b: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
894
+ oracle_price_b: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
868
895
  }, "@typus/perp::lp_pool::RebalanceProcess">;
869
896
  export declare const RebalanceEvent: MoveStruct<{
870
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
897
+ index: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
871
898
  from_token: MoveStruct<{
872
- name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
899
+ name: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string, "string">;
873
900
  }, "std::type_name::TypeName">;
874
901
  to_token: MoveStruct<{
875
- name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
902
+ name: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string, "string">;
876
903
  }, "std::type_name::TypeName">;
877
- rebalance_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
878
- from_token_oracle_price: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
879
- to_token_oracle_price: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
880
- reduced_usd: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
881
- tvl_usd: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
882
- from_token_liquidity_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
883
- to_token_liquidity_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
884
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
904
+ rebalance_amount: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
905
+ from_token_oracle_price: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
906
+ to_token_oracle_price: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
907
+ reduced_usd: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
908
+ tvl_usd: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
909
+ from_token_liquidity_amount: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
910
+ to_token_liquidity_amount: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
911
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
885
912
  length: number;
886
913
  }, string>;
887
914
  }, "@typus/perp::lp_pool::RebalanceEvent">;
888
915
  export declare const CompleteRebalancingEvent: MoveStruct<{
889
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
916
+ index: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
890
917
  from_token: MoveStruct<{
891
- name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
918
+ name: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string, "string">;
892
919
  }, "std::type_name::TypeName">;
893
920
  to_token: MoveStruct<{
894
- name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
921
+ name: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string, "string">;
895
922
  }, "std::type_name::TypeName">;
896
- from_token_oracle_price: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
897
- to_token_oracle_price: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
898
- swapped_back_usd: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
899
- tvl_usd: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
900
- from_token_liquidity_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
901
- to_token_liquidity_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
902
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
923
+ from_token_oracle_price: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
924
+ to_token_oracle_price: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
925
+ swapped_back_usd: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
926
+ tvl_usd: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
927
+ from_token_liquidity_amount: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
928
+ to_token_liquidity_amount: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
929
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
903
930
  length: number;
904
931
  }, string>;
905
932
  }, "@typus/perp::lp_pool::CompleteRebalancingEvent">;
906
933
  export declare const UpdateLiquidityValueEvent: MoveStruct<{
907
- sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
908
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
934
+ sender: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
935
+ index: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
909
936
  liquidity_token: MoveStruct<{
910
- name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
937
+ name: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string, "string">;
911
938
  }, "std::type_name::TypeName">;
912
- price: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
913
- value_in_usd: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
914
- lp_pool_tvl_usd: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
915
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
939
+ price: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
940
+ value_in_usd: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
941
+ lp_pool_tvl_usd: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
942
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
916
943
  length: number;
917
944
  }, string>;
918
945
  }, "@typus/perp::lp_pool::UpdateLiquidityValueEvent">;
919
946
  export declare const BurnLpEvent: MoveStruct<{
920
- sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
921
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
947
+ sender: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
948
+ index: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
922
949
  lp_token_type: MoveStruct<{
923
- name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
950
+ name: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string, "string">;
924
951
  }, "std::type_name::TypeName">;
925
- burn_lp_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
926
- burn_amount_usd: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
927
- burn_fee_usd: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
952
+ burn_lp_amount: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
953
+ burn_amount_usd: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
954
+ burn_fee_usd: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
928
955
  liquidity_token_type: MoveStruct<{
929
- name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
956
+ name: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string, "string">;
930
957
  }, "std::type_name::TypeName">;
931
- withdraw_token_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
932
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
958
+ withdraw_token_amount: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
959
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
933
960
  length: number;
934
961
  }, string>;
935
962
  }, "@typus/perp::lp_pool::BurnLpEvent">;
@@ -937,7 +964,7 @@ export interface InitOptions {
937
964
  package?: string;
938
965
  arguments?: [];
939
966
  }
940
- export declare function init(options?: InitOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
967
+ export declare function init(options?: InitOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
941
968
  export interface NewLiquidityPoolArguments {
942
969
  version: RawTransactionArgument<string>;
943
970
  registry: RawTransactionArgument<string>;
@@ -955,7 +982,7 @@ export interface NewLiquidityPoolOptions {
955
982
  typeArguments: [string];
956
983
  }
957
984
  /** [Authorized Function] Creates a new liquidity pool. */
958
- export declare function newLiquidityPool(options: NewLiquidityPoolOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
985
+ export declare function newLiquidityPool(options: NewLiquidityPoolOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
959
986
  export interface UpdateUnlockCountdownTsMsArguments {
960
987
  version: RawTransactionArgument<string>;
961
988
  registry: RawTransactionArgument<string>;
@@ -972,7 +999,7 @@ export interface UpdateUnlockCountdownTsMsOptions {
972
999
  ];
973
1000
  }
974
1001
  /** [Authorized Function] Updates the unlock countdown. */
975
- export declare function updateUnlockCountdownTsMs(options: UpdateUnlockCountdownTsMsOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
1002
+ export declare function updateUnlockCountdownTsMs(options: UpdateUnlockCountdownTsMsOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
976
1003
  export interface UpdateRebalanceCostThresholdBpArguments {
977
1004
  version: RawTransactionArgument<string>;
978
1005
  registry: RawTransactionArgument<string>;
@@ -989,7 +1016,7 @@ export interface UpdateRebalanceCostThresholdBpOptions {
989
1016
  ];
990
1017
  }
991
1018
  /** [Authorized Function] Updates the rebalance cost threshold. */
992
- export declare function updateRebalanceCostThresholdBp(options: UpdateRebalanceCostThresholdBpOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
1019
+ export declare function updateRebalanceCostThresholdBp(options: UpdateRebalanceCostThresholdBpOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
993
1020
  export interface AddLiquidityTokenArguments {
994
1021
  version: RawTransactionArgument<string>;
995
1022
  registry: RawTransactionArgument<string>;
@@ -1043,7 +1070,7 @@ export interface AddLiquidityTokenOptions {
1043
1070
  typeArguments: [string];
1044
1071
  }
1045
1072
  /** [Authorized Function] Adds a new liquidity token to a pool. */
1046
- export declare function addLiquidityToken(options: AddLiquidityTokenOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
1073
+ export declare function addLiquidityToken(options: AddLiquidityTokenOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1047
1074
  export interface UpdateSpotConfigArguments {
1048
1075
  version: RawTransactionArgument<string>;
1049
1076
  registry: RawTransactionArgument<string>;
@@ -1079,7 +1106,7 @@ export interface UpdateSpotConfigOptions {
1079
1106
  typeArguments: [string];
1080
1107
  }
1081
1108
  /** [Authorized Function] Updates the spot configuration for a token. */
1082
- export declare function updateSpotConfig(options: UpdateSpotConfigOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
1109
+ export declare function updateSpotConfig(options: UpdateSpotConfigOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1083
1110
  export interface ManagerEmergencyDepositArguments {
1084
1111
  version: RawTransactionArgument<string>;
1085
1112
  registry: RawTransactionArgument<string>;
@@ -1097,7 +1124,7 @@ export interface ManagerEmergencyDepositOptions {
1097
1124
  typeArguments: [string, string];
1098
1125
  }
1099
1126
  /** [Authorized Function] Allows a manager to deposit tokens in an emergency. */
1100
- export declare function managerEmergencyDeposit(options: ManagerEmergencyDepositOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
1127
+ export declare function managerEmergencyDeposit(options: ManagerEmergencyDepositOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1101
1128
  export interface ManagerEmergencyWithdrawArguments {
1102
1129
  version: RawTransactionArgument<string>;
1103
1130
  registry: RawTransactionArgument<string>;
@@ -1112,10 +1139,10 @@ export interface ManagerEmergencyWithdrawOptions {
1112
1139
  index: RawTransactionArgument<number | bigint>,
1113
1140
  receipt: RawTransactionArgument<string>
1114
1141
  ];
1115
- typeArguments: [string, string];
1142
+ typeArguments: [string];
1116
1143
  }
1117
1144
  /** [Authorized Function] Allows a manager to withdraw tokens in an emergency. */
1118
- export declare function managerEmergencyWithdraw(options: ManagerEmergencyWithdrawOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
1145
+ export declare function managerEmergencyWithdraw(options: ManagerEmergencyWithdrawOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1119
1146
  export interface UpdateMarginConfigArguments {
1120
1147
  version: RawTransactionArgument<string>;
1121
1148
  registry: RawTransactionArgument<string>;
@@ -1145,7 +1172,7 @@ export interface UpdateMarginConfigOptions {
1145
1172
  typeArguments: [string];
1146
1173
  }
1147
1174
  /** [Authorized Function] Updates the margin configuration for a token. */
1148
- export declare function updateMarginConfig(options: UpdateMarginConfigOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
1175
+ export declare function updateMarginConfig(options: UpdateMarginConfigOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1149
1176
  export interface MintLpArguments {
1150
1177
  version: RawTransactionArgument<string>;
1151
1178
  registry: RawTransactionArgument<string>;
@@ -1167,7 +1194,7 @@ export interface MintLpOptions {
1167
1194
  typeArguments: [string, string];
1168
1195
  }
1169
1196
  /** [User Function] Mints LP tokens. */
1170
- export declare function mintLp(options: MintLpOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
1197
+ export declare function mintLp(options: MintLpOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1171
1198
  export interface UpdateBorrowInfoArguments {
1172
1199
  version: RawTransactionArgument<string>;
1173
1200
  registry: RawTransactionArgument<string>;
@@ -1182,7 +1209,7 @@ export interface UpdateBorrowInfoOptions {
1182
1209
  ];
1183
1210
  }
1184
1211
  /** [User Function] Updates the borrow information for all tokens in a pool. */
1185
- export declare function updateBorrowInfo(options: UpdateBorrowInfoOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
1212
+ export declare function updateBorrowInfo(options: UpdateBorrowInfoOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1186
1213
  export interface SwapArguments {
1187
1214
  version: RawTransactionArgument<string>;
1188
1215
  registry: RawTransactionArgument<string>;
@@ -1206,7 +1233,7 @@ export interface SwapOptions {
1206
1233
  typeArguments: [string, string];
1207
1234
  }
1208
1235
  /** [User Function] Swaps one token for another. */
1209
- export declare function swap(options: SwapOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
1236
+ export declare function swap(options: SwapOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1210
1237
  export interface RedeemArguments {
1211
1238
  version: RawTransactionArgument<string>;
1212
1239
  registry: RawTransactionArgument<string>;
@@ -1224,7 +1251,7 @@ export interface RedeemOptions {
1224
1251
  typeArguments: [string];
1225
1252
  }
1226
1253
  /** [User Function] Redeems LP tokens for underlying assets. */
1227
- export declare function redeem(options: RedeemOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
1254
+ export declare function redeem(options: RedeemOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1228
1255
  export interface ClaimArguments {
1229
1256
  version: RawTransactionArgument<string>;
1230
1257
  registry: RawTransactionArgument<string>;
@@ -1244,7 +1271,7 @@ export interface ClaimOptions {
1244
1271
  typeArguments: [string, string];
1245
1272
  }
1246
1273
  /** [User Function] Claims underlying assets from redeemed LP tokens. */
1247
- export declare function claim(options: ClaimOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
1274
+ export declare function claim(options: ClaimOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1248
1275
  export interface SuspendPoolArguments {
1249
1276
  version: RawTransactionArgument<string>;
1250
1277
  registry: RawTransactionArgument<string>;
@@ -1259,7 +1286,7 @@ export interface SuspendPoolOptions {
1259
1286
  ];
1260
1287
  }
1261
1288
  /** [Authorized Function] Suspends a liquidity pool. */
1262
- export declare function suspendPool(options: SuspendPoolOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
1289
+ export declare function suspendPool(options: SuspendPoolOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1263
1290
  export interface ResumePoolArguments {
1264
1291
  version: RawTransactionArgument<string>;
1265
1292
  registry: RawTransactionArgument<string>;
@@ -1274,7 +1301,7 @@ export interface ResumePoolOptions {
1274
1301
  ];
1275
1302
  }
1276
1303
  /** [Authorized Function] Resumes a liquidity pool. */
1277
- export declare function resumePool(options: ResumePoolOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
1304
+ export declare function resumePool(options: ResumePoolOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1278
1305
  export interface SuspendTokenPoolArguments {
1279
1306
  version: RawTransactionArgument<string>;
1280
1307
  registry: RawTransactionArgument<string>;
@@ -1290,7 +1317,7 @@ export interface SuspendTokenPoolOptions {
1290
1317
  typeArguments: [string];
1291
1318
  }
1292
1319
  /** [Authorized Function] Suspends a token pool. */
1293
- export declare function suspendTokenPool(options: SuspendTokenPoolOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
1320
+ export declare function suspendTokenPool(options: SuspendTokenPoolOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1294
1321
  export interface ResumeTokenPoolArguments {
1295
1322
  version: RawTransactionArgument<string>;
1296
1323
  registry: RawTransactionArgument<string>;
@@ -1306,7 +1333,138 @@ export interface ResumeTokenPoolOptions {
1306
1333
  typeArguments: [string];
1307
1334
  }
1308
1335
  /** [Authorized Function] Resumes a token pool. */
1309
- export declare function resumeTokenPool(options: ResumeTokenPoolOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
1336
+ export declare function resumeTokenPool(options: ResumeTokenPoolOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1337
+ export interface ManagerDepositScallopArguments {
1338
+ version: RawTransactionArgument<string>;
1339
+ registry: RawTransactionArgument<string>;
1340
+ index: RawTransactionArgument<number | bigint>;
1341
+ scallopVersion: RawTransactionArgument<string>;
1342
+ scallopMarket: RawTransactionArgument<string>;
1343
+ lendingAmount: RawTransactionArgument<number | bigint | null>;
1344
+ }
1345
+ export interface ManagerDepositScallopOptions {
1346
+ package?: string;
1347
+ arguments: ManagerDepositScallopArguments | [
1348
+ version: RawTransactionArgument<string>,
1349
+ registry: RawTransactionArgument<string>,
1350
+ index: RawTransactionArgument<number | bigint>,
1351
+ scallopVersion: RawTransactionArgument<string>,
1352
+ scallopMarket: RawTransactionArgument<string>,
1353
+ lendingAmount: RawTransactionArgument<number | bigint | null>
1354
+ ];
1355
+ typeArguments: [string];
1356
+ }
1357
+ /** [Authorized Function] Manager deposits to Scallop. */
1358
+ export declare function managerDepositScallop(options: ManagerDepositScallopOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1359
+ export interface ManagerDepositNaviArguments {
1360
+ version: RawTransactionArgument<string>;
1361
+ registry: RawTransactionArgument<string>;
1362
+ index: RawTransactionArgument<number | bigint>;
1363
+ storage: RawTransactionArgument<string>;
1364
+ pool: RawTransactionArgument<string>;
1365
+ asset: RawTransactionArgument<number>;
1366
+ incentiveV2: RawTransactionArgument<string>;
1367
+ incentiveV3: RawTransactionArgument<string>;
1368
+ lendingAmount: RawTransactionArgument<number | bigint | null>;
1369
+ }
1370
+ export interface ManagerDepositNaviOptions {
1371
+ package?: string;
1372
+ arguments: ManagerDepositNaviArguments | [
1373
+ version: RawTransactionArgument<string>,
1374
+ registry: RawTransactionArgument<string>,
1375
+ index: RawTransactionArgument<number | bigint>,
1376
+ storage: RawTransactionArgument<string>,
1377
+ pool: RawTransactionArgument<string>,
1378
+ asset: RawTransactionArgument<number>,
1379
+ incentiveV2: RawTransactionArgument<string>,
1380
+ incentiveV3: RawTransactionArgument<string>,
1381
+ lendingAmount: RawTransactionArgument<number | bigint | null>
1382
+ ];
1383
+ typeArguments: [string];
1384
+ }
1385
+ export declare function managerDepositNavi(options: ManagerDepositNaviOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1386
+ export interface ManagerWithdrawScallopArguments {
1387
+ version: RawTransactionArgument<string>;
1388
+ registry: RawTransactionArgument<string>;
1389
+ index: RawTransactionArgument<number | bigint>;
1390
+ scallopVersion: RawTransactionArgument<string>;
1391
+ scallopMarket: RawTransactionArgument<string>;
1392
+ withdrawAmount: RawTransactionArgument<number | bigint | null>;
1393
+ }
1394
+ export interface ManagerWithdrawScallopOptions {
1395
+ package?: string;
1396
+ arguments: ManagerWithdrawScallopArguments | [
1397
+ version: RawTransactionArgument<string>,
1398
+ registry: RawTransactionArgument<string>,
1399
+ index: RawTransactionArgument<number | bigint>,
1400
+ scallopVersion: RawTransactionArgument<string>,
1401
+ scallopMarket: RawTransactionArgument<string>,
1402
+ withdrawAmount: RawTransactionArgument<number | bigint | null>
1403
+ ];
1404
+ typeArguments: [string];
1405
+ }
1406
+ /** [Authorized Function] Manager withdraws from Scallop. */
1407
+ export declare function managerWithdrawScallop(options: ManagerWithdrawScallopOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1408
+ export interface ManagerWithdrawNaviArguments {
1409
+ version: RawTransactionArgument<string>;
1410
+ registry: RawTransactionArgument<string>;
1411
+ index: RawTransactionArgument<number | bigint>;
1412
+ oracleConfig: RawTransactionArgument<string>;
1413
+ priceOracle: RawTransactionArgument<string>;
1414
+ supraOracleHolder: RawTransactionArgument<string>;
1415
+ pythPriceInfo: RawTransactionArgument<string>;
1416
+ feedAddress: RawTransactionArgument<string>;
1417
+ storage: RawTransactionArgument<string>;
1418
+ pool: RawTransactionArgument<string>;
1419
+ asset: RawTransactionArgument<number>;
1420
+ incentiveV2: RawTransactionArgument<string>;
1421
+ incentiveV3: RawTransactionArgument<string>;
1422
+ }
1423
+ export interface ManagerWithdrawNaviOptions {
1424
+ package?: string;
1425
+ arguments: ManagerWithdrawNaviArguments | [
1426
+ version: RawTransactionArgument<string>,
1427
+ registry: RawTransactionArgument<string>,
1428
+ index: RawTransactionArgument<number | bigint>,
1429
+ oracleConfig: RawTransactionArgument<string>,
1430
+ priceOracle: RawTransactionArgument<string>,
1431
+ supraOracleHolder: RawTransactionArgument<string>,
1432
+ pythPriceInfo: RawTransactionArgument<string>,
1433
+ feedAddress: RawTransactionArgument<string>,
1434
+ storage: RawTransactionArgument<string>,
1435
+ pool: RawTransactionArgument<string>,
1436
+ asset: RawTransactionArgument<number>,
1437
+ incentiveV2: RawTransactionArgument<string>,
1438
+ incentiveV3: RawTransactionArgument<string>
1439
+ ];
1440
+ typeArguments: [string];
1441
+ }
1442
+ export declare function managerWithdrawNavi(options: ManagerWithdrawNaviOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1443
+ export interface ManagerRewardNaviArguments {
1444
+ version: RawTransactionArgument<string>;
1445
+ registry: RawTransactionArgument<string>;
1446
+ index: RawTransactionArgument<number | bigint>;
1447
+ storage: RawTransactionArgument<string>;
1448
+ rewardFund: RawTransactionArgument<string>;
1449
+ coinTypes: RawTransactionArgument<string[]>;
1450
+ ruleIds: RawTransactionArgument<string[]>;
1451
+ incentiveV3: RawTransactionArgument<string>;
1452
+ }
1453
+ export interface ManagerRewardNaviOptions {
1454
+ package?: string;
1455
+ arguments: ManagerRewardNaviArguments | [
1456
+ version: RawTransactionArgument<string>,
1457
+ registry: RawTransactionArgument<string>,
1458
+ index: RawTransactionArgument<number | bigint>,
1459
+ storage: RawTransactionArgument<string>,
1460
+ rewardFund: RawTransactionArgument<string>,
1461
+ coinTypes: RawTransactionArgument<string[]>,
1462
+ ruleIds: RawTransactionArgument<string[]>,
1463
+ incentiveV3: RawTransactionArgument<string>
1464
+ ];
1465
+ typeArguments: [string];
1466
+ }
1467
+ export declare function managerRewardNavi(options: ManagerRewardNaviOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1310
1468
  export interface ManagerRemoveLiquidityTokenArguments {
1311
1469
  version: RawTransactionArgument<string>;
1312
1470
  registry: RawTransactionArgument<string>;
@@ -1322,7 +1480,7 @@ export interface ManagerRemoveLiquidityTokenOptions {
1322
1480
  typeArguments: [string];
1323
1481
  }
1324
1482
  /** [Authorized Function] Manager removes a liquidity token. */
1325
- export declare function managerRemoveLiquidityToken(options: ManagerRemoveLiquidityTokenOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
1483
+ export declare function managerRemoveLiquidityToken(options: ManagerRemoveLiquidityTokenOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1326
1484
  export interface CheckTokenPoolStatusArguments {
1327
1485
  registry: RawTransactionArgument<string>;
1328
1486
  index: RawTransactionArgument<number | bigint>;
@@ -1337,7 +1495,7 @@ export interface CheckTokenPoolStatusOptions {
1337
1495
  ];
1338
1496
  typeArguments: [string];
1339
1497
  }
1340
- export declare function checkTokenPoolStatus(options: CheckTokenPoolStatusOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
1498
+ export declare function checkTokenPoolStatus(options: CheckTokenPoolStatusOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1341
1499
  export interface TokenPoolIsActiveArguments {
1342
1500
  tokenPool: RawTransactionArgument<string>;
1343
1501
  }
@@ -1345,7 +1503,7 @@ export interface TokenPoolIsActiveOptions {
1345
1503
  package?: string;
1346
1504
  arguments: TokenPoolIsActiveArguments | [tokenPool: RawTransactionArgument<string>];
1347
1505
  }
1348
- export declare function tokenPoolIsActive(options: TokenPoolIsActiveOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
1506
+ export declare function tokenPoolIsActive(options: TokenPoolIsActiveOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1349
1507
  export interface RebalanceArguments {
1350
1508
  version: RawTransactionArgument<string>;
1351
1509
  registry: RawTransactionArgument<string>;
@@ -1367,7 +1525,7 @@ export interface RebalanceOptions {
1367
1525
  typeArguments: [string, string];
1368
1526
  }
1369
1527
  /** [Authorized Function] Manager take the liquidity token A to swap. */
1370
- export declare function rebalance(options: RebalanceOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
1528
+ export declare function rebalance(options: RebalanceOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1371
1529
  export interface CompleteRebalancingArguments {
1372
1530
  version: RawTransactionArgument<string>;
1373
1531
  registry: RawTransactionArgument<string>;
@@ -1391,7 +1549,7 @@ export interface CompleteRebalancingOptions {
1391
1549
  typeArguments: [string, string];
1392
1550
  }
1393
1551
  /** [Authorized Function] Manager swap back the liquidity token from A to B. */
1394
- export declare function completeRebalancing(options: CompleteRebalancingOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
1552
+ export declare function completeRebalancing(options: CompleteRebalancingOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1395
1553
  export interface ManagerRemoveAllLiquidityArguments {
1396
1554
  version: RawTransactionArgument<string>;
1397
1555
  registry: RawTransactionArgument<string>;
@@ -1410,7 +1568,7 @@ export interface ManagerRemoveAllLiquidityOptions {
1410
1568
  * Only for current contract sunset purpose. Will be removed in new contract
1411
1569
  * [Authorized Function] Manager remove all liquidity of a token.
1412
1570
  */
1413
- export declare function managerRemoveAllLiquidity(options: ManagerRemoveAllLiquidityOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
1571
+ export declare function managerRemoveAllLiquidity(options: ManagerRemoveAllLiquidityOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1414
1572
  export interface UpdateLiquidityValueArguments {
1415
1573
  version: RawTransactionArgument<string>;
1416
1574
  registry: RawTransactionArgument<string>;
@@ -1428,7 +1586,7 @@ export interface UpdateLiquidityValueOptions {
1428
1586
  typeArguments: [string];
1429
1587
  }
1430
1588
  /** [User Function] Update the liquidity value with oracle. */
1431
- export declare function updateLiquidityValue(options: UpdateLiquidityValueOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
1589
+ export declare function updateLiquidityValue(options: UpdateLiquidityValueOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1432
1590
  export interface GetPoolLiquidityArguments {
1433
1591
  version: RawTransactionArgument<string>;
1434
1592
  registry: RawTransactionArgument<string>;
@@ -1446,7 +1604,7 @@ export interface GetPoolLiquidityOptions {
1446
1604
  * [View Function] Get the liquidity pool token amounts. Return
1447
1605
  * [total_share_supply, tvl_usd, token_types, amounts, usds]
1448
1606
  */
1449
- export declare function getPoolLiquidity(options: GetPoolLiquidityOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
1607
+ export declare function getPoolLiquidity(options: GetPoolLiquidityOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1450
1608
  export interface UpdateTvlArguments {
1451
1609
  version: RawTransactionArgument<string>;
1452
1610
  liquidityPool: RawTransactionArgument<string>;
@@ -1462,7 +1620,7 @@ export interface UpdateTvlOptions {
1462
1620
  oracle: RawTransactionArgument<string>
1463
1621
  ];
1464
1622
  }
1465
- export declare function updateTvl(options: UpdateTvlOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
1623
+ export declare function updateTvl(options: UpdateTvlOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1466
1624
  export interface OrderFilledArguments {
1467
1625
  liquidityPool: RawTransactionArgument<string>;
1468
1626
  addReserve: RawTransactionArgument<boolean>;
@@ -1479,7 +1637,7 @@ export interface OrderFilledOptions {
1479
1637
  ];
1480
1638
  typeArguments: [string];
1481
1639
  }
1482
- export declare function orderFilled(options: OrderFilledOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
1640
+ export declare function orderFilled(options: OrderFilledOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1483
1641
  export interface UpdateReserveAmountArguments {
1484
1642
  liquidityPool: RawTransactionArgument<string>;
1485
1643
  addReserve: RawTransactionArgument<boolean>;
@@ -1494,7 +1652,7 @@ export interface UpdateReserveAmountOptions {
1494
1652
  ];
1495
1653
  typeArguments: [string];
1496
1654
  }
1497
- export declare function updateReserveAmount(options: UpdateReserveAmountOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
1655
+ export declare function updateReserveAmount(options: UpdateReserveAmountOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1498
1656
  export interface PutCollateralArguments {
1499
1657
  liquidityPool: RawTransactionArgument<string>;
1500
1658
  collateral: RawTransactionArgument<string>;
@@ -1511,7 +1669,7 @@ export interface PutCollateralOptions {
1511
1669
  ];
1512
1670
  typeArguments: [string];
1513
1671
  }
1514
- export declare function putCollateral(options: PutCollateralOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
1672
+ export declare function putCollateral(options: PutCollateralOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1515
1673
  export interface RequestCollateralArguments {
1516
1674
  liquidityPool: RawTransactionArgument<string>;
1517
1675
  collateralAmount: RawTransactionArgument<number | bigint>;
@@ -1528,7 +1686,7 @@ export interface RequestCollateralOptions {
1528
1686
  ];
1529
1687
  typeArguments: [string];
1530
1688
  }
1531
- export declare function requestCollateral(options: RequestCollateralOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
1689
+ export declare function requestCollateral(options: RequestCollateralOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1532
1690
  export interface PutReceiptCollateralsArguments {
1533
1691
  liquidityPool: RawTransactionArgument<string>;
1534
1692
  unsettledBidReceipts: RawTransactionArgument<string[]>;
@@ -1537,7 +1695,7 @@ export interface PutReceiptCollateralsOptions {
1537
1695
  package?: string;
1538
1696
  arguments: PutReceiptCollateralsArguments | [liquidityPool: RawTransactionArgument<string>, unsettledBidReceipts: RawTransactionArgument<string[]>];
1539
1697
  }
1540
- export declare function putReceiptCollaterals(options: PutReceiptCollateralsOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
1698
+ export declare function putReceiptCollaterals(options: PutReceiptCollateralsOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1541
1699
  export interface GetReceiptCollateralArguments {
1542
1700
  liquidityPool: RawTransactionArgument<string>;
1543
1701
  }
@@ -1545,7 +1703,7 @@ export interface GetReceiptCollateralOptions {
1545
1703
  package?: string;
1546
1704
  arguments: GetReceiptCollateralArguments | [liquidityPool: RawTransactionArgument<string>];
1547
1705
  }
1548
- export declare function getReceiptCollateral(options: GetReceiptCollateralOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
1706
+ export declare function getReceiptCollateral(options: GetReceiptCollateralOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1549
1707
  export interface CalculateMintLpArguments {
1550
1708
  registry: RawTransactionArgument<string>;
1551
1709
  index: RawTransactionArgument<number | bigint>;
@@ -1565,7 +1723,7 @@ export interface CalculateMintLpOptions {
1565
1723
  depositAmount: RawTransactionArgument<number | bigint>
1566
1724
  ];
1567
1725
  }
1568
- export declare function calculateMintLp(options: CalculateMintLpOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
1726
+ export declare function calculateMintLp(options: CalculateMintLpOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1569
1727
  export interface CalculateBurnLpArguments {
1570
1728
  registry: RawTransactionArgument<string>;
1571
1729
  index: RawTransactionArgument<number | bigint>;
@@ -1585,7 +1743,7 @@ export interface CalculateBurnLpOptions {
1585
1743
  burnAmount: RawTransactionArgument<number | bigint>
1586
1744
  ];
1587
1745
  }
1588
- export declare function calculateBurnLp(options: CalculateBurnLpOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
1746
+ export declare function calculateBurnLp(options: CalculateBurnLpOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1589
1747
  export interface CalculateLpFeeArguments {
1590
1748
  liquidityPool: RawTransactionArgument<string>;
1591
1749
  tokenType: RawTransactionArgument<string>;
@@ -1603,7 +1761,46 @@ export interface CalculateLpFeeOptions {
1603
1761
  isMint: RawTransactionArgument<boolean>
1604
1762
  ];
1605
1763
  }
1606
- export declare function calculateLpFee(options: CalculateLpFeeOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
1764
+ export declare function calculateLpFee(options: CalculateLpFeeOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1765
+ export interface CalculateFee_Arguments {
1766
+ liquidityPool: RawTransactionArgument<string>;
1767
+ tokenType: RawTransactionArgument<string>;
1768
+ depositAmount: RawTransactionArgument<number | bigint>;
1769
+ depositAmountUsd: RawTransactionArgument<number | bigint>;
1770
+ flowIn: RawTransactionArgument<boolean>;
1771
+ basicFeeBp: RawTransactionArgument<number | bigint>;
1772
+ additionalFeeBp: RawTransactionArgument<number | bigint>;
1773
+ }
1774
+ export interface CalculateFee_Options {
1775
+ package?: string;
1776
+ arguments: CalculateFee_Arguments | [
1777
+ liquidityPool: RawTransactionArgument<string>,
1778
+ tokenType: RawTransactionArgument<string>,
1779
+ depositAmount: RawTransactionArgument<number | bigint>,
1780
+ depositAmountUsd: RawTransactionArgument<number | bigint>,
1781
+ flowIn: RawTransactionArgument<boolean>,
1782
+ basicFeeBp: RawTransactionArgument<number | bigint>,
1783
+ additionalFeeBp: RawTransactionArgument<number | bigint>
1784
+ ];
1785
+ }
1786
+ export declare function calculateFee_(options: CalculateFee_Options): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1787
+ export interface NormalSafetyCheckArguments {
1788
+ version: RawTransactionArgument<string>;
1789
+ registry: RawTransactionArgument<string>;
1790
+ index: RawTransactionArgument<number | bigint>;
1791
+ oracle: RawTransactionArgument<string>;
1792
+ }
1793
+ export interface NormalSafetyCheckOptions {
1794
+ package?: string;
1795
+ arguments: NormalSafetyCheckArguments | [
1796
+ version: RawTransactionArgument<string>,
1797
+ registry: RawTransactionArgument<string>,
1798
+ index: RawTransactionArgument<number | bigint>,
1799
+ oracle: RawTransactionArgument<string>
1800
+ ];
1801
+ typeArguments: [string, string];
1802
+ }
1803
+ export declare function normalSafetyCheck(options: NormalSafetyCheckOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1607
1804
  export interface CalculateSwapFeeArguments {
1608
1805
  liquidityPool: RawTransactionArgument<string>;
1609
1806
  tokenType: RawTransactionArgument<string>;
@@ -1621,7 +1818,7 @@ export interface CalculateSwapFeeOptions {
1621
1818
  swapIn: RawTransactionArgument<boolean>
1622
1819
  ];
1623
1820
  }
1624
- export declare function calculateSwapFee(options: CalculateSwapFeeOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
1821
+ export declare function calculateSwapFee(options: CalculateSwapFeeOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1625
1822
  export interface CheckTvlUpdatedArguments {
1626
1823
  liquidityPool: RawTransactionArgument<string>;
1627
1824
  }
@@ -1629,7 +1826,131 @@ export interface CheckTvlUpdatedOptions {
1629
1826
  package?: string;
1630
1827
  arguments: CheckTvlUpdatedArguments | [liquidityPool: RawTransactionArgument<string>];
1631
1828
  }
1632
- export declare function checkTvlUpdated(options: CheckTvlUpdatedOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
1829
+ export declare function checkTvlUpdated(options: CheckTvlUpdatedOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1830
+ export interface CalculateLendingAmountCappedArguments {
1831
+ tokenPool: RawTransactionArgument<string>;
1832
+ lendingAmount: RawTransactionArgument<number | bigint | null>;
1833
+ }
1834
+ export interface CalculateLendingAmountCappedOptions {
1835
+ package?: string;
1836
+ arguments: CalculateLendingAmountCappedArguments | [tokenPool: RawTransactionArgument<string>, lendingAmount: RawTransactionArgument<number | bigint | null>];
1837
+ }
1838
+ export declare function calculateLendingAmountCapped(options: CalculateLendingAmountCappedOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1839
+ export interface DepositScallopBasicArguments {
1840
+ liquidityPool: RawTransactionArgument<string>;
1841
+ scallopVersion: RawTransactionArgument<string>;
1842
+ scallopMarket: RawTransactionArgument<string>;
1843
+ depositAmount: RawTransactionArgument<number | bigint>;
1844
+ }
1845
+ export interface DepositScallopBasicOptions {
1846
+ package?: string;
1847
+ arguments: DepositScallopBasicArguments | [
1848
+ liquidityPool: RawTransactionArgument<string>,
1849
+ scallopVersion: RawTransactionArgument<string>,
1850
+ scallopMarket: RawTransactionArgument<string>,
1851
+ depositAmount: RawTransactionArgument<number | bigint>
1852
+ ];
1853
+ typeArguments: [string];
1854
+ }
1855
+ export declare function depositScallopBasic(options: DepositScallopBasicOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1856
+ export interface WithdrawScallopBasicArguments {
1857
+ version: RawTransactionArgument<string>;
1858
+ liquidityPool: RawTransactionArgument<string>;
1859
+ scallopVersion: RawTransactionArgument<string>;
1860
+ scallopMarket: RawTransactionArgument<string>;
1861
+ withdrawAmount: RawTransactionArgument<number | bigint>;
1862
+ }
1863
+ export interface WithdrawScallopBasicOptions {
1864
+ package?: string;
1865
+ arguments: WithdrawScallopBasicArguments | [
1866
+ version: RawTransactionArgument<string>,
1867
+ liquidityPool: RawTransactionArgument<string>,
1868
+ scallopVersion: RawTransactionArgument<string>,
1869
+ scallopMarket: RawTransactionArgument<string>,
1870
+ withdrawAmount: RawTransactionArgument<number | bigint>
1871
+ ];
1872
+ typeArguments: [string];
1873
+ }
1874
+ export declare function withdrawScallopBasic(options: WithdrawScallopBasicOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1875
+ export interface DepositNaviArguments {
1876
+ liquidityPool: RawTransactionArgument<string>;
1877
+ storage: RawTransactionArgument<string>;
1878
+ pool: RawTransactionArgument<string>;
1879
+ asset: RawTransactionArgument<number>;
1880
+ incentiveV2: RawTransactionArgument<string>;
1881
+ incentiveV3: RawTransactionArgument<string>;
1882
+ depositAmount: RawTransactionArgument<number | bigint>;
1883
+ }
1884
+ export interface DepositNaviOptions {
1885
+ package?: string;
1886
+ arguments: DepositNaviArguments | [
1887
+ liquidityPool: RawTransactionArgument<string>,
1888
+ storage: RawTransactionArgument<string>,
1889
+ pool: RawTransactionArgument<string>,
1890
+ asset: RawTransactionArgument<number>,
1891
+ incentiveV2: RawTransactionArgument<string>,
1892
+ incentiveV3: RawTransactionArgument<string>,
1893
+ depositAmount: RawTransactionArgument<number | bigint>
1894
+ ];
1895
+ typeArguments: [string];
1896
+ }
1897
+ export declare function depositNavi(options: DepositNaviOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1898
+ export interface WithdrawNaviArguments {
1899
+ version: RawTransactionArgument<string>;
1900
+ liquidityPool: RawTransactionArgument<string>;
1901
+ oracleConfig: RawTransactionArgument<string>;
1902
+ priceOracle: RawTransactionArgument<string>;
1903
+ supraOracleHolder: RawTransactionArgument<string>;
1904
+ pythPriceInfo: RawTransactionArgument<string>;
1905
+ feedAddress: RawTransactionArgument<string>;
1906
+ storage: RawTransactionArgument<string>;
1907
+ pool: RawTransactionArgument<string>;
1908
+ asset: RawTransactionArgument<number>;
1909
+ incentiveV2: RawTransactionArgument<string>;
1910
+ incentiveV3: RawTransactionArgument<string>;
1911
+ }
1912
+ export interface WithdrawNaviOptions {
1913
+ package?: string;
1914
+ arguments: WithdrawNaviArguments | [
1915
+ version: RawTransactionArgument<string>,
1916
+ liquidityPool: RawTransactionArgument<string>,
1917
+ oracleConfig: RawTransactionArgument<string>,
1918
+ priceOracle: RawTransactionArgument<string>,
1919
+ supraOracleHolder: RawTransactionArgument<string>,
1920
+ pythPriceInfo: RawTransactionArgument<string>,
1921
+ feedAddress: RawTransactionArgument<string>,
1922
+ storage: RawTransactionArgument<string>,
1923
+ pool: RawTransactionArgument<string>,
1924
+ asset: RawTransactionArgument<number>,
1925
+ incentiveV2: RawTransactionArgument<string>,
1926
+ incentiveV3: RawTransactionArgument<string>
1927
+ ];
1928
+ typeArguments: [string];
1929
+ }
1930
+ export declare function withdrawNavi(options: WithdrawNaviOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1931
+ export interface RewardNaviArguments {
1932
+ version: RawTransactionArgument<string>;
1933
+ liquidityPool: RawTransactionArgument<string>;
1934
+ storage: RawTransactionArgument<string>;
1935
+ rewardFund: RawTransactionArgument<string>;
1936
+ coinTypes: RawTransactionArgument<string[]>;
1937
+ ruleIds: RawTransactionArgument<string[]>;
1938
+ incentiveV3: RawTransactionArgument<string>;
1939
+ }
1940
+ export interface RewardNaviOptions {
1941
+ package?: string;
1942
+ arguments: RewardNaviArguments | [
1943
+ version: RawTransactionArgument<string>,
1944
+ liquidityPool: RawTransactionArgument<string>,
1945
+ storage: RawTransactionArgument<string>,
1946
+ rewardFund: RawTransactionArgument<string>,
1947
+ coinTypes: RawTransactionArgument<string[]>,
1948
+ ruleIds: RawTransactionArgument<string[]>,
1949
+ incentiveV3: RawTransactionArgument<string>
1950
+ ];
1951
+ typeArguments: [string];
1952
+ }
1953
+ export declare function rewardNavi(options: RewardNaviOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1633
1954
  export interface BurnLp_Arguments {
1634
1955
  version: RawTransactionArgument<string>;
1635
1956
  registry: RawTransactionArgument<string>;
@@ -1650,7 +1971,7 @@ export interface BurnLp_Options {
1650
1971
  ];
1651
1972
  typeArguments: [string, string];
1652
1973
  }
1653
- export declare function burnLp_(options: BurnLp_Options): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
1974
+ export declare function burnLp_(options: BurnLp_Options): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1654
1975
  export interface ViewSwapResultArguments {
1655
1976
  version: RawTransactionArgument<string>;
1656
1977
  registry: RawTransactionArgument<string>;
@@ -1671,7 +1992,7 @@ export interface ViewSwapResultOptions {
1671
1992
  ];
1672
1993
  typeArguments: [string, string];
1673
1994
  }
1674
- export declare function viewSwapResult(options: ViewSwapResultOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
1995
+ export declare function viewSwapResult(options: ViewSwapResultOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1675
1996
  export interface GetReceiptCollateralBcsArguments {
1676
1997
  registry: RawTransactionArgument<string>;
1677
1998
  index: RawTransactionArgument<number | bigint>;
@@ -1680,7 +2001,7 @@ export interface GetReceiptCollateralBcsOptions {
1680
2001
  package?: string;
1681
2002
  arguments: GetReceiptCollateralBcsArguments | [registry: RawTransactionArgument<string>, index: RawTransactionArgument<number | bigint>];
1682
2003
  }
1683
- export declare function getReceiptCollateralBcs(options: GetReceiptCollateralBcsOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
2004
+ export declare function getReceiptCollateralBcs(options: GetReceiptCollateralBcsOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1684
2005
  export interface GetExpiredReceiptCollateralBcsArguments {
1685
2006
  registry: RawTransactionArgument<string>;
1686
2007
  dovRegistry: RawTransactionArgument<string>;
@@ -1694,7 +2015,7 @@ export interface GetExpiredReceiptCollateralBcsOptions {
1694
2015
  index: RawTransactionArgument<number | bigint>
1695
2016
  ];
1696
2017
  }
1697
- export declare function getExpiredReceiptCollateralBcs(options: GetExpiredReceiptCollateralBcsOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
2018
+ export declare function getExpiredReceiptCollateralBcs(options: GetExpiredReceiptCollateralBcsOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1698
2019
  export interface GetLiquidityPoolArguments {
1699
2020
  registry: RawTransactionArgument<string>;
1700
2021
  index: RawTransactionArgument<number | bigint>;
@@ -1703,7 +2024,7 @@ export interface GetLiquidityPoolOptions {
1703
2024
  package?: string;
1704
2025
  arguments: GetLiquidityPoolArguments | [registry: RawTransactionArgument<string>, index: RawTransactionArgument<number | bigint>];
1705
2026
  }
1706
- export declare function getLiquidityPool(options: GetLiquidityPoolOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
2027
+ export declare function getLiquidityPool(options: GetLiquidityPoolOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1707
2028
  export interface GetMutLiquidityPoolArguments {
1708
2029
  registry: RawTransactionArgument<string>;
1709
2030
  index: RawTransactionArgument<number | bigint>;
@@ -1712,7 +2033,7 @@ export interface GetMutLiquidityPoolOptions {
1712
2033
  package?: string;
1713
2034
  arguments: GetMutLiquidityPoolArguments | [registry: RawTransactionArgument<string>, index: RawTransactionArgument<number | bigint>];
1714
2035
  }
1715
- export declare function getMutLiquidityPool(options: GetMutLiquidityPoolOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
2036
+ export declare function getMutLiquidityPool(options: GetMutLiquidityPoolOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1716
2037
  export interface SafetyCheckArguments {
1717
2038
  liquidityPool: RawTransactionArgument<string>;
1718
2039
  tokenType: RawTransactionArgument<string>;
@@ -1726,7 +2047,7 @@ export interface SafetyCheckOptions {
1726
2047
  oracleId: RawTransactionArgument<string>
1727
2048
  ];
1728
2049
  }
1729
- export declare function safetyCheck(options: SafetyCheckOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
2050
+ export declare function safetyCheck(options: SafetyCheckOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1730
2051
  export interface CheckActiveArguments {
1731
2052
  liquidityPool: RawTransactionArgument<string>;
1732
2053
  }
@@ -1734,7 +2055,7 @@ export interface CheckActiveOptions {
1734
2055
  package?: string;
1735
2056
  arguments: CheckActiveArguments | [liquidityPool: RawTransactionArgument<string>];
1736
2057
  }
1737
- export declare function checkActive(options: CheckActiveOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
2058
+ export declare function checkActive(options: CheckActiveOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1738
2059
  export interface OracleMatchedArguments {
1739
2060
  liquidityPool: RawTransactionArgument<string>;
1740
2061
  tokenType: RawTransactionArgument<string>;
@@ -1748,7 +2069,7 @@ export interface OracleMatchedOptions {
1748
2069
  oracleId: RawTransactionArgument<string>
1749
2070
  ];
1750
2071
  }
1751
- export declare function oracleMatched(options: OracleMatchedOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
2072
+ export declare function oracleMatched(options: OracleMatchedOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1752
2073
  export interface GetTokenPoolArguments {
1753
2074
  liquidityPool: RawTransactionArgument<string>;
1754
2075
  tokenType: RawTransactionArgument<string>;
@@ -1757,7 +2078,7 @@ export interface GetTokenPoolOptions {
1757
2078
  package?: string;
1758
2079
  arguments: GetTokenPoolArguments | [liquidityPool: RawTransactionArgument<string>, tokenType: RawTransactionArgument<string>];
1759
2080
  }
1760
- export declare function getTokenPool(options: GetTokenPoolOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
2081
+ export declare function getTokenPool(options: GetTokenPoolOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1761
2082
  export interface GetMutTokenPoolArguments {
1762
2083
  liquidityPool: RawTransactionArgument<string>;
1763
2084
  tokenType: RawTransactionArgument<string>;
@@ -1766,7 +2087,7 @@ export interface GetMutTokenPoolOptions {
1766
2087
  package?: string;
1767
2088
  arguments: GetMutTokenPoolArguments | [liquidityPool: RawTransactionArgument<string>, tokenType: RawTransactionArgument<string>];
1768
2089
  }
1769
- export declare function getMutTokenPool(options: GetMutTokenPoolOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
2090
+ export declare function getMutTokenPool(options: GetMutTokenPoolOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1770
2091
  export interface GetLpTokenTypeArguments {
1771
2092
  registry: RawTransactionArgument<string>;
1772
2093
  index: RawTransactionArgument<number | bigint>;
@@ -1775,7 +2096,7 @@ export interface GetLpTokenTypeOptions {
1775
2096
  package?: string;
1776
2097
  arguments: GetLpTokenTypeArguments | [registry: RawTransactionArgument<string>, index: RawTransactionArgument<number | bigint>];
1777
2098
  }
1778
- export declare function getLpTokenType(options: GetLpTokenTypeOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
2099
+ export declare function getLpTokenType(options: GetLpTokenTypeOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1779
2100
  export interface GetLiquidityTokenDecimalArguments {
1780
2101
  registry: RawTransactionArgument<string>;
1781
2102
  index: RawTransactionArgument<number | bigint>;
@@ -1789,7 +2110,7 @@ export interface GetLiquidityTokenDecimalOptions {
1789
2110
  liquidityToken: RawTransactionArgument<string>
1790
2111
  ];
1791
2112
  }
1792
- export declare function getLiquidityTokenDecimal(options: GetLiquidityTokenDecimalOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
2113
+ export declare function getLiquidityTokenDecimal(options: GetLiquidityTokenDecimalOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1793
2114
  export interface GetTokenPoolStateArguments {
1794
2115
  liquidityPool: RawTransactionArgument<string>;
1795
2116
  liquidityToken: RawTransactionArgument<string>;
@@ -1798,7 +2119,7 @@ export interface GetTokenPoolStateOptions {
1798
2119
  package?: string;
1799
2120
  arguments: GetTokenPoolStateArguments | [liquidityPool: RawTransactionArgument<string>, liquidityToken: RawTransactionArgument<string>];
1800
2121
  }
1801
- export declare function getTokenPoolState(options: GetTokenPoolStateOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
2122
+ export declare function getTokenPoolState(options: GetTokenPoolStateOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1802
2123
  export interface CheckTradingOrderSizeValidArguments {
1803
2124
  liquidityPool: RawTransactionArgument<string>;
1804
2125
  liquidityToken: RawTransactionArgument<string>;
@@ -1812,7 +2133,7 @@ export interface CheckTradingOrderSizeValidOptions {
1812
2133
  reserveAmount: RawTransactionArgument<number | bigint>
1813
2134
  ];
1814
2135
  }
1815
- export declare function checkTradingOrderSizeValid(options: CheckTradingOrderSizeValidOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
2136
+ export declare function checkTradingOrderSizeValid(options: CheckTradingOrderSizeValidOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1816
2137
  export interface GetCumulativeBorrowRateArguments {
1817
2138
  liquidityPool: RawTransactionArgument<string>;
1818
2139
  liquidityToken: RawTransactionArgument<string>;
@@ -1821,7 +2142,7 @@ export interface GetCumulativeBorrowRateOptions {
1821
2142
  package?: string;
1822
2143
  arguments: GetCumulativeBorrowRateArguments | [liquidityPool: RawTransactionArgument<string>, liquidityToken: RawTransactionArgument<string>];
1823
2144
  }
1824
- export declare function getCumulativeBorrowRate(options: GetCumulativeBorrowRateOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
2145
+ export declare function getCumulativeBorrowRate(options: GetCumulativeBorrowRateOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1825
2146
  export interface GetTvlUsdArguments {
1826
2147
  liquidityPool: RawTransactionArgument<string>;
1827
2148
  }
@@ -1829,17 +2150,17 @@ export interface GetTvlUsdOptions {
1829
2150
  package?: string;
1830
2151
  arguments: GetTvlUsdArguments | [liquidityPool: RawTransactionArgument<string>];
1831
2152
  }
1832
- export declare function getTvlUsd(options: GetTvlUsdOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
2153
+ export declare function getTvlUsd(options: GetTvlUsdOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1833
2154
  export interface GetBorrowRateDecimalOptions {
1834
2155
  package?: string;
1835
2156
  arguments?: [];
1836
2157
  }
1837
- export declare function getBorrowRateDecimal(options?: GetBorrowRateDecimalOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
2158
+ export declare function getBorrowRateDecimal(options?: GetBorrowRateDecimalOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1838
2159
  export interface DeprecatedOptions {
1839
2160
  package?: string;
1840
2161
  arguments?: [];
1841
2162
  }
1842
- export declare function deprecated(options?: DeprecatedOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
2163
+ export declare function deprecated(options?: DeprecatedOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
1843
2164
  export interface GetUserDeactivatingSharesArguments {
1844
2165
  registry: RawTransactionArgument<string>;
1845
2166
  index: RawTransactionArgument<number | bigint>;
@@ -1850,4 +2171,4 @@ export interface GetUserDeactivatingSharesOptions {
1850
2171
  arguments: GetUserDeactivatingSharesArguments | [registry: RawTransactionArgument<string>, index: RawTransactionArgument<number | bigint>, user: RawTransactionArgument<string>];
1851
2172
  typeArguments: [string];
1852
2173
  }
1853
- export declare function getUserDeactivatingShares(options: GetUserDeactivatingSharesOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
2174
+ export declare function getUserDeactivatingShares(options: GetUserDeactivatingSharesOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;