turbos-farming-sdk 0.0.2 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/dist/esm/index.js +9 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.mts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +9 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
# [0.2.0](https://github.com/turbos-finance/turbos-farming-sdk/compare/0.1.0...0.2.0) (2026-06-02)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* upgrade testnet packageid ([1893980](https://github.com/turbos-finance/turbos-farming-sdk/commit/189398046ac019e6ca9f9566b4b3e0ca73110701))
|
|
9
|
+
|
|
10
|
+
# [0.1.0](https://github.com/turbos-finance/turbos-farming-sdk/compare/0.0.2...0.1.0) (2026-06-02)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* upgrade testnet packageid ([82c260b](https://github.com/turbos-finance/turbos-farming-sdk/commit/82c260b1abce4de666f0001e4fd4eab046ed7238))
|
|
16
|
+
|
|
3
17
|
## 0.0.2 (2026-05-29)
|
|
4
18
|
|
|
5
19
|
# [0.7.0](https://github.com/turbos-finance/turbos-omm-sdk-sdk/compare/0.6.0...0.7.0) (2026-02-12)
|
package/dist/esm/index.js
CHANGED
|
@@ -26,8 +26,8 @@ __export(acl_exports, {
|
|
|
26
26
|
var testnetEnv = {
|
|
27
27
|
packages: {
|
|
28
28
|
"turbos-farming": {
|
|
29
|
-
originalId: "
|
|
30
|
-
publishedAt: "
|
|
29
|
+
originalId: "0xbd0605b5854e993a0a627f2b7e1fa3e8a7e94348d0ca4d6bcb5b470997a562a",
|
|
30
|
+
publishedAt: "0x9f0031a6aa57bf673254d2e0ed1c844f4711f3cd2eda9bbaf042b4ea265fd29",
|
|
31
31
|
typeOrigins: {
|
|
32
32
|
"acl::ACL": "0xbd0605b5854e3993a0a627f2b7e1fa3e8a7e94348d0ca4d6bcb5b470997a562a",
|
|
33
33
|
"acl::Member": "0xbd0605b5854e3993a0a627f2b7e1fa3e8a7e94348d0ca4d6bcb5b470997a562a",
|
|
@@ -3971,6 +3971,7 @@ __export(pool_exports, {
|
|
|
3971
3971
|
addLiquidity: () => addLiquidity,
|
|
3972
3972
|
addLiquidityFixCoin: () => addLiquidityFixCoin,
|
|
3973
3973
|
addRewarder: () => addRewarder,
|
|
3974
|
+
amountDesiredForRequestedLiquidity: () => amountDesiredForRequestedLiquidity,
|
|
3974
3975
|
assertPositionLiquidityValid: () => assertPositionLiquidityValid,
|
|
3975
3976
|
borrowPoolRewarders: () => borrowPoolRewarders,
|
|
3976
3977
|
borrowPositionNft: () => borrowPositionNft,
|
|
@@ -4061,6 +4062,12 @@ function addLiquidity(tx, typeArgs, args) {
|
|
|
4061
4062
|
]
|
|
4062
4063
|
});
|
|
4063
4064
|
}
|
|
4065
|
+
function amountDesiredForRequestedLiquidity(tx, amountFloor) {
|
|
4066
|
+
return tx.moveCall({
|
|
4067
|
+
target: `${getPublishedAt("turbos-farming")}::pool::amount_desired_for_requested_liquidity`,
|
|
4068
|
+
arguments: [pure(tx, amountFloor, `u128`)]
|
|
4069
|
+
});
|
|
4070
|
+
}
|
|
4064
4071
|
function addLiquidityFixCoin(tx, typeArgs, args) {
|
|
4065
4072
|
return tx.moveCall({
|
|
4066
4073
|
target: `${getPublishedAt("turbos-farming")}::pool::add_liquidity_fix_coin`,
|