diff --git a/contracts/interfaces/ILendingPool.sol b/contracts/interfaces/ILendingPool.sol index 6e3befe8..777939b5 100644 --- a/contracts/interfaces/ILendingPool.sol +++ b/contracts/interfaces/ILendingPool.sol @@ -113,16 +113,6 @@ interface ILendingPool { uint16 referralCode ); - /** - * @dev Emitted when the pause is triggered. - */ - event Paused(); - - /** - * @dev Emitted when the pause is lifted. - */ - event Unpaused(); - /** * @dev Emitted when a borrower is liquidated. This event is emitted by the LendingPool via * LendingPoolCollateral manager using a DELEGATECALL @@ -508,19 +498,7 @@ interface ILendingPool { function getAddressesProvider() external view returns (ILendingPoolAddressesProvider); /** - * @dev Set the _pause state of a reserve - * - Only callable by the LendingPoolConfigurator contract - * @param val `true` to pause the reserve, `false` to un-pause it - */ - function setPause(bool val) external; - - /** - * @dev Returns if the LendingPool is paused - */ - function paused() external view returns (bool); - - /** - * @dev Authorizes/Unauthorizes a flash borrower. Authorized borrowers pay no flash loan premium. + * @dev Authorizes/Unauthorizes a flash borrower. Authorized borrowers pay no flash loan premium. * Only callable by the LendingPoolConfigurator contract * @param flashBorrower address of the flash borrower * @param authorized `true` to authorize, `false` to unauthorize diff --git a/contracts/protocol/lendingpool/LendingPool.sol b/contracts/protocol/lendingpool/LendingPool.sol index 6355d01e..4be3b282 100644 --- a/contracts/protocol/lendingpool/LendingPool.sol +++ b/contracts/protocol/lendingpool/LendingPool.sol @@ -543,11 +543,6 @@ contract LendingPool is VersionedInitializable, ILendingPool, LendingPoolStorage return _reserves[asset].getNormalizedDebt(); } - ///@inheritdoc ILendingPool - function paused() external view override returns (bool) { - return _paused; - } - ///@inheritdoc ILendingPool function getReservesList() external view override returns (address[] memory) { uint256 reserveListCount = _reservesCount; @@ -684,16 +679,6 @@ contract LendingPool is VersionedInitializable, ILendingPool, LendingPoolStorage _reserves[asset].configuration.data = configuration; } - ///@inheritdoc ILendingPool - function setPause(bool val) external override onlyLendingPoolConfigurator { - _paused = val; - if (_paused) { - emit Paused(); - } else { - emit Unpaused(); - } - } - ///@inheritdoc ILendingPool function updateFlashBorrowerAuthorization(address flashBorrower, bool authorized) external