Omniscia Mean Finance Audit

Code Style

Code Style

During the manual portion of the audit, we identified 10 optimizations that can be applied to the codebase that will decrease the gas-cost associated with the execution of a particular function and generally ensure that the project complies with the latest best practices and standards in Solidity.

Additionally, this section of the audit contains any opinionated adjustments we believe the code should make to make it more legible as well as truer to its purpose.

These optimizations are enumerated below:

IDSeverityAddressedTitle
GBS-01CLoop Iterator Optimization
SAR-01CLoop Iterator Optimizations
SAR-02CPotential Function Overlap
SRY-01CLoop Iterator Optimizations
TMR-01CImproper Usage of Direct Statements
TMR-02CLoop Iterator Optimizations
TMS-01CCross-Contract Function Overlap
TMS-02CLoop Iterator Optimizations
TRS-01CCross-Contract Function Overlap
TRA-01CLoop Iterator Optimizations