Omniscia Evergon Labs Audit
Code Style
Code Style
During the manual portion of the audit, we identified 23 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 |
|---|---|---|---|
| AML-01C | ![]() | ![]() | Combination of Logical Clauses |
| AML-02C | ![]() | ![]() | Deprecated Revert Statements |
| AMS-01C | ![]() | ![]() | Non-Standard Storage Slot Definition |
| BDO-01C | ![]() | ![]() | Bytecode Size Optimization |
| BDO-02C | ![]() | ![]() | Ineffectual Usage of Safe Arithmetics |
| BDO-03C | ![]() | ![]() | Redundant Parenthesis Statement |
| ERN-01C | ![]() | ![]() | Inefficient Application of Modifier |
| FEC-01C | ![]() | ![]() | Redundant Import of Implementation |
| FER-01C | ![]() | ![]() | Redundant Import of Implementation |
| FFY-01C | ![]() | ![]() | Redundant Calculations |
| FFY-02C | ![]() | ![]() | Suboptimal Struct Declaration Style |
| FTD-01C | ![]() | ![]() | Redundant Constructor Declaration |
| OES-01C | ![]() | ![]() | Optimization of Conditionals |
| OIS-01C | ![]() | ![]() | Repetitive Value Literal |
| OPY-01C | ![]() | ![]() | Generic Typographic Mistake |
| OPY-02C | ![]() | ![]() | Suboptimal Struct Declaration Style |
| OSS-01C | ![]() | ![]() | Non-Standard Storage Slot Definition |
| OSS-02C | ![]() | ![]() | Redundant Import of Logic Implementation |
| TWT-01C | ![]() | ![]() | Ineffectual Usage of Safe Arithmetics |
| WRE-01C | ![]() | ![]() | Ineffectual Usage of Safe Arithmetics |
| WRE-02C | ![]() | ![]() | Inefficient mapping Lookups |
| WRE-03C | ![]() | ![]() | Suboptimal Conditional |
| WRE-04C | ![]() | ![]() | Unreachable Code |


