@haven-fi/solauto-sdk 1.0.87 → 1.0.88

Sign up to get free protection for your applications and to get access to all the features.
@@ -70,8 +70,8 @@ function getDebtAdjustmentUsd(liqThresholdBps, supplyUsd, debtUsd, targetLiqUtil
70
70
  function getSolautoFeesBps(isReferred, feeType, positionNetWorthUsd) {
71
71
  const minSize = 10000; // Minimum position size
72
72
  const maxSize = 1000000; // Maximum position size
73
- const maxFeeBps = 500; // Fee in basis points for minSize (5%)
74
- const minFeeBps = 100; // Fee in basis points for maxSize (1%)
73
+ const maxFeeBps = 300; // Fee in basis points for minSize (5%)
74
+ const minFeeBps = 50; // Fee in basis points for maxSize (1%)
75
75
  let feeBps = 0;
76
76
  if (feeType === generated_1.FeeType.Small) {
77
77
  feeBps = 100;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haven-fi/solauto-sdk",
3
- "version": "1.0.87",
3
+ "version": "1.0.88",
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",
@@ -98,8 +98,8 @@ export function getSolautoFeesBps(
98
98
  } {
99
99
  const minSize = 10000; // Minimum position size
100
100
  const maxSize = 1000000; // Maximum position size
101
- const maxFeeBps = 500; // Fee in basis points for minSize (5%)
102
- const minFeeBps = 100; // Fee in basis points for maxSize (1%)
101
+ const maxFeeBps = 300; // Fee in basis points for minSize (5%)
102
+ const minFeeBps = 50; // Fee in basis points for maxSize (1%)
103
103
 
104
104
  let feeBps: number = 0;
105
105
  if (feeType === FeeType.Small) {