aftermath-ts-sdk 1.2.63 → 1.2.64-docs.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 (117) hide show
  1. package/README.md +61 -27
  2. package/dist/general/dynamicGas/dynamicGas.d.ts +34 -0
  3. package/dist/general/dynamicGas/dynamicGas.d.ts.map +1 -1
  4. package/dist/general/dynamicGas/dynamicGas.js +34 -0
  5. package/dist/general/dynamicGas/dynamicGasTypes.d.ts +25 -0
  6. package/dist/general/dynamicGas/dynamicGasTypes.d.ts.map +1 -1
  7. package/dist/general/prices/prices.d.ts +73 -0
  8. package/dist/general/prices/prices.d.ts.map +1 -1
  9. package/dist/general/prices/prices.js +73 -0
  10. package/dist/general/providers/aftermath.d.ts +106 -25
  11. package/dist/general/providers/aftermath.d.ts.map +1 -1
  12. package/dist/general/providers/aftermath.js +108 -27
  13. package/dist/general/providers/aftermathApi.d.ts +127 -8
  14. package/dist/general/providers/aftermathApi.d.ts.map +1 -1
  15. package/dist/general/providers/aftermathApi.js +132 -12
  16. package/dist/general/types/castingTypes.d.ts +0 -7
  17. package/dist/general/types/castingTypes.d.ts.map +1 -1
  18. package/dist/general/types/castingTypes.js +6 -0
  19. package/dist/general/types/generalTypes.d.ts +228 -7
  20. package/dist/general/types/generalTypes.d.ts.map +1 -1
  21. package/dist/general/types/suiTypes.d.ts +0 -16
  22. package/dist/general/types/suiTypes.d.ts.map +1 -1
  23. package/dist/general/types/suiTypes.js +3 -25
  24. package/dist/general/utils/casting.d.ts +159 -3
  25. package/dist/general/utils/casting.d.ts.map +1 -1
  26. package/dist/general/utils/casting.js +162 -16
  27. package/dist/general/utils/fixedUtils.d.ts +89 -2
  28. package/dist/general/utils/fixedUtils.d.ts.map +1 -1
  29. package/dist/general/utils/fixedUtils.js +81 -4
  30. package/dist/general/utils/helpers.d.ts +320 -9
  31. package/dist/general/utils/helpers.d.ts.map +1 -1
  32. package/dist/general/utils/helpers.js +350 -89
  33. package/dist/general/utils/iFixedUtils.d.ts +64 -0
  34. package/dist/general/utils/iFixedUtils.d.ts.map +1 -1
  35. package/dist/general/utils/iFixedUtils.js +64 -0
  36. package/dist/general/wallet/wallet.d.ts +75 -0
  37. package/dist/general/wallet/wallet.d.ts.map +1 -1
  38. package/dist/general/wallet/wallet.js +75 -5
  39. package/dist/packages/auth/auth.d.ts +113 -0
  40. package/dist/packages/auth/auth.d.ts.map +1 -1
  41. package/dist/packages/auth/auth.js +129 -15
  42. package/dist/packages/auth/authTypes.d.ts +66 -0
  43. package/dist/packages/auth/authTypes.d.ts.map +1 -1
  44. package/dist/packages/coin/api/coinApi.d.ts.map +1 -1
  45. package/dist/packages/coin/api/coinApi.js +28 -20
  46. package/dist/packages/coin/coin.d.ts +250 -0
  47. package/dist/packages/coin/coin.d.ts.map +1 -1
  48. package/dist/packages/coin/coin.js +238 -14
  49. package/dist/packages/coin/coinTypes.d.ts +93 -0
  50. package/dist/packages/coin/coinTypes.d.ts.map +1 -1
  51. package/dist/packages/dca/dca.d.ts +124 -35
  52. package/dist/packages/dca/dca.d.ts.map +1 -1
  53. package/dist/packages/dca/dca.js +127 -37
  54. package/dist/packages/dca/dcaTypes.d.ts +213 -28
  55. package/dist/packages/dca/dcaTypes.d.ts.map +1 -1
  56. package/dist/packages/farms/farms.d.ts +184 -1
  57. package/dist/packages/farms/farms.d.ts.map +1 -1
  58. package/dist/packages/farms/farms.js +185 -11
  59. package/dist/packages/farms/farmsStakedPosition.d.ts +140 -6
  60. package/dist/packages/farms/farmsStakedPosition.d.ts.map +1 -1
  61. package/dist/packages/farms/farmsStakedPosition.js +189 -144
  62. package/dist/packages/farms/farmsStakingPool.d.ts +161 -1
  63. package/dist/packages/farms/farmsStakingPool.d.ts.map +1 -1
  64. package/dist/packages/farms/farmsStakingPool.js +176 -70
  65. package/dist/packages/farms/farmsTypes.d.ts +283 -2
  66. package/dist/packages/farms/farmsTypes.d.ts.map +1 -1
  67. package/dist/packages/farms/farmsTypes.js +18 -0
  68. package/dist/packages/limitOrders/limitOrders.d.ts +108 -21
  69. package/dist/packages/limitOrders/limitOrders.d.ts.map +1 -1
  70. package/dist/packages/limitOrders/limitOrders.js +110 -22
  71. package/dist/packages/limitOrders/limitOrdersTypes.d.ts +142 -0
  72. package/dist/packages/limitOrders/limitOrdersTypes.d.ts.map +1 -1
  73. package/dist/packages/multisig/multisig.d.ts +33 -4
  74. package/dist/packages/multisig/multisig.d.ts.map +1 -1
  75. package/dist/packages/multisig/multisig.js +33 -4
  76. package/dist/packages/multisig/multisigTypes.d.ts +17 -0
  77. package/dist/packages/multisig/multisigTypes.d.ts.map +1 -1
  78. package/dist/packages/perpetuals/api/perpetualsApi.d.ts.map +1 -1
  79. package/dist/packages/pools/pool.d.ts +327 -85
  80. package/dist/packages/pools/pool.d.ts.map +1 -1
  81. package/dist/packages/pools/pool.js +333 -91
  82. package/dist/packages/pools/pools.d.ts +299 -37
  83. package/dist/packages/pools/pools.d.ts.map +1 -1
  84. package/dist/packages/pools/pools.js +306 -52
  85. package/dist/packages/pools/poolsTypes.d.ts +273 -8
  86. package/dist/packages/pools/poolsTypes.d.ts.map +1 -1
  87. package/dist/packages/referralVault/referralVault.d.ts +37 -0
  88. package/dist/packages/referralVault/referralVault.d.ts.map +1 -1
  89. package/dist/packages/referralVault/referralVault.js +37 -0
  90. package/dist/packages/router/router.d.ts +213 -17
  91. package/dist/packages/router/router.d.ts.map +1 -1
  92. package/dist/packages/router/router.js +214 -18
  93. package/dist/packages/router/routerTypes.d.ts +198 -14
  94. package/dist/packages/router/routerTypes.d.ts.map +1 -1
  95. package/dist/packages/staking/staking.d.ts +301 -43
  96. package/dist/packages/staking/staking.d.ts.map +1 -1
  97. package/dist/packages/staking/staking.js +308 -51
  98. package/dist/packages/staking/stakingTypes.d.ts +426 -6
  99. package/dist/packages/staking/stakingTypes.d.ts.map +1 -1
  100. package/dist/packages/staking/stakingTypes.js +19 -0
  101. package/dist/packages/sui/sui.d.ts +39 -0
  102. package/dist/packages/sui/sui.d.ts.map +1 -1
  103. package/dist/packages/sui/sui.js +39 -0
  104. package/dist/packages/userData/userData.d.ts +66 -12
  105. package/dist/packages/userData/userData.d.ts.map +1 -1
  106. package/dist/packages/userData/userData.js +66 -12
  107. package/dist/packages/userData/userDataTypes.d.ts +19 -0
  108. package/dist/packages/userData/userDataTypes.d.ts.map +1 -1
  109. package/dist/types.d.ts.map +1 -1
  110. package/dist/types.js +0 -1
  111. package/package.json +1 -1
  112. package/dist/general/historicalData/historicalData.d.ts +0 -15
  113. package/dist/general/historicalData/historicalData.d.ts.map +0 -1
  114. package/dist/general/historicalData/historicalData.js +0 -45
  115. package/dist/general/historicalData/historicalDataTypes.d.ts +0 -10
  116. package/dist/general/historicalData/historicalDataTypes.d.ts.map +0 -1
  117. package/dist/general/historicalData/historicalDataTypes.js +0 -2
@@ -2,44 +2,158 @@ import { Apr, Balance, CallerConfig, CoinType, CoinsToDecimals, CoinsToPrice, Ob
2
2
  import { Caller } from "../../general/utils/caller";
3
3
  import { ApiFarmsGrantOneTimeAdminCapBody, FarmOwnerOrOneTimeAdminCap, FarmsMultiplier, FarmsStakingPoolObject, FarmsStakingPoolRewardCoin, FarmsVersion } from "./farmsTypes";
4
4
  import { AftermathApi } from "../../general/providers";
5
+ /**
6
+ * The `FarmsStakingPool` class represents a staking pool (also referred
7
+ * to as a "vault" in some contexts). It allows reading details about
8
+ * emission schedules, reward tokens, stake coin type, and lock durations,
9
+ * as well as constructing transactions to stake, harvest, and mutate the
10
+ * pool parameters if the user has the correct admin privileges.
11
+ */
5
12
  export declare class FarmsStakingPool extends Caller {
6
13
  stakingPool: FarmsStakingPoolObject;
7
14
  private readonly Provider?;
15
+ /**
16
+ * Creates a `FarmsStakingPool` instance based on on-chain pool data.
17
+ *
18
+ * @param stakingPool - The on-chain data object describing the pool.
19
+ * @param config - An optional `CallerConfig` for network settings.
20
+ * @param Provider - An optional `AftermathApi` for transaction building.
21
+ */
8
22
  constructor(stakingPool: FarmsStakingPoolObject, config?: CallerConfig, Provider?: AftermathApi | undefined);
23
+ /**
24
+ * Fetches the total value locked (TVL) for this staking pool alone.
25
+ *
26
+ * @returns A `number` representing this pool's TVL in USD (or another currency).
27
+ *
28
+ * @example
29
+ * ```typescript
30
+ * const poolTvl = await someFarmsPool.getTVL();
31
+ * console.log(poolTvl);
32
+ * ```
33
+ */
9
34
  getTVL(): Promise<number>;
35
+ /**
36
+ * Fetches the total value locked (TVL) of the reward coins in this specific staking pool.
37
+ *
38
+ * @returns A `number` representing this pool's reward TVL.
39
+ *
40
+ * @example
41
+ * ```typescript
42
+ * const rewardTvl = await someFarmsPool.getRewardsTVL();
43
+ * console.log(rewardTvl);
44
+ * ```
45
+ */
10
46
  getRewardsTVL(): Promise<number>;
47
+ /**
48
+ * Retrieves the version of this staking pool (1 or 2).
49
+ */
11
50
  version: () => FarmsVersion;
51
+ /**
52
+ * Lists all reward coin types offered by this staking pool.
53
+ *
54
+ * @returns An array of `CoinType` strings.
55
+ */
12
56
  rewardCoinTypes: () => CoinType[];
57
+ /**
58
+ * Lists all reward coin types for which this pool currently has a non-zero actual reward balance.
59
+ *
60
+ * @returns An array of `CoinType` strings that have > 0 actual rewards.
61
+ */
13
62
  nonZeroRewardCoinTypes: () => CoinType[];
63
+ /**
64
+ * Retrieves the on-chain record for a specific reward coin type in this pool.
65
+ *
66
+ * @param inputs - Contains the `coinType` to look up.
67
+ * @throws If the specified coinType is not found in `rewardCoins`.
68
+ * @returns A `FarmsStakingPoolRewardCoin` object.
69
+ */
14
70
  rewardCoin: (inputs: {
15
71
  coinType: CoinType;
16
72
  }) => FarmsStakingPoolRewardCoin;
73
+ /**
74
+ * Computes the maximum lock duration (in ms) that remains valid in this staking pool,
75
+ * factoring in the current time and the pool's emission end.
76
+ *
77
+ * @returns The maximum possible lock duration in milliseconds, or 0 if the pool is effectively closed.
78
+ */
17
79
  maxLockDurationMs: () => number;
80
+ /**
81
+ * Calculates and applies newly emitted rewards for each reward coin in this pool,
82
+ * updating the `rewardsAccumulatedPerShare`. This simulates the on-chain
83
+ * `emitRewards` logic.
84
+ *
85
+ * @example
86
+ * ```typescript
87
+ * someFarmsPool.emitRewards();
88
+ * // The pool's rewardsAccumulatedPerShare fields are now updated.
89
+ * ```
90
+ */
18
91
  emitRewards: () => void;
92
+ /**
93
+ * Computes an approximate APR for a specific reward coin, based on the current
94
+ * emission rate, coin price, pool TVL, and the lock multiplier range. This assumes
95
+ * maximum lock multiplier for the final APR result.
96
+ *
97
+ * @param inputs - Includes the `coinType`, its `price` and `decimals`, plus the total `tvlUsd` in the pool.
98
+ * @returns A numeric APR (0.05 = 5%).
99
+ */
19
100
  calcApr: (inputs: {
20
101
  coinType: CoinType;
21
102
  price: number;
22
103
  decimals: number;
23
104
  tvlUsd: number;
24
105
  }) => Apr;
106
+ /**
107
+ * Computes the total APR contributed by all reward coin types in this pool, summing
108
+ * up the individual APR for each coin type. This also assumes max lock multiplier.
109
+ *
110
+ * @param inputs - Contains price data (`coinsToPrice`), decimal data (`coinsToDecimals`), and the total TVL in USD.
111
+ * @returns The sum of all coin APRs (0.10 = 10%).
112
+ */
25
113
  calcTotalApr: (inputs: {
26
114
  coinsToPrice: CoinsToPrice;
27
115
  coinsToDecimals: CoinsToDecimals;
28
116
  tvlUsd: number;
29
117
  }) => Apr;
118
+ /**
119
+ * Given a lock duration in ms, calculates the lock multiplier to be used by staked positions.
120
+ * This function clamps the input duration between the pool's `minLockDurationMs` and
121
+ * `maxLockDurationMs`.
122
+ *
123
+ * @param inputs - An object containing the `lockDurationMs` for which to calculate a multiplier.
124
+ * @returns A `FarmsMultiplier` (bigint) representing the scaled factor (1.0 = 1e9 if using fixedOneB).
125
+ */
30
126
  calcMultiplier: (inputs: {
31
127
  lockDurationMs: number;
32
128
  }) => FarmsMultiplier;
129
+ /**
130
+ * Builds a transaction to stake tokens into this pool, optionally locking them.
131
+ *
132
+ * @param inputs - Contains `stakeAmount`, `lockDurationMs`, `walletAddress`, and optional sponsorship.
133
+ * @returns A transaction object (or bytes) that can be signed and executed to create a staked position.
134
+ */
33
135
  getStakeTransaction(inputs: {
34
136
  stakeAmount: Balance;
35
137
  lockDurationMs: Timestamp;
36
138
  walletAddress: SuiAddress;
37
139
  isSponsoredTx?: boolean;
38
140
  }): Promise<import("@mysten/sui/transactions").Transaction>;
141
+ /**
142
+ * Builds a transaction to harvest rewards from multiple staked positions in this pool.
143
+ *
144
+ * @param inputs - Contains `stakedPositionIds`, the `walletAddress`, and optionally any others.
145
+ * @returns A transaction that can be signed and executed to claim rewards from multiple positions.
146
+ */
39
147
  getHarvestRewardsTransaction(inputs: {
40
148
  stakedPositionIds: ObjectId[];
41
149
  walletAddress: SuiAddress;
42
150
  }): Promise<import("@mysten/sui/transactions").Transaction>;
151
+ /**
152
+ * Builds a transaction to increase the emission rate (or schedule) for specific reward coins.
153
+ *
154
+ * @param inputs - Contains the `ownerCapId` that authorizes changes, plus an array of `rewards` with new emission details.
155
+ * @returns A transaction to be signed and executed by the owner cap holder.
156
+ */
43
157
  getIncreaseRewardsEmissionsTransaction(inputs: {
44
158
  ownerCapId: ObjectId;
45
159
  rewards: {
@@ -49,12 +163,32 @@ export declare class FarmsStakingPool extends Caller {
49
163
  }[];
50
164
  walletAddress: SuiAddress;
51
165
  }): Promise<import("@mysten/sui/transactions").Transaction>;
166
+ /**
167
+ * Builds a transaction to update the pool's minimum stake amount, only authorized by the `ownerCapId`.
168
+ *
169
+ * @param inputs - Contains the new `minStakeAmount`, the `ownerCapId`, and the calling `walletAddress`.
170
+ * @returns A transaction that can be signed and executed to change the minimum stake requirement.
171
+ */
52
172
  getUpdateMinStakeAmountTransaction(inputs: {
53
173
  ownerCapId: ObjectId;
54
174
  minStakeAmount: bigint;
55
175
  walletAddress: SuiAddress;
56
176
  }): Promise<import("@mysten/sui/transactions").Transaction>;
177
+ /**
178
+ * Builds a transaction granting a one-time admin cap to another address, allowing them to perform specific
179
+ * one-time administrative actions (like initializing a reward).
180
+ *
181
+ * @param inputs - Body containing the `ownerCapId`, the `recipientAddress`, and the `rewardCoinType`.
182
+ * @returns A transaction to be executed by the current pool owner.
183
+ */
57
184
  getGrantOneTimeAdminCapTransaction(inputs: ApiFarmsGrantOneTimeAdminCapBody): import("@mysten/sui/transactions").Transaction;
185
+ /**
186
+ * Builds a transaction to initialize a new reward coin in this pool, specifying the amount, emission rate,
187
+ * and schedule parameters. This can be done by either the `ownerCapId` or a `oneTimeAdminCapId`.
188
+ *
189
+ * @param inputs - Contains emission info (rate, schedule) and which cap is used (`ownerCapId` or `oneTimeAdminCapId`).
190
+ * @returns A transaction object for the reward initialization.
191
+ */
58
192
  getInitializeRewardTransaction(inputs: {
59
193
  rewardAmount: Balance;
60
194
  emissionScheduleMs: Timestamp;
@@ -64,6 +198,13 @@ export declare class FarmsStakingPool extends Caller {
64
198
  walletAddress: SuiAddress;
65
199
  isSponsoredTx?: boolean;
66
200
  } & FarmOwnerOrOneTimeAdminCap): Promise<import("@mysten/sui/transactions").Transaction>;
201
+ /**
202
+ * Builds a transaction to add more reward coins (top-up) to an existing reward
203
+ * coin configuration, either as the owner or via a one-time admin cap.
204
+ *
205
+ * @param inputs - Contains an array of reward objects, each specifying amount and coin type.
206
+ * @returns A transaction that can be signed and executed to increase the reward distribution pool.
207
+ */
67
208
  getTopUpRewardsTransaction(inputs: {
68
209
  rewards: {
69
210
  rewardAmount: Balance;
@@ -72,10 +213,29 @@ export declare class FarmsStakingPool extends Caller {
72
213
  walletAddress: SuiAddress;
73
214
  isSponsoredTx?: boolean;
74
215
  } & FarmOwnerOrOneTimeAdminCap): Promise<import("@mysten/sui/transactions").Transaction>;
216
+ /**
217
+ * Updates `rewardsAccumulatedPerShare` by distributing `rewardsToEmit` among
218
+ * the total staked amount with multiplier. This mimics on-chain distribution logic.
219
+ *
220
+ * @param inputs - Contains the `rewardsToEmit` and which `rewardCoinIndex` to update.
221
+ */
75
222
  private increaseRewardsAccumulatedPerShare;
76
- private rewardsRemaining;
223
+ /**
224
+ * Computes how many rewards to emit based on the time since `lastRewardTimestamp` and
225
+ * the pool's emission schedule, clamped by the total `rewardsRemaining`.
226
+ */
77
227
  private calcRewardsToEmit;
228
+ /**
229
+ * Calculates how many tokens were emitted between two timestamps (Tm and Tn) for a given reward coin,
230
+ * based on the discrete `emissionRate` and `emissionSchedulesMs`.
231
+ *
232
+ * @param inputs - Contains `timestampTm`, `timestampTn`, and the relevant `rewardCoin`.
233
+ * @returns The total number of tokens emitted in that time window.
234
+ */
78
235
  private calcRewardsEmittedFromTimeTmToTn;
236
+ /**
237
+ * Provides access to the farm-specific provider methods for building transactions.
238
+ */
79
239
  private useProvider;
80
240
  }
81
241
  //# sourceMappingURL=farmsStakingPool.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"farmsStakingPool.d.ts","sourceRoot":"","sources":["../../../src/packages/farms/farmsStakingPool.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,GAAG,EACH,OAAO,EACP,YAAY,EACZ,QAAQ,EACR,eAAe,EACf,YAAY,EACZ,QAAQ,EACR,UAAU,EAEV,SAAS,EAET,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EACN,gCAAgC,EAKhC,0BAA0B,EAE1B,eAAe,EACf,sBAAsB,EACtB,0BAA0B,EAC1B,YAAY,EACZ,MAAM,cAAc,CAAC;AAMtB,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAGvD,qBAAa,gBAAiB,SAAQ,MAAM;IAMnC,WAAW,EAAE,sBAAsB;IAE1C,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAC;gBAFnB,WAAW,EAAE,sBAAsB,EAC1C,MAAM,CAAC,EAAE,YAAY,EACJ,QAAQ,CAAC,0BAAc;IAe5B,MAAM,IAAI,OAAO,CAAC,MAAM,CAAC;IAMzB,aAAa,IAAI,OAAO,CAAC,MAAM,CAAC;IAUtC,OAAO,QAAO,YAAY,CAE/B;IAEK,eAAe,Q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