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

Disable single exits for low liquidity pools #1096

Open
agualis opened this issue Sep 17, 2024 · 1 comment · May be fixed by #1125
Open

Disable single exits for low liquidity pools #1096

agualis opened this issue Sep 17, 2024 · 1 comment · May be fixed by #1125
Assignees

Comments

@agualis
Copy link
Contributor

agualis commented Sep 17, 2024

The single asset exit does not work when the single asset is > 25% of the pool liquidity.
Detect this case, block single removal and show a warning with a clear explanation.

If single asset remove AND input > 25% of pool's token balance

  • Block action
  • Show warning "You can only remove up to 25% of a single asset from the pool in one transaction" (updated by PK)
@agualis
Copy link
Contributor Author

agualis commented Sep 23, 2024

@groninge01 groninge01 linked a pull request Sep 25, 2024 that will close this issue
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.

2 participants