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

SwapFee used in SpotPrice calculation #46

Closed
sunnya97 opened this issue Mar 3, 2021 · 1 comment
Closed

SwapFee used in SpotPrice calculation #46

sunnya97 opened this issue Mar 3, 2021 · 1 comment

Comments

@sunnya97
Copy link
Collaborator

sunnya97 commented Mar 3, 2021

@Thunnini why does the spot price calculation include the swapfee? I don't believe this is standard when describing spot price of AMMs.

scale := sdk.OneDec().Quo(sdk.OneDec().Sub(swapFee))

@sunnya97
Copy link
Collaborator Author

sunnya97 commented Apr 1, 2021

Closed by 4a5ed58

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

1 participant