@haven-fi/solauto-sdk 1.0.467 → 1.0.468

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.
@@ -76,8 +76,8 @@ function getDebtAdjustmentUsd(liqThresholdBps, supplyUsd, debtUsd, targetLiqUtil
76
76
  function getSolautoFeesBps(isReferred, targetLiqUtilizationRateBps, positionNetWorthUsd, rebalanceDirection) {
77
77
  const minSize = 10000; // Minimum position size
78
78
  const maxSize = 500000; // Maximum position size
79
- const maxFeeBps = 200; // Fee in basis points for minSize (2%)
80
- const minFeeBps = 50; // Fee in basis points for maxSize (0.5%)
79
+ const maxFeeBps = 100; // Fee in basis points for minSize (1%)
80
+ const minFeeBps = 25; // Fee in basis points for maxSize (0.25%)
81
81
  const k = 1.5;
82
82
  if (targetLiqUtilizationRateBps !== undefined &&
83
83
  targetLiqUtilizationRateBps === 0) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haven-fi/solauto-sdk",
3
- "version": "1.0.467",
3
+ "version": "1.0.468",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "description": "Typescript SDK for the Solauto program on the Solana blockchain",
@@ -105,8 +105,8 @@ export function getSolautoFeesBps(
105
105
  } {
106
106
  const minSize = 10_000; // Minimum position size
107
107
  const maxSize = 500_000; // Maximum position size
108
- const maxFeeBps = 200; // Fee in basis points for minSize (2%)
109
- const minFeeBps = 50; // Fee in basis points for maxSize (0.5%)
108
+ const maxFeeBps = 100; // Fee in basis points for minSize (1%)
109
+ const minFeeBps = 25; // Fee in basis points for maxSize (0.25%)
110
110
  const k = 1.5;
111
111
 
112
112
  if (