Omniscia Steer Protocol Audit
Code Style
Code Style
During the manual portion of the audit, we identified 20 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 |
---|---|---|---|
ABL-01C | Generic Typographic Mistakes | ||
ABL-02C | Ineffectual Usage of Safe Arithmetics | ||
ABL-03C | Inefficient Data Type | ||
ABL-04C | Inexistent Error Messages | ||
ABL-05C | Inexplicable Value Literals | ||
AMP-01C | Generic Typographic Mistake | ||
AMP-02C | Inefficient Usage of Storage Space | ||
AMP-03C | Loop Iterator Optimizations | ||
AMP-04C | Redundant Convoluted Logic Structure | ||
AMP-05C | Repetitive Value Literals | ||
ASP-01C | Repetitive Value Literals | ||
QSB-01C | Generic Typographic Mistakes | ||
QSB-02C | Inefficient Data Type | ||
QSB-03C | Inexistent Error Messages | ||
QSB-04C | Inexplicable Value Literals | ||
QSM-01C | Generic Typographic Mistake | ||
QSM-02C | Inefficient Usage of Storage Space | ||
QSM-03C | Redundant Convoluted Logic Structure | ||
QSM-04C | Repetitive Value Literals | ||
QSS-01C | Repetitive Value Literals |