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:

IDSeverityAddressedTitle
IBL-01CIncorrect Specification of Gap
IBL-02CRedundant Usage of SafeMath
IMP-01CRedundant Parenthesis Statement
SRD-01CCombination of Data Structures
SRD-02CDeprecated Revert Pattern
SRD-03CGeneric Typographic Mistake
SRD-04CIneffectual Usage of Safe Arithmetics
SRD-05CInefficient mapping Lookups
SRD-06CInexistent Error Message
SRD-07CMisleading Maximum Fee
SRD-08COptimization of Condition
SRD-09CRedundant Parenthesis Statement