Skip to content

Commit

Permalink
refactor: correct IERC20Metadata naming
Browse files Browse the repository at this point in the history
  • Loading branch information
0xChin committed Nov 19, 2024
1 parent cff55c9 commit a56bfc0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/integration/IntegrationBase.sol
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {AaveV3Vault} from "contracts/vaults/AaveV3Vault.sol";
import {ERC20} from "solmate/tokens/ERC20.sol";

Check warning on line 14 in test/integration/IntegrationBase.sol

View workflow job for this annotation

GitHub Actions / Lint Commit Messages

Variable "ERC20" is unused
import {IPool, IRewardsController} from "yield-daddy/aave-v3/AaveV3ERC4626.sol";

Check warning on line 15 in test/integration/IntegrationBase.sol

View workflow job for this annotation

GitHub Actions / Lint Commit Messages

Variable "IPool" is unused

Check warning on line 15 in test/integration/IntegrationBase.sol

View workflow job for this annotation

GitHub Actions / Lint Commit Messages

Variable "IRewardsController" is unused

interface IERC20Symbol {
interface IERC20Metadata {
function symbol() external view returns (string memory);
function decimals() external view returns (uint8);
}
Expand Down Expand Up @@ -85,7 +85,7 @@ contract IntegrationBase is Test, Deploy {
// Get token symbols and label tokens and vaults
for (uint256 i = 0; i < tokensLength; i++) {
address tokenAddr = _tokens[i];
IERC20Symbol token = IERC20Symbol(tokenAddr);
IERC20Metadata token = IERC20Metadata(tokenAddr);

string memory symbol = token.symbol();
_tokenSymbols[tokenAddr] = symbol;
Expand Down

0 comments on commit a56bfc0

Please sign in to comment.