Is there a mistake in which formula to use when buying certain amount of X tokens ? #100
Answered
by
0xkaranchauhan
falcon-lin-development
asked this question in
Milestone 0. Introduction
-
Beta Was this translation helpful? Give feedback.
Answered by
0xkaranchauhan
Aug 5, 2024
Replies: 1 comment 1 reply
-
@falcon-lin-development
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
falcon-lin-development
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@falcon-lin-development
No need to switch the variables x and y and use the Δy formula. Instead, use the provided formulas as intended:
These formulas already incorporate the transaction fees and respect the relationships between supply and demand.