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

Improvement: Constant Product AMM #218

Closed
julio4 opened this issue Jun 8, 2024 · 3 comments · Fixed by #252
Closed

Improvement: Constant Product AMM #218

julio4 opened this issue Jun 8, 2024 · 3 comments · Fixed by #252

Comments

@julio4
Copy link
Contributor

julio4 commented Jun 8, 2024

Adds more explanations for the Constant Product AMM example.

Details to be Explained:

  • approve() the router to spend tokens from the user
  • How the swap function works: based on the constant product formula (x * y = k).
  • Number of shares / token ratios for add/rm liquidity. Definition of pool
@raizo07
Copy link
Contributor

raizo07 commented Jun 8, 2024

@julio4 I'll like to be assigned to work on this

@OkoliEvans

This comment was marked as resolved.

@OkoliEvans
Copy link
Contributor

I can take this too if it's okay

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 a pull request may close this issue.

3 participants