ref-finance / ref-contracts

Smart contracts for Ref Finance
MIT License
98 stars 55 forks source link

[WIP] Stable swap implementation #48

Open referencedev opened 3 years ago

referencedev commented 3 years ago

Adding a new type of pool for stable swap between two tokens that have equally priced.

marco-sundsk commented 2 years ago

When LP deposit and/or withdraw liquidity in a not perfect ratio, a fee will be charged. So, Why not we just suggest them to deposit and withdraw with perfect ratio to avoid fees? Is there any requirements that leads to support the unbalanced deposit/withdraw actions especially withdraw with one type of token?