Omniscia Bolide Finance Audit
Code Style
Code Style
During the manual portion of the audit, we identified 9 optimizations that can be applied to the codebase that will decrease the operational 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:
ID | Severity | Addressed | Title |
---|---|---|---|
SEG-01C | Generic Typographic Mistakes | ||
SEG-02C | Inefficient Loop Limit Evaluations | ||
SEG-03C | Inefficient mapping Lookups | ||
SEG-04C | Inexistent Error Message | ||
SEG-05C | Non-Descriptive Function Name | ||
SEG-06C | Redundant Unconditional Execution of Statements | ||
SEG-07C | Relocation of Statements | ||
SEG-08C | Repetitive Value Literal | ||
SEG-09C | Variable Optimization |