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

Minimum valid addLiquidity is 1% of initial liquidity #1

Open
chimera-defi opened this issue Nov 1, 2021 · 0 comments
Open

Minimum valid addLiquidity is 1% of initial liquidity #1

chimera-defi opened this issue Nov 1, 2021 · 0 comments

Comments

@chimera-defi
Copy link

While attempting to add a gracefulShutdown feature that refunds LPs
chimera-defi@27f6deb#diff-7f94b9d71a038c3284e906e7b47d9c8fc17c10966744f507f29f4f21ef9741b7R417

I noticed that if the second user deposits 0.1% of the initial LP funds or less, removeLiquidity does not return anything.
A safe value seems to be 1% where the user still gets a refund.
Just wanted to make a note of that upstream here.

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

1 participant