@typus/typus-perp-sdk 1.1.54 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. package/dist/src/api/sentio.js +2 -2
  2. package/dist/src/client.d.ts +14 -14
  3. package/dist/src/client.js +25 -50
  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/order.js +2 -2
  60. package/dist/src/user/orderWithBidReceipt.d.ts +1 -1
  61. package/dist/src/user/tlp.js +3 -3
  62. package/package.json +40 -47
  63. package/dist/src/generated/typus_perp/deps/sui/object.d.ts +0 -8
  64. package/dist/src/generated/typus_perp/deps/sui/object.js +0 -16
  65. package/dist/src/generated/typus_perp/user_account.d.ts +0 -146
  66. package/dist/src/generated/typus_perp/user_account.js +0 -221
  67. package/dist/src/generated/typus_stake_pool/deps/sui/object.d.ts +0 -8
  68. package/dist/src/generated/typus_stake_pool/deps/sui/object.js +0 -16
  69. package/dist/src/generated/typus_stake_pool/deps/sui/vec_map.d.ts +0 -30
  70. package/dist/src/generated/typus_stake_pool/deps/sui/vec_map.js +0 -37
  71. package/dist/src/grpc/graphql.d.ts +0 -26
  72. package/dist/src/grpc/graphql.js +0 -126
  73. package/dist/src/grpc/grpc.d.ts +0 -1
  74. package/dist/src/grpc/grpc.js +0 -38
  75. package/dist/src/grpc/ledgerService.d.ts +0 -0
  76. package/dist/src/grpc/ledgerService.js +0 -64
  77. package/dist/src/grpc/liveDataService.d.ts +0 -0
  78. package/dist/src/grpc/liveDataService.js +0 -49
@@ -1,143 +1,139 @@
1
1
  /**************************************************************
2
2
  * THIS FILE IS GENERATED AND SHOULD NOT BE MANUALLY MODIFIED *
3
3
  **************************************************************/
4
- import { MoveStruct, type RawTransactionArgument } from "../utils/index";
4
+ import { MoveStruct, type RawTransactionArgument } from "../utils/index.js";
5
5
  import { type Transaction } from "@mysten/sui/transactions";
6
6
  export declare const StakePoolRegistry: MoveStruct<{
7
- id: MoveStruct<{
8
- id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
9
- }, "0x2::object::UID">;
7
+ id: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
10
8
  /** The number of pools in the registry. */
11
- num_pool: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
9
+ num_pool: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
12
10
  }, "@typus/stake-pool::stake_pool::StakePoolRegistry">;
13
11
  export declare const StakePoolInfo: MoveStruct<{
14
12
  /** The type name of the stake token. */
15
13
  stake_token: MoveStruct<{
16
- name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
14
+ name: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string, "string">;
17
15
  }, "std::type_name::TypeName">;
18
16
  /** The index of the pool. */
19
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
17
+ index: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
20
18
  /** The next user share ID. */
21
- next_user_share_id: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
19
+ next_user_share_id: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
22
20
  /** The total number of shares in the pool. */
23
- total_share: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
21
+ total_share: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
24
22
  /** Whether the pool is active. */
25
- active: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
23
+ active: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<boolean, boolean, "bool">;
26
24
  /** tlp price (decimal 4) */
27
- new_tlp_price: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
25
+ new_tlp_price: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
28
26
  /** number of depositor */
29
- depositors_count: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
27
+ depositors_count: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
30
28
  /** Padding for future use. */
31
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
29
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
32
30
  length: number;
33
31
  }, string>;
34
32
  }, "@typus/stake-pool::stake_pool::StakePoolInfo">;
35
33
  export declare const StakePoolConfig: MoveStruct<{
36
34
  /** The unlock countdown in milliseconds. */
37
- unlock_countdown_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
35
+ unlock_countdown_ts_ms: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
38
36
  /** for exp calculation */
39
- usd_per_exp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
37
+ usd_per_exp: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
40
38
  /** Padding for future use. */
41
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
39
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
42
40
  length: number;
43
41
  }, string>;
44
42
  }, "@typus/stake-pool::stake_pool::StakePoolConfig">;
45
43
  export declare const IncentiveConfig: MoveStruct<{
46
44
  /** The amount of incentive per period. */
47
- period_incentive_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
45
+ period_incentive_amount: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
48
46
  /** The incentive interval in milliseconds. */
49
- incentive_interval_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
47
+ incentive_interval_ts_ms: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
50
48
  /** Padding for future use. */
51
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
49
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
52
50
  length: number;
53
51
  }, string>;
54
52
  }, "@typus/stake-pool::stake_pool::IncentiveConfig">;
55
53
  export declare const IncentiveInfo: MoveStruct<{
56
54
  /** Whether the incentive is active. */
57
- active: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
55
+ active: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<boolean, boolean, "bool">;
58
56
  /** The timestamp of the last allocation. */
59
- last_allocate_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
57
+ last_allocate_ts_ms: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
60
58
  /** The price index for accumulating incentive. */
61
- incentive_price_index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
59
+ incentive_price_index: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
62
60
  /** The unallocated amount of incentive. */
63
- unallocated_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
61
+ unallocated_amount: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
64
62
  /** Padding for future use. */
65
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
63
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
66
64
  length: number;
67
65
  }, string>;
68
66
  }, "@typus/stake-pool::stake_pool::IncentiveInfo">;
69
67
  export declare const Incentive: MoveStruct<{
70
68
  /** The type name of the incentive token. */
71
69
  token_type: MoveStruct<{
72
- name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
70
+ name: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string, "string">;
73
71
  }, "std::type_name::TypeName">;
74
72
  /** The configuration for the incentive. */
75
73
  config: MoveStruct<{
76
74
  /** The amount of incentive per period. */
77
- period_incentive_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
75
+ period_incentive_amount: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
78
76
  /** The incentive interval in milliseconds. */
79
- incentive_interval_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
77
+ incentive_interval_ts_ms: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
80
78
  /** Padding for future use. */
81
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
79
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
82
80
  length: number;
83
81
  }, string>;
84
82
  }, "@typus/stake-pool::stake_pool::IncentiveConfig">;
85
83
  /** Information about the incentive. */
86
84
  info: MoveStruct<{
87
85
  /** Whether the incentive is active. */
88
- active: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
86
+ active: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<boolean, boolean, "bool">;
89
87
  /** The timestamp of the last allocation. */
90
- last_allocate_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
88
+ last_allocate_ts_ms: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
91
89
  /** The price index for accumulating incentive. */
92
- incentive_price_index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
90
+ incentive_price_index: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
93
91
  /** The unallocated amount of incentive. */
94
- unallocated_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
92
+ unallocated_amount: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
95
93
  /** Padding for future use. */
96
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
94
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
97
95
  length: number;
98
96
  }, string>;
99
97
  }, "@typus/stake-pool::stake_pool::IncentiveInfo">;
100
98
  }, "@typus/stake-pool::stake_pool::Incentive">;
101
99
  export declare const StakePool: MoveStruct<{
102
- id: MoveStruct<{
103
- id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
104
- }, "0x2::object::UID">;
100
+ id: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
105
101
  /** Information about the stake pool. */
106
102
  pool_info: MoveStruct<{
107
103
  /** The type name of the stake token. */
108
104
  stake_token: MoveStruct<{
109
- name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
105
+ name: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string, "string">;
110
106
  }, "std::type_name::TypeName">;
111
107
  /** The index of the pool. */
112
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
108
+ index: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
113
109
  /** The next user share ID. */
114
- next_user_share_id: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
110
+ next_user_share_id: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
115
111
  /** The total number of shares in the pool. */
116
- total_share: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
112
+ total_share: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
117
113
  /** Whether the pool is active. */
118
- active: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
114
+ active: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<boolean, boolean, "bool">;
119
115
  /** tlp price (decimal 4) */
120
- new_tlp_price: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
116
+ new_tlp_price: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
121
117
  /** number of depositor */
122
- depositors_count: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
118
+ depositors_count: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
123
119
  /** Padding for future use. */
124
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
120
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
125
121
  length: number;
126
122
  }, string>;
127
123
  }, "@typus/stake-pool::stake_pool::StakePoolInfo">;
128
124
  /** Configuration for the stake pool. */
129
125
  config: MoveStruct<{
130
126
  /** The unlock countdown in milliseconds. */
131
- unlock_countdown_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
127
+ unlock_countdown_ts_ms: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
132
128
  /** for exp calculation */
133
- usd_per_exp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
129
+ usd_per_exp: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
134
130
  /** Padding for future use. */
135
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
131
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
136
132
  length: number;
137
133
  }, string>;
138
134
  }, "@typus/stake-pool::stake_pool::StakePoolConfig">;
139
135
  /** A vector of the incentives in the stake pool. */
140
- incentives: import("@mysten/sui/bcs").BcsType<{
136
+ incentives: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<{
141
137
  token_type: {
142
138
  name: string;
143
139
  };
@@ -177,39 +173,42 @@ export declare const StakePool: MoveStruct<{
177
173
  length: number;
178
174
  }, string>;
179
175
  /** Padding for future use. */
180
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
176
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
181
177
  length: number;
182
178
  }, string>;
183
179
  }, "@typus/stake-pool::stake_pool::StakePool">;
184
180
  export declare const DeactivatingShares: MoveStruct<{
185
181
  /** The number of shares. */
186
- shares: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
182
+ shares: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
187
183
  /** The timestamp when the user unsubscribed. */
188
- unsubscribed_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
184
+ unsubscribed_ts_ms: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
189
185
  /** The timestamp when the shares can be unlocked. */
190
- unlocked_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
191
- /** The unsubscribed incentive price index. */
192
- unsubscribed_incentive_price_index: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
186
+ unlocked_ts_ms: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
187
+ /**
188
+ * The unsubscribed incentive price index (aligned with StakePool.incentives by
189
+ * index).
190
+ */
191
+ unsubscribed_incentive_price_index: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
193
192
  length: number;
194
193
  }, string>;
195
194
  /** Padding for future use. */
196
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
195
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
197
196
  length: number;
198
197
  }, string>;
199
198
  }, "@typus/stake-pool::stake_pool::DeactivatingShares">;
200
199
  export declare const LpUserShare: MoveStruct<{
201
200
  /** The address of the user. */
202
- user: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
201
+ user: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
203
202
  /** The ID of the user's share. */
204
- user_share_id: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
203
+ user_share_id: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
205
204
  /** The timestamp when the user staked. */
206
- stake_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
205
+ stake_ts_ms: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
207
206
  /** The total number of shares. */
208
- total_shares: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
207
+ total_shares: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
209
208
  /** The number of active shares. */
210
- active_shares: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
209
+ active_shares: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
211
210
  /** A vector of deactivating shares. */
212
- deactivating_shares: import("@mysten/sui/bcs").BcsType<{
211
+ deactivating_shares: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<{
213
212
  shares: string;
214
213
  unsubscribed_ts_ms: string;
215
214
  unlocked_ts_ms: string;
@@ -228,282 +227,282 @@ export declare const LpUserShare: MoveStruct<{
228
227
  }> & {
229
228
  length: number;
230
229
  }, string>;
231
- /** The last incentive price index. */
232
- last_incentive_price_index: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
230
+ /** The last incentive price index (aligned with StakePool.incentives by index). */
231
+ last_incentive_price_index: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
233
232
  length: number;
234
233
  }, string>;
235
234
  /** The last snapshot ts for exp. */
236
- snapshot_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
235
+ snapshot_ts_ms: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
237
236
  /** old tlp price for exp with decimal 4 */
238
- tlp_price: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
237
+ tlp_price: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
239
238
  /** accumulated harvested amount */
240
- harvested_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
239
+ harvested_amount: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
241
240
  /** Padding for future use. */
242
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
241
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
243
242
  length: number;
244
243
  }, string>;
245
244
  }, "@typus/stake-pool::stake_pool::LpUserShare">;
246
245
  export declare const NewStakePoolEvent: MoveStruct<{
247
- sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
246
+ sender: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
248
247
  stake_pool_info: MoveStruct<{
249
248
  /** The type name of the stake token. */
250
249
  stake_token: MoveStruct<{
251
- name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
250
+ name: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string, "string">;
252
251
  }, "std::type_name::TypeName">;
253
252
  /** The index of the pool. */
254
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
253
+ index: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
255
254
  /** The next user share ID. */
256
- next_user_share_id: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
255
+ next_user_share_id: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
257
256
  /** The total number of shares in the pool. */
258
- total_share: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
257
+ total_share: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
259
258
  /** Whether the pool is active. */
260
- active: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
259
+ active: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<boolean, boolean, "bool">;
261
260
  /** tlp price (decimal 4) */
262
- new_tlp_price: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
261
+ new_tlp_price: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
263
262
  /** number of depositor */
264
- depositors_count: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
263
+ depositors_count: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
265
264
  /** Padding for future use. */
266
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
265
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
267
266
  length: number;
268
267
  }, string>;
269
268
  }, "@typus/stake-pool::stake_pool::StakePoolInfo">;
270
269
  stake_pool_config: MoveStruct<{
271
270
  /** The unlock countdown in milliseconds. */
272
- unlock_countdown_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
271
+ unlock_countdown_ts_ms: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
273
272
  /** for exp calculation */
274
- usd_per_exp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
273
+ usd_per_exp: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
275
274
  /** Padding for future use. */
276
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
275
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
277
276
  length: number;
278
277
  }, string>;
279
278
  }, "@typus/stake-pool::stake_pool::StakePoolConfig">;
280
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
279
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
281
280
  length: number;
282
281
  }, string>;
283
282
  }, "@typus/stake-pool::stake_pool::NewStakePoolEvent">;
284
283
  export declare const AutoCompoundEvent: MoveStruct<{
285
- sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
286
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
284
+ sender: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
285
+ index: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
287
286
  incentive_token: MoveStruct<{
288
- name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
287
+ name: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string, "string">;
289
288
  }, "std::type_name::TypeName">;
290
- incentive_price_index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
291
- total_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
292
- compound_users: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
293
- total_users: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
294
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
289
+ incentive_price_index: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
290
+ total_amount: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
291
+ compound_users: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
292
+ total_users: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
293
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
295
294
  length: number;
296
295
  }, string>;
297
296
  }, "@typus/stake-pool::stake_pool::AutoCompoundEvent">;
298
297
  export declare const AddIncentiveTokenEvent: MoveStruct<{
299
- sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
300
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
298
+ sender: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
299
+ index: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
301
300
  incentive_token: MoveStruct<{
302
- name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
301
+ name: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string, "string">;
303
302
  }, "std::type_name::TypeName">;
304
303
  incentive_info: MoveStruct<{
305
304
  /** Whether the incentive is active. */
306
- active: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
305
+ active: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<boolean, boolean, "bool">;
307
306
  /** The timestamp of the last allocation. */
308
- last_allocate_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
307
+ last_allocate_ts_ms: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
309
308
  /** The price index for accumulating incentive. */
310
- incentive_price_index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
309
+ incentive_price_index: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
311
310
  /** The unallocated amount of incentive. */
312
- unallocated_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
311
+ unallocated_amount: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
313
312
  /** Padding for future use. */
314
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
313
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
315
314
  length: number;
316
315
  }, string>;
317
316
  }, "@typus/stake-pool::stake_pool::IncentiveInfo">;
318
317
  incentive_config: MoveStruct<{
319
318
  /** The amount of incentive per period. */
320
- period_incentive_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
319
+ period_incentive_amount: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
321
320
  /** The incentive interval in milliseconds. */
322
- incentive_interval_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
321
+ incentive_interval_ts_ms: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
323
322
  /** Padding for future use. */
324
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
323
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
325
324
  length: number;
326
325
  }, string>;
327
326
  }, "@typus/stake-pool::stake_pool::IncentiveConfig">;
328
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
327
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
329
328
  length: number;
330
329
  }, string>;
331
330
  }, "@typus/stake-pool::stake_pool::AddIncentiveTokenEvent">;
332
331
  export declare const DeactivateStakePoolEvent: MoveStruct<{
333
- sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
334
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
335
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
332
+ sender: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
333
+ index: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
334
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
336
335
  length: number;
337
336
  }, string>;
338
337
  }, "@typus/stake-pool::stake_pool::DeactivateStakePoolEvent">;
339
338
  export declare const ActivateStakePoolEvent: MoveStruct<{
340
- sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
341
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
342
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
339
+ sender: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
340
+ index: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
341
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
343
342
  length: number;
344
343
  }, string>;
345
344
  }, "@typus/stake-pool::stake_pool::ActivateStakePoolEvent">;
346
345
  export declare const DeactivateIncentiveTokenEvent: MoveStruct<{
347
- sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
348
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
346
+ sender: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
347
+ index: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
349
348
  incentive_token: MoveStruct<{
350
- name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
349
+ name: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string, "string">;
351
350
  }, "std::type_name::TypeName">;
352
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
351
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
353
352
  length: number;
354
353
  }, string>;
355
354
  }, "@typus/stake-pool::stake_pool::DeactivateIncentiveTokenEvent">;
356
355
  export declare const ActivateIncentiveTokenEvent: MoveStruct<{
357
- sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
358
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
356
+ sender: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
357
+ index: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
359
358
  incentive_token: MoveStruct<{
360
- name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
359
+ name: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string, "string">;
361
360
  }, "std::type_name::TypeName">;
362
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
361
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
363
362
  length: number;
364
363
  }, string>;
365
364
  }, "@typus/stake-pool::stake_pool::ActivateIncentiveTokenEvent">;
366
365
  export declare const RemoveIncentiveTokenEvent: MoveStruct<{
367
- sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
368
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
366
+ sender: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
367
+ index: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
369
368
  incentive_token: MoveStruct<{
370
- name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
369
+ name: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string, "string">;
371
370
  }, "std::type_name::TypeName">;
372
- incentive_balance_value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
373
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
371
+ incentive_balance_value: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
372
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
374
373
  length: number;
375
374
  }, string>;
376
375
  }, "@typus/stake-pool::stake_pool::RemoveIncentiveTokenEvent">;
377
376
  export declare const UpdateUnlockCountdownTsMsEvent: MoveStruct<{
378
- sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
379
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
380
- previous_unlock_countdown_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
381
- new_unlock_countdown_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
382
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
377
+ sender: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
378
+ index: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
379
+ previous_unlock_countdown_ts_ms: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
380
+ new_unlock_countdown_ts_ms: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
381
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
383
382
  length: number;
384
383
  }, string>;
385
384
  }, "@typus/stake-pool::stake_pool::UpdateUnlockCountdownTsMsEvent">;
386
385
  export declare const UpdateIncentiveConfigEvent: MoveStruct<{
387
- sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
388
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
386
+ sender: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
387
+ index: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
389
388
  previous_incentive_config: MoveStruct<{
390
389
  /** The amount of incentive per period. */
391
- period_incentive_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
390
+ period_incentive_amount: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
392
391
  /** The incentive interval in milliseconds. */
393
- incentive_interval_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
392
+ incentive_interval_ts_ms: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
394
393
  /** Padding for future use. */
395
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
394
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
396
395
  length: number;
397
396
  }, string>;
398
397
  }, "@typus/stake-pool::stake_pool::IncentiveConfig">;
399
398
  new_incentive_config: MoveStruct<{
400
399
  /** The amount of incentive per period. */
401
- period_incentive_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
400
+ period_incentive_amount: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
402
401
  /** The incentive interval in milliseconds. */
403
- incentive_interval_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
402
+ incentive_interval_ts_ms: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
404
403
  /** Padding for future use. */
405
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
404
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
406
405
  length: number;
407
406
  }, string>;
408
407
  }, "@typus/stake-pool::stake_pool::IncentiveConfig">;
409
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
408
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
410
409
  length: number;
411
410
  }, string>;
412
411
  }, "@typus/stake-pool::stake_pool::UpdateIncentiveConfigEvent">;
413
412
  export declare const DepositIncentiveEvent: MoveStruct<{
414
- sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
415
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
413
+ sender: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
414
+ index: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
416
415
  incentive_token_type: MoveStruct<{
417
- name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
416
+ name: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string, "string">;
418
417
  }, "std::type_name::TypeName">;
419
- deposit_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
420
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
418
+ deposit_amount: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
419
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
421
420
  length: number;
422
421
  }, string>;
423
422
  }, "@typus/stake-pool::stake_pool::DepositIncentiveEvent">;
424
423
  export declare const WithdrawIncentiveEvent: MoveStruct<{
425
- sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
426
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
424
+ sender: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
425
+ index: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
427
426
  incentive_token_type: MoveStruct<{
428
- name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
427
+ name: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string, "string">;
429
428
  }, "std::type_name::TypeName">;
430
- withdrawal_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
431
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
429
+ withdrawal_amount: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
430
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
432
431
  length: number;
433
432
  }, string>;
434
433
  }, "@typus/stake-pool::stake_pool::WithdrawIncentiveEvent">;
435
434
  export declare const StakeEvent: MoveStruct<{
436
- sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
437
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
435
+ sender: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
436
+ index: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
438
437
  lp_token_type: MoveStruct<{
439
- name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
438
+ name: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string, "string">;
440
439
  }, "std::type_name::TypeName">;
441
- stake_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
442
- user_share_id: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
443
- stake_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
444
- last_incentive_price_index: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
440
+ stake_amount: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
441
+ user_share_id: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
442
+ stake_ts_ms: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
443
+ last_incentive_price_index: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
445
444
  length: number;
446
445
  }, string>;
447
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
446
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
448
447
  length: number;
449
448
  }, string>;
450
449
  }, "@typus/stake-pool::stake_pool::StakeEvent">;
451
450
  export declare const UpdatePoolInfoU64PaddingEvent: MoveStruct<{
452
- sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
453
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
454
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
451
+ sender: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
452
+ index: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
453
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
455
454
  length: number;
456
455
  }, string>;
457
456
  }, "@typus/stake-pool::stake_pool::UpdatePoolInfoU64PaddingEvent">;
458
457
  export declare const SnapshotEvent: MoveStruct<{
459
- sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
460
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
461
- user_share_id: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
462
- shares: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
463
- tlp_price: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
464
- last_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
465
- current_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
466
- exp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
467
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
458
+ sender: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
459
+ index: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
460
+ user_share_id: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
461
+ shares: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
462
+ tlp_price: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
463
+ last_ts_ms: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
464
+ current_ts_ms: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
465
+ exp: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
466
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
468
467
  length: number;
469
468
  }, string>;
470
469
  }, "@typus/stake-pool::stake_pool::SnapshotEvent">;
471
470
  export declare const UnsubscribeEvent: MoveStruct<{
472
- sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
473
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
471
+ sender: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
472
+ index: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
474
473
  lp_token_type: MoveStruct<{
475
- name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
474
+ name: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string, "string">;
476
475
  }, "std::type_name::TypeName">;
477
- user_share_id: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
478
- unsubscribed_shares: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
479
- unsubscribe_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
480
- unlocked_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
481
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
476
+ user_share_id: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
477
+ unsubscribed_shares: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
478
+ unsubscribe_ts_ms: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
479
+ unlocked_ts_ms: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
480
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
482
481
  length: number;
483
482
  }, string>;
484
483
  }, "@typus/stake-pool::stake_pool::UnsubscribeEvent">;
485
484
  export declare const UnstakeEvent: MoveStruct<{
486
- sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
487
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
485
+ sender: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
486
+ index: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
488
487
  lp_token_type: MoveStruct<{
489
- name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
488
+ name: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string, "string">;
490
489
  }, "std::type_name::TypeName">;
491
- user_share_id: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
492
- unstake_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
493
- unstake_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
494
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
490
+ user_share_id: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
491
+ unstake_amount: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
492
+ unstake_ts_ms: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
493
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
495
494
  length: number;
496
495
  }, string>;
497
496
  }, "@typus/stake-pool::stake_pool::UnstakeEvent">;
498
497
  export declare const HarvestPerUserShareEvent: MoveStruct<{
499
- sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
500
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
498
+ sender: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
499
+ index: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
501
500
  incentive_token_type: MoveStruct<{
502
- name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
501
+ name: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string, "string">;
503
502
  }, "std::type_name::TypeName">;
504
- harvest_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
505
- user_share_id: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
506
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
503
+ harvest_amount: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
504
+ user_share_id: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string, string | number | bigint, "u64">;
505
+ u64_padding: import("@mysten/sui/bcs", { with: { "resolution-mode": "import" } }).BcsType<string[], Iterable<string | number | bigint> & {
507
506
  length: number;
508
507
  }, string>;
509
508
  }, "@typus/stake-pool::stake_pool::HarvestPerUserShareEvent">;
@@ -512,7 +511,7 @@ export interface InitOptions {
512
511
  arguments?: [];
513
512
  }
514
513
  /** Initializes the module. */
515
- export declare function init(options?: InitOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
514
+ export declare function init(options?: InitOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
516
515
  export interface NewStakePoolArguments {
517
516
  version: RawTransactionArgument<string>;
518
517
  registry: RawTransactionArgument<string>;
@@ -528,7 +527,7 @@ export interface NewStakePoolOptions {
528
527
  typeArguments: [string];
529
528
  }
530
529
  /** [Authorized Function] Creates a new stake pool. */
531
- export declare function newStakePool(options: NewStakePoolOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
530
+ export declare function newStakePool(options: NewStakePoolOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
532
531
  export interface AutoCompoundArguments {
533
532
  version: RawTransactionArgument<string>;
534
533
  registry: RawTransactionArgument<string>;
@@ -544,7 +543,7 @@ export interface AutoCompoundOptions {
544
543
  typeArguments: [string];
545
544
  }
546
545
  /** [Authorized Function] */
547
- export declare function autoCompound(options: AutoCompoundOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
546
+ export declare function autoCompound(options: AutoCompoundOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
548
547
  export interface AddIncentiveTokenArguments {
549
548
  version: RawTransactionArgument<string>;
550
549
  registry: RawTransactionArgument<string>;
@@ -564,7 +563,7 @@ export interface AddIncentiveTokenOptions {
564
563
  typeArguments: [string];
565
564
  }
566
565
  /** [Authorized Function] Adds a new incentive token to a pool. */
567
- export declare function addIncentiveToken(options: AddIncentiveTokenOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
566
+ export declare function addIncentiveToken(options: AddIncentiveTokenOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
568
567
  export interface DeactivateStakePoolArguments {
569
568
  version: RawTransactionArgument<string>;
570
569
  registry: RawTransactionArgument<string>;
@@ -579,7 +578,7 @@ export interface DeactivateStakePoolOptions {
579
578
  ];
580
579
  }
581
580
  /** [Authorized Function] Activates a stake pool. */
582
- export declare function deactivateStakePool(options: DeactivateStakePoolOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
581
+ export declare function deactivateStakePool(options: DeactivateStakePoolOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
583
582
  export interface ActivateStakePoolArguments {
584
583
  version: RawTransactionArgument<string>;
585
584
  registry: RawTransactionArgument<string>;
@@ -594,7 +593,7 @@ export interface ActivateStakePoolOptions {
594
593
  ];
595
594
  }
596
595
  /** [Authorized Function] Activates a stake pool. */
597
- export declare function activateStakePool(options: ActivateStakePoolOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
596
+ export declare function activateStakePool(options: ActivateStakePoolOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
598
597
  export interface DeactivateIncentiveTokenArguments {
599
598
  version: RawTransactionArgument<string>;
600
599
  registry: RawTransactionArgument<string>;
@@ -610,7 +609,7 @@ export interface DeactivateIncentiveTokenOptions {
610
609
  typeArguments: [string];
611
610
  }
612
611
  /** [Authorized Function] Deactivates an incentive token. */
613
- export declare function deactivateIncentiveToken(options: DeactivateIncentiveTokenOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
612
+ export declare function deactivateIncentiveToken(options: DeactivateIncentiveTokenOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
614
613
  export interface ActivateIncentiveTokenArguments {
615
614
  version: RawTransactionArgument<string>;
616
615
  registry: RawTransactionArgument<string>;
@@ -626,7 +625,7 @@ export interface ActivateIncentiveTokenOptions {
626
625
  typeArguments: [string];
627
626
  }
628
627
  /** [Authorized Function] Activates an incentive token. */
629
- export declare function activateIncentiveToken(options: ActivateIncentiveTokenOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
628
+ export declare function activateIncentiveToken(options: ActivateIncentiveTokenOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
630
629
  export interface RemoveIncentiveTokenArguments {
631
630
  version: RawTransactionArgument<string>;
632
631
  registry: RawTransactionArgument<string>;
@@ -642,7 +641,7 @@ export interface RemoveIncentiveTokenOptions {
642
641
  typeArguments: [string];
643
642
  }
644
643
  /** [Authorized Function] Removes an incentive token. */
645
- export declare function removeIncentiveToken(options: RemoveIncentiveTokenOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
644
+ export declare function removeIncentiveToken(options: RemoveIncentiveTokenOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
646
645
  export interface UpdateUnlockCountdownTsMsArguments {
647
646
  version: RawTransactionArgument<string>;
648
647
  registry: RawTransactionArgument<string>;
@@ -659,7 +658,7 @@ export interface UpdateUnlockCountdownTsMsOptions {
659
658
  ];
660
659
  }
661
660
  /** [Authorized Function] Updates the unlock countdown. */
662
- export declare function updateUnlockCountdownTsMs(options: UpdateUnlockCountdownTsMsOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
661
+ export declare function updateUnlockCountdownTsMs(options: UpdateUnlockCountdownTsMsOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
663
662
  export interface UpdateIncentiveConfigArguments {
664
663
  version: RawTransactionArgument<string>;
665
664
  registry: RawTransactionArgument<string>;
@@ -681,7 +680,7 @@ export interface UpdateIncentiveConfigOptions {
681
680
  typeArguments: [string];
682
681
  }
683
682
  /** [Authorized Function] Updates the incentive configuration. */
684
- export declare function updateIncentiveConfig(options: UpdateIncentiveConfigOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
683
+ export declare function updateIncentiveConfig(options: UpdateIncentiveConfigOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
685
684
  export interface AllocateIncentiveArguments {
686
685
  version: RawTransactionArgument<string>;
687
686
  registry: RawTransactionArgument<string>;
@@ -696,7 +695,7 @@ export interface AllocateIncentiveOptions {
696
695
  ];
697
696
  }
698
697
  /** Allocates incentive to the pool. WARNING: no authority check inside */
699
- export declare function allocateIncentive(options: AllocateIncentiveOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
698
+ export declare function allocateIncentive(options: AllocateIncentiveOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
700
699
  export interface DepositIncentiveArguments {
701
700
  version: RawTransactionArgument<string>;
702
701
  registry: RawTransactionArgument<string>;
@@ -714,7 +713,7 @@ export interface DepositIncentiveOptions {
714
713
  typeArguments: [string];
715
714
  }
716
715
  /** [Authorized Function] Deposits incentive tokens. */
717
- export declare function depositIncentive(options: DepositIncentiveOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
716
+ export declare function depositIncentive(options: DepositIncentiveOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
718
717
  export interface WithdrawIncentiveArguments {
719
718
  version: RawTransactionArgument<string>;
720
719
  registry: RawTransactionArgument<string>;
@@ -732,7 +731,7 @@ export interface WithdrawIncentiveOptions {
732
731
  typeArguments: [string];
733
732
  }
734
733
  /** [Authorized Function] Withdraws incentive tokens. */
735
- export declare function withdrawIncentive(options: WithdrawIncentiveOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
734
+ export declare function withdrawIncentive(options: WithdrawIncentiveOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
736
735
  export interface StakeArguments {
737
736
  version: RawTransactionArgument<string>;
738
737
  registry: RawTransactionArgument<string>;
@@ -750,7 +749,7 @@ export interface StakeOptions {
750
749
  typeArguments: [string];
751
750
  }
752
751
  /** [User Function] Stake LP tokens. */
753
- export declare function stake(options: StakeOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
752
+ export declare function stake(options: StakeOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
754
753
  export interface UpdatePoolInfoU64PaddingArguments {
755
754
  version: RawTransactionArgument<string>;
756
755
  registry: RawTransactionArgument<string>;
@@ -769,7 +768,7 @@ export interface UpdatePoolInfoU64PaddingOptions {
769
768
  ];
770
769
  }
771
770
  /** [Authorized Function] Update TLP price for calculating staking exp */
772
- export declare function updatePoolInfoU64Padding(options: UpdatePoolInfoU64PaddingOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
771
+ export declare function updatePoolInfoU64Padding(options: UpdatePoolInfoU64PaddingOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
773
772
  export interface SnapshotArguments {
774
773
  version: RawTransactionArgument<string>;
775
774
  registry: RawTransactionArgument<string>;
@@ -788,7 +787,7 @@ export interface SnapshotOptions {
788
787
  ];
789
788
  }
790
789
  /** [User Function] Get the staking exp */
791
- export declare function snapshot(options: SnapshotOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
790
+ export declare function snapshot(options: SnapshotOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
792
791
  export interface UnsubscribeArguments {
793
792
  version: RawTransactionArgument<string>;
794
793
  registry: RawTransactionArgument<string>;
@@ -806,7 +805,7 @@ export interface UnsubscribeOptions {
806
805
  typeArguments: [string];
807
806
  }
808
807
  /** [User Function] Pre-process to unstake the TLP */
809
- export declare function unsubscribe(options: UnsubscribeOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
808
+ export declare function unsubscribe(options: UnsubscribeOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
810
809
  export interface UnstakeArguments {
811
810
  version: RawTransactionArgument<string>;
812
811
  registry: RawTransactionArgument<string>;
@@ -822,21 +821,7 @@ export interface UnstakeOptions {
822
821
  typeArguments: [string];
823
822
  }
824
823
  /** [User Function] Post-process to unstake the TLP */
825
- export declare function unstake(options: UnstakeOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
826
- export interface UpdateLastIncentivePriceIndexArguments {
827
- lpUserShare: RawTransactionArgument<string>;
828
- incentiveToken: RawTransactionArgument<string>;
829
- currentIncentiveIndex: RawTransactionArgument<number | bigint>;
830
- }
831
- export interface UpdateLastIncentivePriceIndexOptions {
832
- package?: string;
833
- arguments: UpdateLastIncentivePriceIndexArguments | [
834
- lpUserShare: RawTransactionArgument<string>,
835
- incentiveToken: RawTransactionArgument<string>,
836
- currentIncentiveIndex: RawTransactionArgument<number | bigint>
837
- ];
838
- }
839
- export declare function updateLastIncentivePriceIndex(options: UpdateLastIncentivePriceIndexOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
824
+ export declare function unstake(options: UnstakeOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
840
825
  export interface LogHarvestedAmountArguments {
841
826
  userShare: RawTransactionArgument<string>;
842
827
  incentiveValue: RawTransactionArgument<number | bigint>;
@@ -845,7 +830,7 @@ export interface LogHarvestedAmountOptions {
845
830
  package?: string;
846
831
  arguments: LogHarvestedAmountArguments | [userShare: RawTransactionArgument<string>, incentiveValue: RawTransactionArgument<number | bigint>];
847
832
  }
848
- export declare function logHarvestedAmount(options: LogHarvestedAmountOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
833
+ export declare function logHarvestedAmount(options: LogHarvestedAmountOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
849
834
  export interface HarvestPerUserShareArguments {
850
835
  version: RawTransactionArgument<string>;
851
836
  registry: RawTransactionArgument<string>;
@@ -861,30 +846,44 @@ export interface HarvestPerUserShareOptions {
861
846
  typeArguments: [string];
862
847
  }
863
848
  /** [User Function] Harvest the incentive from staking TLP */
864
- export declare function harvestPerUserShare(options: HarvestPerUserShareOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
865
- export interface CalculateIncentiveArguments {
849
+ export declare function harvestPerUserShare(options: HarvestPerUserShareOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
850
+ export interface CalculateIncentiveByIdxArguments {
866
851
  currentIncentiveIndex: RawTransactionArgument<number | bigint>;
867
- incentiveToken: RawTransactionArgument<string>;
852
+ incentiveIdx: RawTransactionArgument<number | bigint>;
868
853
  lpUserShare: RawTransactionArgument<string>;
869
854
  }
870
- export interface CalculateIncentiveOptions {
855
+ export interface CalculateIncentiveByIdxOptions {
871
856
  package?: string;
872
- arguments: CalculateIncentiveArguments | [
857
+ arguments: CalculateIncentiveByIdxArguments | [
873
858
  currentIncentiveIndex: RawTransactionArgument<number | bigint>,
874
- incentiveToken: RawTransactionArgument<string>,
859
+ incentiveIdx: RawTransactionArgument<number | bigint>,
875
860
  lpUserShare: RawTransactionArgument<string>
876
861
  ];
877
862
  }
878
- export declare function calculateIncentive(options: CalculateIncentiveOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
863
+ export declare function calculateIncentiveByIdx(options: CalculateIncentiveByIdxOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
864
+ export interface UpdateLastIncentivePriceIndexByIdxArguments {
865
+ lpUserShare: RawTransactionArgument<string>;
866
+ incentiveIdx: RawTransactionArgument<number | bigint>;
867
+ currentIncentiveIndex: RawTransactionArgument<number | bigint>;
868
+ }
869
+ export interface UpdateLastIncentivePriceIndexByIdxOptions {
870
+ package?: string;
871
+ arguments: UpdateLastIncentivePriceIndexByIdxArguments | [
872
+ lpUserShare: RawTransactionArgument<string>,
873
+ incentiveIdx: RawTransactionArgument<number | bigint>,
874
+ currentIncentiveIndex: RawTransactionArgument<number | bigint>
875
+ ];
876
+ }
877
+ export declare function updateLastIncentivePriceIndexByIdx(options: UpdateLastIncentivePriceIndexByIdxOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
879
878
  export interface HarvestProgressUpdatedArguments {
880
- current: RawTransactionArgument<string>;
881
- user: RawTransactionArgument<string>;
879
+ current: RawTransactionArgument<number | bigint[]>;
880
+ user: RawTransactionArgument<number | bigint[]>;
882
881
  }
883
882
  export interface HarvestProgressUpdatedOptions {
884
883
  package?: string;
885
- arguments: HarvestProgressUpdatedArguments | [current: RawTransactionArgument<string>, user: RawTransactionArgument<string>];
884
+ arguments: HarvestProgressUpdatedArguments | [current: RawTransactionArgument<number | bigint[]>, user: RawTransactionArgument<number | bigint[]>];
886
885
  }
887
- export declare function harvestProgressUpdated(options: HarvestProgressUpdatedOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
886
+ export declare function harvestProgressUpdated(options: HarvestProgressUpdatedOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
888
887
  export interface MultiplierArguments {
889
888
  decimal: RawTransactionArgument<number | bigint>;
890
889
  }
@@ -892,7 +891,7 @@ export interface MultiplierOptions {
892
891
  package?: string;
893
892
  arguments: MultiplierArguments | [decimal: RawTransactionArgument<number | bigint>];
894
893
  }
895
- export declare function multiplier(options: MultiplierOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
894
+ export declare function multiplier(options: MultiplierOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
896
895
  export interface GetUserSharesArguments {
897
896
  registry: RawTransactionArgument<string>;
898
897
  index: RawTransactionArgument<number | bigint>;
@@ -902,7 +901,7 @@ export interface GetUserSharesOptions {
902
901
  package?: string;
903
902
  arguments: GetUserSharesArguments | [registry: RawTransactionArgument<string>, index: RawTransactionArgument<number | bigint>, user: RawTransactionArgument<string>];
904
903
  }
905
- export declare function getUserShares(options: GetUserSharesOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
904
+ export declare function getUserShares(options: GetUserSharesOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
906
905
  export interface GetUserSharesByUserShareIdArguments {
907
906
  registry: RawTransactionArgument<string>;
908
907
  index: RawTransactionArgument<number | bigint>;
@@ -916,7 +915,7 @@ export interface GetUserSharesByUserShareIdOptions {
916
915
  userShareId: RawTransactionArgument<number | bigint>
917
916
  ];
918
917
  }
919
- export declare function getUserSharesByUserShareId(options: GetUserSharesByUserShareIdOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
918
+ export declare function getUserSharesByUserShareId(options: GetUserSharesByUserShareIdOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
920
919
  export interface GetStakePoolArguments {
921
920
  id: RawTransactionArgument<string>;
922
921
  index: RawTransactionArgument<number | bigint>;
@@ -925,7 +924,7 @@ export interface GetStakePoolOptions {
925
924
  package?: string;
926
925
  arguments: GetStakePoolArguments | [id: RawTransactionArgument<string>, index: RawTransactionArgument<number | bigint>];
927
926
  }
928
- export declare function getStakePool(options: GetStakePoolOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
927
+ export declare function getStakePool(options: GetStakePoolOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
929
928
  export interface GetMutStakePoolArguments {
930
929
  id: RawTransactionArgument<string>;
931
930
  index: RawTransactionArgument<number | bigint>;
@@ -934,7 +933,7 @@ export interface GetMutStakePoolOptions {
934
933
  package?: string;
935
934
  arguments: GetMutStakePoolArguments | [id: RawTransactionArgument<string>, index: RawTransactionArgument<number | bigint>];
936
935
  }
937
- export declare function getMutStakePool(options: GetMutStakePoolOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
936
+ export declare function getMutStakePool(options: GetMutStakePoolOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
938
937
  export interface GetIncentiveTokensArguments {
939
938
  stakePool: RawTransactionArgument<string>;
940
939
  }
@@ -942,7 +941,7 @@ export interface GetIncentiveTokensOptions {
942
941
  package?: string;
943
942
  arguments: GetIncentiveTokensArguments | [stakePool: RawTransactionArgument<string>];
944
943
  }
945
- export declare function getIncentiveTokens(options: GetIncentiveTokensOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
944
+ export declare function getIncentiveTokens(options: GetIncentiveTokensOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
946
945
  export interface GetIncentiveArguments {
947
946
  stakePool: RawTransactionArgument<string>;
948
947
  tokenType: RawTransactionArgument<string>;
@@ -951,7 +950,7 @@ export interface GetIncentiveOptions {
951
950
  package?: string;
952
951
  arguments: GetIncentiveArguments | [stakePool: RawTransactionArgument<string>, tokenType: RawTransactionArgument<string>];
953
952
  }
954
- export declare function getIncentive(options: GetIncentiveOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
953
+ export declare function getIncentive(options: GetIncentiveOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
955
954
  export interface GetMutIncentiveArguments {
956
955
  stakePool: RawTransactionArgument<string>;
957
956
  tokenType: RawTransactionArgument<string>;
@@ -960,7 +959,7 @@ export interface GetMutIncentiveOptions {
960
959
  package?: string;
961
960
  arguments: GetMutIncentiveArguments | [stakePool: RawTransactionArgument<string>, tokenType: RawTransactionArgument<string>];
962
961
  }
963
- export declare function getMutIncentive(options: GetMutIncentiveOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
962
+ export declare function getMutIncentive(options: GetMutIncentiveOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
964
963
  export interface RemoveIncentiveArguments {
965
964
  stakePool: RawTransactionArgument<string>;
966
965
  tokenType: RawTransactionArgument<string>;
@@ -969,7 +968,17 @@ export interface RemoveIncentiveOptions {
969
968
  package?: string;
970
969
  arguments: RemoveIncentiveArguments | [stakePool: RawTransactionArgument<string>, tokenType: RawTransactionArgument<string>];
971
970
  }
972
- export declare function removeIncentive(options: RemoveIncentiveOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
971
+ export declare function removeIncentive(options: RemoveIncentiveOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
972
+ export interface GetIncentiveIdxArguments {
973
+ stakePool: RawTransactionArgument<string>;
974
+ tokenType: RawTransactionArgument<string>;
975
+ }
976
+ export interface GetIncentiveIdxOptions {
977
+ package?: string;
978
+ arguments: GetIncentiveIdxArguments | [stakePool: RawTransactionArgument<string>, tokenType: RawTransactionArgument<string>];
979
+ }
980
+ /** Get incentive index by token type, returns None if not found */
981
+ export declare function getIncentiveIdx(options: GetIncentiveIdxOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
973
982
  export interface GetLastIncentivePriceIndexArguments {
974
983
  stakePool: RawTransactionArgument<string>;
975
984
  }
@@ -977,7 +986,7 @@ export interface GetLastIncentivePriceIndexOptions {
977
986
  package?: string;
978
987
  arguments: GetLastIncentivePriceIndexArguments | [stakePool: RawTransactionArgument<string>];
979
988
  }
980
- export declare function getLastIncentivePriceIndex(options: GetLastIncentivePriceIndexOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
989
+ export declare function getLastIncentivePriceIndex(options: GetLastIncentivePriceIndexOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
981
990
  export interface CheckStakePoolActiveArguments {
982
991
  stakePool: RawTransactionArgument<string>;
983
992
  }
@@ -985,4 +994,4 @@ export interface CheckStakePoolActiveOptions {
985
994
  package?: string;
986
995
  arguments: CheckStakePoolActiveArguments | [stakePool: RawTransactionArgument<string>];
987
996
  }
988
- export declare function checkStakePoolActive(options: CheckStakePoolActiveOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
997
+ export declare function checkStakePoolActive(options: CheckStakePoolActiveOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;