@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 +1 -0
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
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
|
|
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);
|