function setParameters(
    address assetTo,
    uint256 newLpFeeRate,
    uint256 newI,
    uint256 newK,
    uint256 baseOutAmount,
    uint256 quoteOutAmount,
    uint256 minBaseReserve,
    uint256 minQuoteReserve
) public nonReentrant onlyImplementationOwner {
    if (_BASE_RESERVE_ < minBaseReserve || _QUOTE_RESERVE_ < minQuoteReserve) {
        revert ErrReserveAmountNotEnough();
    }
}
function setParameters(
    address assetTo,
    uint256 newLpFeeRate,
    uint256 newI,
    uint256 newK,
    uint256 baseOutAmount,
    uint256 quoteOutAmount,
    uint256 minBaseReserve,
    uint256 minQuoteReserve
) public nonReentrant onlyImplementationOwner {
-     if (_BASE_RESERVE_ < minBaseReserve || _QUOTE_RESERVE_ < minQuoteReserve) {
-         revert ErrReserveAmountNotEnough();
-     }
    _transferBaseOut(assetTo, baseOutAmount);
    _transferQuoteOut(assetTo, quoteOutAmount);
    (uint256 newBaseBalance, uint256 newQuoteBalance) = _resetTargetAndReserve();

+     if (newBaseBalance < minBaseReserve || newQuoteBalance < minQuoteReserve) {
+         revert ErrReserveAmountNotEnough();
+     }

}
