@haven-fi/solauto-sdk 1.0.131 → 1.0.133
Sign up to get free protection for your applications and to get access to all the features.
@@ -74,7 +74,7 @@ function getSolautoFeesBps(isReferred, targetLiqUtilizationRateBps, positionNetW
|
|
74
74
|
const k = 1.5;
|
75
75
|
let feeBps = 0;
|
76
76
|
if (targetLiqUtilizationRateBps !== undefined) {
|
77
|
-
feeBps =
|
77
|
+
feeBps = 25;
|
78
78
|
}
|
79
79
|
else if (positionNetWorthUsd <= minSize) {
|
80
80
|
feeBps = maxFeeBps;
|
package/package.json
CHANGED
package/src/utils/numberUtils.ts
CHANGED
@@ -104,7 +104,7 @@ export function getSolautoFeesBps(
|
|
104
104
|
let feeBps: number = 0;
|
105
105
|
|
106
106
|
if (targetLiqUtilizationRateBps !== undefined) {
|
107
|
-
feeBps =
|
107
|
+
feeBps = 25;
|
108
108
|
} else if (positionNetWorthUsd <= minSize) {
|
109
109
|
feeBps = maxFeeBps;
|
110
110
|
} else if (positionNetWorthUsd >= maxSize) {
|