mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
small comments fixes
This commit is contained in:
parent
2a6248c6d2
commit
373bac109b
|
@ -28,7 +28,7 @@ import {ValidationLogic} from '../libraries/logic/ValidationLogic.sol';
|
|||
* @author Aave
|
||||
* @notice Implements actions involving management of collateral in the protocol.
|
||||
* @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 {
|
||||
using SafeERC20 for IERC20;
|
||||
|
|
|
@ -59,7 +59,7 @@ library Errors {
|
|||
string public constant STABLE_BORROW_RATE_OVERFLOW = '51'; // Stable borrow rate overflows uint128
|
||||
|
||||
//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'
|
||||
|
||||
//require error messages - LendingPoolAddressesProviderRegistry
|
||||
|
|
|
@ -86,7 +86,7 @@ export enum ProtocolErrors {
|
|||
RESERVE_ALREADY_INITIALIZED = '34', // 'Reserve has already been initialized'
|
||||
|
||||
//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'
|
||||
|
||||
//require error messages - LendingPoolAddressesProviderRegistry
|
||||
|
|
Loading…
Reference in New Issue
Block a user