Skip to content

Minimum valid addLiquidity is 1% of initial liquidity #1

Description

@chimera-defi

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions