20,000 USDC
View results
Submission Details
Severity: gas
Valid

[I-10] Import declarations should import specific identifiers, rather than the whole file

Summary

Using import declarations of the form import {<identifier_name>} from "some/file.sol" avoids polluting the symbol namespace making flattened files smaller, and speeds up compilation

Vulnerability Details

Instances (4):

File: src/Fees.sol
4: import "./utils/Errors.sol";
5: import "./utils/Structs.sol";
File: src/Lender.sol
4: import "./utils/Errors.sol";
5: import "./utils/Structs.sol";

Impact

Tools Used

Recommendations

Support

FAQs

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