@meteora-ag/dlmm 1.6.0-rc.14 → 1.6.0-rc.15
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.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -13072,6 +13072,7 @@ function findBaseDeltaX(amountX, minDeltaId, maxDeltaId, binStep, activeId, minX
|
|
|
13072
13072
|
const cDelta = new BN15(m).mul(pm);
|
|
13073
13073
|
c = c.add(cDelta);
|
|
13074
13074
|
}
|
|
13075
|
+
console.log(amountX.toString(), minX0.toString(), b.toString(), c.toString());
|
|
13075
13076
|
return amountX.sub(minX0).shln(SCALE_OFFSET).div(c.sub(b));
|
|
13076
13077
|
}
|
|
13077
13078
|
function findX0AndDeltaX(amountX, minDeltaId, maxDeltaId, binStep, activeId) {
|