@magmaprotocol/magma-clmm-sdk 0.5.102 → 0.5.104

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.d.ts CHANGED
@@ -1757,6 +1757,7 @@ type AlmmPoolInfo = {
1757
1757
  coinAmountA: string;
1758
1758
  coinAmountB: string;
1759
1759
  index?: number;
1760
+ liquidity: string;
1760
1761
  };
1761
1762
  type AlmmAddLiquidityParams = {
1762
1763
  pool_id: string;
package/dist/index.js CHANGED
@@ -10668,11 +10668,12 @@ 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,
10675
- coinAmountB: fields.reserve_y
10675
+ coinAmountB: fields.reserve_y,
10676
+ liquidity: fields.liquidity
10676
10677
  };
10677
10678
  poolList.push(poolInfo);
10678
10679
  this.updateCache(`${fields.id.id}_getPoolObject`, poolInfo, cacheTime24h);