Omniscia Badai Tech Audit
Code Style
Code Style
During the manual portion of the audit, we identified 13 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 |
---|---|---|---|
AIK-01C | ![]() | ![]() | Generic Typographic Mistake |
AIK-02C | ![]() | ![]() | Repetitive Value Literal |
BAI-01C | ![]() | ![]() | Generic Typographic Mistake |
BAI-02C | ![]() | ![]() | Repetitive Value Literal |
BAS-01C | ![]() | ![]() | Generic Typographic Mistakes |
BAS-02C | ![]() | ![]() | Ineffectual Usage of Safe Arithmetics |
BAS-03C | ![]() | ![]() | Inefficient Maximum Mechanism |
IPL-01C | ![]() | ![]() | Deprecated Revert Pattern |
IPL-02C | ![]() | ![]() | Inefficient Iterator Types |
IPL-03C | ![]() | ![]() | Inefficient Token Skipping Mechanism |
IPL-04C | ![]() | ![]() | Redundant Application of Modifier |
IPL-05C | ![]() | ![]() | Redundant Parenthesis Statements |
IPL-06C | ![]() | ![]() | Variable Mutability Specifier (Immutable) |