@meteora-ag/dlmm 1.6.0-rc.13 → 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 CHANGED
@@ -13072,6 +13072,7 @@ function findBaseDeltaX(amountX, minDeltaId, maxDeltaId, binStep, activeId, minX
13072
13072
  const cDelta = new (0, _bnjs2.default)(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) {
@@ -18180,6 +18181,7 @@ var DLMM = class {
18180
18181
  withdraws,
18181
18182
  deposits
18182
18183
  );
18184
+ console.log("\u{1F680} ~ DLMM ~ simulationResult:", simulationResult);
18183
18185
  return {
18184
18186
  rebalancePosition,
18185
18187
  simulationResult