gas

Imports could be organized more systematically

Reward

Total

26.44 USDC

11.02 USDC
Selected
15.43 USDC
Selected Submission

Imports could be organized more systematically

Severity

Gas Optimization / Informational

Relevant GitHub Links

https://github.com/Cyfrin/2023-07-foundry-defi-stablecoin/blob/d1c5501aa79320ca0aeaa73f47f0dbc88c7b77e2/src/DSCEngine.sol#L26

Summary

The contract's interface should be imported first, followed by each of the interfaces it uses, followed by all other files. The examples below do not follow this layout.

Tools Used

Manual Review