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

AMM: fix computation of output amount for stable pools #563

Closed
peterslany opened this issue Feb 10, 2023 · 1 comment
Closed

AMM: fix computation of output amount for stable pools #563

peterslany opened this issue Feb 10, 2023 · 1 comment
Assignees

Comments

@peterslany
Copy link
Contributor

Computation of output amount for stable pools is returning incorrect results when pool is out of balance.

https://discord.com/channels/745259537707040778/1072820080905302126/1072820084520779816

Testnet with issue at kintnet-api.interlay.io

@peterslany peterslany added this to the AMM milestone Feb 10, 2023
@github-project-automation github-project-automation bot moved this to New 🆕 in Backlog Feb 10, 2023
@bvotteler bvotteler modified the milestones: AMM, Kintsugi De-Fi Hub Feb 13, 2023
@peterslany peterslany self-assigned this Feb 13, 2023
@peterslany peterslany modified the milestones: AMM, Kintsugi De-Fi Hub Feb 16, 2023
@gregdhill
Copy link
Member

I think this is to be expected, Curve v1 only supports stable (pegged) assets but on testnet the LKSM-VKSM-SKSM pool was not balanced - LKSM is worth significantly less than VKSM and SKSM. The solution is to rebase the token on the parachain, see: interlay/interbtc#935

@github-project-automation github-project-automation bot moved this from New 🆕 to Done ✅ in Backlog Feb 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

3 participants