@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.mjs
CHANGED
|
@@ -10455,11 +10455,12 @@ 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
|
|
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,
|
|
10462
|
-
coinAmountB: fields.reserve_y
|
|
10462
|
+
coinAmountB: fields.reserve_y,
|
|
10463
|
+
liquidity: fields.liquidity
|
|
10463
10464
|
};
|
|
10464
10465
|
poolList.push(poolInfo);
|
|
10465
10466
|
this.updateCache(`${fields.id.id}_getPoolObject`, poolInfo, cacheTime24h);
|