@magmaprotocol/magma-clmm-sdk 0.5.102 → 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 +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -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
|
|
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,
|