Skip to content

Commit

Permalink
fix: Naming Atoken to AToken
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelmtzinf committed Jan 24, 2022
1 parent a5fa434 commit 0d50841
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions contracts/protocol/libraries/helpers/Errors.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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'
Expand Down
4 changes: 2 additions & 2 deletions helpers/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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'
Expand Down

0 comments on commit 0d50841

Please sign in to comment.