small comments fixes

This commit is contained in:
andyk 2020-09-16 15:45:49 +03:00
parent 2a6248c6d2
commit 373bac109b
3 changed files with 3 additions and 3 deletions

View File

@ -28,7 +28,7 @@ import {ValidationLogic} from '../libraries/logic/ValidationLogic.sol';
* @author Aave * @author Aave
* @notice Implements actions involving management of collateral in the protocol. * @notice Implements actions involving management of collateral in the protocol.
* @notice this contract will be ran always through delegatecall * @notice this contract will be ran always through delegatecall
* @dev LendingPoolCollateralManager inherits Pausable from OpenZeppelin to have the same storage layout as LendingPool * @dev LendingPoolCollateralManager inherits VersionedInitializable from OpenZeppelin to have the same storage layout as LendingPool
**/ **/
contract LendingPoolCollateralManager is VersionedInitializable { contract LendingPoolCollateralManager is VersionedInitializable {
using SafeERC20 for IERC20; using SafeERC20 for IERC20;

View File

@ -59,7 +59,7 @@ library Errors {
string public constant STABLE_BORROW_RATE_OVERFLOW = '51'; // Stable borrow rate overflows uint128 string public constant STABLE_BORROW_RATE_OVERFLOW = '51'; // Stable borrow rate overflows uint128
//require error messages - LendingPoolConfiguration //require error messages - LendingPoolConfiguration
string public constant CALLER_NOT_AAVE_ADMIN = '35'; // 'The caller must be a lending pool manager' string public constant CALLER_NOT_AAVE_ADMIN = '35'; // 'The caller must be the aave admin'
string public constant RESERVE_LIQUIDITY_NOT_0 = '36'; // 'The liquidity of the reserve needs to be 0' string public constant RESERVE_LIQUIDITY_NOT_0 = '36'; // 'The liquidity of the reserve needs to be 0'
//require error messages - LendingPoolAddressesProviderRegistry //require error messages - LendingPoolAddressesProviderRegistry

View File

@ -86,7 +86,7 @@ export enum ProtocolErrors {
RESERVE_ALREADY_INITIALIZED = '34', // 'Reserve has already been initialized' RESERVE_ALREADY_INITIALIZED = '34', // 'Reserve has already been initialized'
//require error messages - LendingPoolConfiguration //require error messages - LendingPoolConfiguration
CALLER_NOT_AAVE_ADMIN = '35', // 'The caller must be a lending pool manager' CALLER_NOT_AAVE_ADMIN = '35', // 'The caller must be the aave admin'
RESERVE_LIQUIDITY_NOT_0 = '36', // 'The liquidity of the reserve needs to be 0' RESERVE_LIQUIDITY_NOT_0 = '36', // 'The liquidity of the reserve needs to be 0'
//require error messages - LendingPoolAddressesProviderRegistry //require error messages - LendingPoolAddressesProviderRegistry