@magmaprotocol/magma-clmm-sdk 0.5.43 → 0.5.44

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
@@ -2814,7 +2814,7 @@ var BinMath = class {
2814
2814
  static getPriceOfBinByBinId(binId, binStep, decimalsA, decimalsB) {
2815
2815
  const twoDec = new import_decimal9.default(2);
2816
2816
  const price = new import_decimal9.default((0, import_calc_dlmm2.get_price_from_real_id)(binId, binStep));
2817
- return price.div(twoDec.pow(128)).mul(import_decimal9.default.pow(10, decimalsB - decimalsA));
2817
+ return price.div(twoDec.pow(128)).mul(import_decimal9.default.pow(10, decimalsA - decimalsB));
2818
2818
  }
2819
2819
  };
2820
2820