@magmaprotocol/magma-clmm-sdk 0.5.101 → 0.5.103

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.mjs CHANGED
@@ -1913,8 +1913,8 @@ function toWeightSpotBalanced(minBinId, maxBinId) {
1913
1913
  }
1914
1914
  return distributions;
1915
1915
  }
1916
- var DEFAULT_MAX_WEIGHT = 2e3;
1917
- var DEFAULT_MIN_WEIGHT = 200;
1916
+ var DEFAULT_MAX_WEIGHT = 2e12;
1917
+ var DEFAULT_MIN_WEIGHT = 2e11;
1918
1918
  function toWeightCurve(minBinId, maxBinId, activeId) {
1919
1919
  if (activeId < minBinId || activeId > maxBinId) {
1920
1920
  throw new ClmmpoolsError("Invalid strategy params", "InvalidParams" /* InvalidParams */);
@@ -10455,7 +10455,7 @@ var AlmmModule = class {
10455
10455
  coin_a: fields.x.fields.name,
10456
10456
  coin_b: fields.y.fields.name,
10457
10457
  base_factor: fields.params.fields.base_factor,
10458
- base_fee: fields.params.fields.base_factor / 1e4 * (fields.bin_step / 1e4),
10458
+ base_fee: fields.params.fields.base_factor * fields.bin_step / 1e9,
10459
10459
  active_index: fields.params.fields.active_index,
10460
10460
  real_bin_id: get_real_id(fields.params.fields.active_index),
10461
10461
  coinAmountA: fields.reserve_x,