From 0d508413f9ddba280ff32db6898d3927f1219bda Mon Sep 17 00:00:00 2001 From: miguelmtzinf Date: Mon, 24 Jan 2022 12:05:22 +0100 Subject: [PATCH] fix: Naming Atoken to AToken --- contracts/protocol/libraries/helpers/Errors.sol | 4 ++-- helpers/types.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/contracts/protocol/libraries/helpers/Errors.sol b/contracts/protocol/libraries/helpers/Errors.sol index 8ab9c8e17..987f286e2 100644 --- a/contracts/protocol/libraries/helpers/Errors.sol +++ b/contracts/protocol/libraries/helpers/Errors.sol @@ -17,7 +17,7 @@ library Errors { string public constant INVALID_ADDRESSES_PROVIDER_ID = '8'; // 'Invalid id for the pool addresses provider' string public constant NOT_CONTRACT = '9'; // 'Address is not a contract' string public constant CALLER_NOT_POOL_CONFIGURATOR = '10'; // 'The caller of the function is not the pool configurator' - string public constant CALLER_NOT_ATOKEN = '11'; // 'The caller of the function is not an atoken' + string public constant CALLER_NOT_ATOKEN = '11'; // 'The caller of the function is not an AToken' string public constant INVALID_ADDRESSES_PROVIDER = '12'; // 'The address of the pool addresses provider is invalid' string public constant INVALID_FLASHLOAN_EXECUTOR_RETURN = '13'; // 'Invalid return value of the flashloan executor function' string public constant RESERVE_ALREADY_ADDED = '14'; // 'Reserve has already been added to reserve list' @@ -61,7 +61,7 @@ library Errors { string public constant SUPPLY_CAP_EXCEEDED = '52'; // 'Supply cap is exceeded' string public constant UNBACKED_MINT_CAP_EXCEEDED = '53'; // 'Unbacked mint cap is exceeded' string public constant DEBT_CEILING_EXCEEDED = '54'; // 'Debt ceiling is exceeded' - string public constant ATOKEN_SUPPLY_NOT_ZERO = '55'; // 'Atoken supply is not zero' + string public constant ATOKEN_SUPPLY_NOT_ZERO = '55'; // 'AToken supply is not zero' string public constant STABLE_DEBT_NOT_ZERO = '56'; // 'Stable debt supply is not zero' string public constant VARIABLE_DEBT_SUPPLY_NOT_ZERO = '57'; // 'Variable debt supply is not zero' string public constant LTV_VALIDATION_FAILED = '58'; // 'Ltv validation failed' diff --git a/helpers/types.ts b/helpers/types.ts index 5658f3f8b..449b8a899 100644 --- a/helpers/types.ts +++ b/helpers/types.ts @@ -81,7 +81,7 @@ export enum ProtocolErrors { INVALID_ADDRESSES_PROVIDER_ID = '8', // 'Invalid id for the pool addresses provider' NOT_CONTRACT = '9', // 'Address is not a contract' CALLER_NOT_POOL_CONFIGURATOR = '10', // 'The caller of the function is not the pool configurator' - CALLER_NOT_ATOKEN = '11', // 'The caller of the function is not an atoken' + CALLER_NOT_ATOKEN = '11', // 'The caller of the function is not an AToken' INVALID_ADDRESSES_PROVIDER = '12', // 'The address of the pool addresses provider is invalid' INVALID_FLASHLOAN_EXECUTOR_RETURN = '13', // 'Invalid return value of the flashloan executor function' RESERVE_ALREADY_ADDED = '14', // 'Reserve has already been added to reserve list' @@ -125,7 +125,7 @@ export enum ProtocolErrors { SUPPLY_CAP_EXCEEDED = '52', // 'Supply cap is exceeded' UNBACKED_MINT_CAP_EXCEEDED = '53', // 'Unbacked mint cap is exceeded' DEBT_CEILING_EXCEEDED = '54', // 'Debt ceiling is exceeded' - ATOKEN_SUPPLY_NOT_ZERO = '55', // 'Atoken supply is not zero' + ATOKEN_SUPPLY_NOT_ZERO = '55', // 'AToken supply is not zero' STABLE_DEBT_NOT_ZERO = '56', // 'Stable debt supply is not zero' VARIABLE_DEBT_SUPPLY_NOT_ZERO = '57', // 'Variable debt supply is not zero' LTV_VALIDATION_FAILED = '58', // 'Ltv validation failed'