@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.js CHANGED
@@ -2133,8 +2133,8 @@ function toWeightSpotBalanced(minBinId, maxBinId) {
2133
2133
  }
2134
2134
  return distributions;
2135
2135
  }
2136
- var DEFAULT_MAX_WEIGHT = 2e3;
2137
- var DEFAULT_MIN_WEIGHT = 200;
2136
+ var DEFAULT_MAX_WEIGHT = 2e12;
2137
+ var DEFAULT_MIN_WEIGHT = 2e11;
2138
2138
  function toWeightCurve(minBinId, maxBinId, activeId) {
2139
2139
  if (activeId < minBinId || activeId > maxBinId) {
2140
2140
  throw new ClmmpoolsError("Invalid strategy params", "InvalidParams" /* InvalidParams */);
@@ -10668,7 +10668,7 @@ var AlmmModule = class {
10668
10668
  coin_a: fields.x.fields.name,
10669
10669
  coin_b: fields.y.fields.name,
10670
10670
  base_factor: fields.params.fields.base_factor,
10671
- base_fee: fields.params.fields.base_factor / 1e4 * (fields.bin_step / 1e4),
10671
+ base_fee: fields.params.fields.base_factor * fields.bin_step / 1e9,
10672
10672
  active_index: fields.params.fields.active_index,
10673
10673
  real_bin_id: (0, import_calc_dlmm3.get_real_id)(fields.params.fields.active_index),
10674
10674
  coinAmountA: fields.reserve_x,