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

Use named imports instead of plain `import file.sol

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.

Impact

Instances (4):

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

Support

FAQs

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