ref-finance / ref-contracts

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

Remove Liquidity Estimate #11

Open mehtaphysical opened 3 years ago

mehtaphysical commented 3 years ago

I think it would be nice to have something similar to get_return but for removing liquidity. This would be used to calculate the min_amounts field based on some percent (slippage).

ilblackdragon commented 3 years ago

You can actually estimate it from pool information directly on frontend.