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

Incorrect calculation of LP tokens amount during withdrawal #285

Open
bout3fiddy opened this issue Feb 28, 2024 · 0 comments
Open

Incorrect calculation of LP tokens amount during withdrawal #285

bout3fiddy opened this issue Feb 28, 2024 · 0 comments
Assignees

Comments

@bout3fiddy
Copy link

This occurs during custom withdraw custom, where user provides their amounts to withdraw (so, it should be remove_liquidity_imbalance call)

Error caused: execution reverted "slippage screwed you".

Image

Image

It seems the calculation of the LP tokens that needed for this custom withdraw is wrong.

Pool: https://curve.fi/#/ethereum/pools/factory-stable-ng-85/withdraw
Error:
Image

@bout3fiddy bout3fiddy assigned bout3fiddy and amytsang and unassigned bout3fiddy Feb 28, 2024
@amytsang amytsang transferred this issue from curvefi/curve-frontend Mar 6, 2024
@amytsang amytsang assigned fedorovdg and unassigned amytsang Mar 26, 2024
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

No branches or pull requests

3 participants