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

AUDIT : check edge case direct after receive quote amount total calculation a… #522

Conversation

MSghais
Copy link
Member

@MSghais MSghais commented Feb 20, 2025

Audit sell_coin edge case:

Edge case: quote_amount is above the liquidity_raised, due to approximation/rounding issue of the Exponential/Linear bonding curve

  • Check the edge case direct after receiving quote amount total calculation and deduct the fees

@MSghais MSghais changed the title check edge case direct after receive quote amount total calculation a… AUDIT : check edge case direct after receive quote amount total calculation a… Feb 20, 2025
@MSghais MSghais merged commit 6d4d3d3 into AFK-AlignedFamKernel:main Feb 20, 2025
1 of 3 checks 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.

1 participant