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

Bsc pancake pool #146

Merged
merged 3 commits into from
Jan 4, 2024
Merged

Bsc pancake pool #146

merged 3 commits into from
Jan 4, 2024

Conversation

CelaPablo
Copy link
Collaborator

No description provided.

@@ -94,13 +98,17 @@ contract PancakeAMM {
uint8 decimals = ChainlinkLibrary.getDecimals(oracleBase);

amountOut = quote.mulDiv(price, 10 ** decimals);
if(sweepDecimals == baseDecimals) amountOut = amountOut.mulDiv(PRECISION, 10 ** baseDecimals);
Copy link
Collaborator

Choose a reason for hiding this comment

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

what is this for?

Copy link
Collaborator

@maxcoto maxcoto left a comment

Choose a reason for hiding this comment

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

I don't undestand only one line of this changes. The rest LGTM.

@CelaPablo CelaPablo force-pushed the bsc-pancake-pool branch 2 times, most recently from d317e11 to cb81298 Compare January 4, 2024 19:12
@maxcoto maxcoto merged commit e7eede9 into main Jan 4, 2024
1 check passed
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.

2 participants