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

Unused Imports

Summary

There are instances of unused imports

Vulnerability Details

The following are imported into other files but never used in them
Fees.sol lines 4 and 5
import "./utils/Errors.sol";
import "./utils/Structs.sol";

Impact

Gas + Informational: The above impacts the code quality, auditability and maintanability of code as others may expect imported code is used in contracts or must be used. Additionally it makes the files bigger than necessary as this imported code is copied into the smart contract increasing its bytecode size for no reason when its not being used , costing more for deployments.

Tools Used

Manual Analysis

Recommendations

It is recommended to ensure that all imports that are not used or necessary are removed from contracts as in the examples mentioned earlier

Support

FAQs

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