@magmaprotocol/magma-clmm-sdk 0.5.48 → 0.5.49

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
@@ -2819,7 +2819,7 @@ var BinMath = class {
2819
2819
  static getBinIdFromPrice(price, binStep, decimalsA, decimalsB) {
2820
2820
  const twoDec = new import_decimal9.default(2);
2821
2821
  const tenDec = new import_decimal9.default(10);
2822
- const realid = (0, import_calc_dlmm2.get_real_id_from_price_x128)(new import_decimal9.default(price).mul(tenDec.pow(decimalsB - decimalsB)).mul(twoDec.pow(128)).toDecimalPlaces(0).toString(), binStep);
2822
+ const realid = (0, import_calc_dlmm2.get_real_id_from_price_x128)(new import_decimal9.default(price).mul(tenDec.pow(decimalsB - decimalsA)).mul(twoDec.pow(128)).toDecimalPlaces(0).toString(), binStep);
2823
2823
  return realid;
2824
2824
  }
2825
2825
  };