Omniscia Steer Protocol Audit
Code Style
Code Style
During the manual portion of the audit, we identified 12 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 |
---|---|---|---|
IBL-01C | Incorrect Specification of Gap | ||
IBL-02C | Redundant Usage of SafeMath | ||
IMP-01C | Redundant Parenthesis Statement | ||
SRD-01C | Combination of Data Structures | ||
SRD-02C | Deprecated Revert Pattern | ||
SRD-03C | Generic Typographic Mistake | ||
SRD-04C | Ineffectual Usage of Safe Arithmetics | ||
SRD-05C | Inefficient mapping Lookups | ||
SRD-06C | Inexistent Error Message | ||
SRD-07C | Misleading Maximum Fee | ||
SRD-08C | Optimization of Condition | ||
SRD-09C | Redundant Parenthesis Statement |