timewave-computer / covenants

Apache License 2.0
17 stars 4 forks source link

Check pool ratio and deviation on single sided LP #196

Closed uditvira closed 6 months ago

uditvira commented 6 months ago

Currently we only validate pool ratio when we enter double sided liquidity but not single sided. However, a poor pool ratio may cause an even great shift in pool price during a single sided LP. We should be checking the pool ratio again for single sided in the same way as we do for double sided

uditvira commented 6 months ago

This issue is irrelevant, we already do the correct validation. Closing now.