mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
feat: remove MaxIterations
This commit is contained in:
parent
03d18acf03
commit
ed0c40eceb
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user