Precise Zinc Corgi
Medium
The absence of validation for setting minimum and maximum values in the validRangeWidth variable in the SolidlyAMOV2.sol contract will allow adding liquidity in an unfavorable price range with variations of +-99.9 percent of the price of 1 USD.
- in SolidlyAMOV2.sol:118-145, the validation of the minimum and maximum values for validRangeWidth is incorrect.
No response
No response
- SETTER_ROLE needs to call setParams(), and update validRangeWidth to 999999
- After that, AMO_ROLE will be able toсall addLiquidity() when market conditions are unfavorable. When the price changes by +- 99 percent of 1,000,000
No response
No response
No response