@meteora-ag/cp-amm-sdk 1.0.1-rc.35 → 1.0.1-rc.37
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/dist/index.d.mts +8 -3
- package/dist/index.d.ts +8 -3
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -6846,8 +6846,8 @@ function getFeeNumerator(currentPoint, activationPoint, numberOfPeriod, periodFr
|
|
|
6846
6846
|
const { volatilityAccumulator, binStep, variableFeeControl } = dynamicFeeParams;
|
|
6847
6847
|
const dynamicFeeNumberator = getDynamicFeeNumerator(
|
|
6848
6848
|
volatilityAccumulator,
|
|
6849
|
-
binStep,
|
|
6850
|
-
variableFeeControl
|
|
6849
|
+
new BN5(binStep),
|
|
6850
|
+
new BN5(variableFeeControl)
|
|
6851
6851
|
);
|
|
6852
6852
|
feeNumerator.add(dynamicFeeNumberator);
|
|
6853
6853
|
}
|