feat: remove MaxIterations

This commit is contained in:
Shriya Tyagi 2023-09-19 19:53:01 +05:30
parent 03d18acf03
commit ed0c40eceb

View File

@ -648,22 +648,6 @@ abstract contract MorphoAaveV3 is Helpers, Events {
_isAllowed _isAllowed
); );
} }
/// @notice Updates the max iterations for a `repay` or a `withdraw`.
/// @param _iterations New iteration count.
function updateMaxIterations(uint256 _iterations)
external
returns (string memory _eventName, bytes memory _eventParam)
{
uint256 _oldIterations = MAX_ITERATIONS;
MAX_ITERATIONS = _iterations;
_eventName = "LogUpdateMaxIterations(uint256,uint256)";
_eventParam = abi.encode(
_oldIterations,
MAX_ITERATIONS
);
}
} }
contract ConnectV2MorphoAaveV3 is MorphoAaveV3 { contract ConnectV2MorphoAaveV3 is MorphoAaveV3 {