Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Disable single exits for low liquidity pools #1096

Closed
agualis opened this issue Sep 17, 2024 · 1 comment · Fixed by #1125
Closed

Disable single exits for low liquidity pools #1096

agualis opened this issue Sep 17, 2024 · 1 comment · 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)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants