interface
interface copied to clipboard
Can't add liquidity for invalid current price
Bug Description If someone added liquidity with one token for out of range price, then, others can't add liquidity later. In this case later liquidity providers can only add one token and not two tokens to pool.
Steps to Reproduce
- Go to pools
- Click on "+ New Position"
- Select out range price
- You can see following message for one token "The market price is outside your specified price range. Single-asset deposit only."
- Add liquidity with only one token
- Later users can't provide two token liquidity any more.
Expected Behavior Adding liquidity with only one token should be disabled and users can always add liquidity with both tokens even when outside in current price