Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add JEXchange provider and liquidity pools #1

Merged
merged 2 commits into from
Aug 17, 2023

Conversation

javier-nft
Copy link
Contributor

No description provided.

@javier-nft
Copy link
Contributor Author

javier-nft commented Aug 7, 2023

Blocked by
multiversx/mx-sdk-js-core#313

[[]],
);

const totalFeePercent = (poolStatus.lp_fees as number) + (poolStatus.platform_fees as number);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(poolStatus.lp_fees as number) + (poolStatus.platform_fees as number);

this line concentrate the string. Please change into:

const totalFeePercent = parseFloat(poolStatus.lp_fees) + parseFloat(poolStatus.platform_fees);

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@phanletrunghieu phanletrunghieu merged commit c76cf24 into ashswap:main Aug 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants