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

Fix & Test linear #337

Merged
merged 3 commits into from
Dec 7, 2024
Merged

Conversation

manlikeHB
Copy link
Contributor

No description provided.

@MSghais MSghais marked this pull request as ready for review December 7, 2024 08:46
Copy link
Member

@MSghais MSghais left a comment

Choose a reason for hiding this comment

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

WIP but let's merged it so we can continue to work on it

for amount_in in amounts {
let amount_out = get_meme_amount(token_launch, amount_in);

token_launch.available_supply -= 20_000_000;
Copy link
Member

Choose a reason for hiding this comment

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

Better to check the amount_out, assert if it's the one we things and expected, and update the state with the amount calculated if it's ok.

@MSghais MSghais merged commit 1c7070e into AFK-AlignedFamKernel:main Dec 7, 2024
0 of 5 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.

2 participants