Beginner FriendlyDeFiFoundry
100 EXP
View results
Submission Details
Severity: low
Invalid

L3:import IERC20 from openzeppelin contract instead of MerkleAirdrop contract

Summary

In Deploy.s.sol , there import IERC20 from the MerkleAirdrop.sol. This is not a recommended programming practice. It's recommended to import IERC20 from the openzeppelin contract.

Vulnerability Details

Impact

Tools Used

None

Recommendations

-- import { MerkleAirdrop, IERC20 } from "../src/MerkleAirdrop.sol";
++ import { MerkleAirdrop } from "../src/MerkleAirdrop.sol";
++ import { IERC20} from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
Updates

Lead Judging Commences

inallhonesty Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity
Assigned finding tags:

Info

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.