Omniscia Sova Network Audit
Code Style
Code Style
During the manual portion of the audit, we identified 30 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 |
|---|---|---|---|
| BRR-01C | ![]() | ![]() | Inexplicable Usage of Contract Declaration |
| BSY-01C | ![]() | ![]() | Inefficient Import of Logic Implementation |
| CRM-01C | ![]() | ![]() | Inefficient Logic Contract Import |
| GME-01C | ![]() | ![]() | Inconsistent Off-Chain Related Integration |
| GME-02C | ![]() | ![]() | Non-Standard Library Usage |
| GMR-01C | ![]() | ![]() | Inefficient Array Resize Operation |
| GMR-02C | ![]() | ![]() | Inefficient mapping Lookups |
| GMR-03C | ![]() | ![]() | Redundant Casting of Enum |
| KRH-01C | ![]() | ![]() | Inefficient Function Body |
| KRH-02C | ![]() | ![]() | Redundant Code Duplication |
| LRM-01C | ![]() | ![]() | Inefficient Logic Contract Import |
| MWR-01C | ![]() | ![]() | Inefficient Hook Reads |
| MWR-02C | ![]() | ![]() | Potentially Incorrect Allowance Requirement |
| MWR-03C | ![]() | ![]() | Redundant Withdrawal Override |
| MWW-01C | ![]() | ![]() | Potential Optimization of Nonce Consumption |
| POR-01C | ![]() | ![]() | Inefficient Event Emission |
| RSY-01C | ![]() | ![]() | Inefficient Imports of Logic Implementations |
| RMD-01C | ![]() | ![]() | Inefficient Logic Contract Import |
| RMR-01C | ![]() | ![]() | Inefficient Conditional Structure |
| RMR-02C | ![]() | ![]() | Misleading Constant Documentation |
| RMR-03C | ![]() | ![]() | Redundant Inclusion of Role |
| REE-01C | ![]() | ![]() | Ineffectual Usage of Safe Arithmetics |
| REE-02C | ![]() | ![]() | Inefficient Loop Limit Evaluation |
| REE-03C | ![]() | ![]() | Inefficient mapping Lookups |
| REE-04C | ![]() | ![]() | Potentially Inefficient Shift Operation |
| RWA-01C | ![]() | ![]() | Inefficient Hook Activity Tracking |
| RWA-02C | ![]() | ![]() | Inefficient mapping Lookups |
| RWA-03C | ![]() | ![]() | Non-Standard Library Usage |
| RWA-04C | ![]() | ![]() | Potentially Redundant Shift Operation |
| RWA-05C | ![]() | ![]() | Repetitive Value Literal |


