Skip to content

Commit

Permalink
update analyticPoolNetworkV3.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Ridel1e committed Feb 8, 2024
1 parent 96e9690 commit 26a8cde
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/network/cardano/api/ammPools/analyticPoolNetworkV3.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import {
AmmPool,
AssetAmount,
EmissionLP,
HexString,
PoolId,
} from '@spectrumlabs/cardano-dex-sdk';
Expand Down Expand Up @@ -87,7 +86,7 @@ export class AnalyticPoolNetworkV3 implements Pools {

return new AmmPool(
nftAsset,
new AssetAmount(lqAsset, EmissionLP - BigInt(rawAmmPool.pool.lq.amount)),
new AssetAmount(lqAsset, BigInt(rawAmmPool.pool.lq.amount)),
new AssetAmount(xAsset, BigInt(rawAmmPool.pool.x.amount)),
new AssetAmount(yAsset, BigInt(rawAmmPool.pool.y.amount)),
rawAmmPool.pool.poolFeeNumX,
Expand Down

0 comments on commit 26a8cde

Please sign in to comment.