Omniscia Ultra Yield Audit
Code Style
Code Style
During the manual portion of the audit, we identified 20 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 |
|---|---|---|---|
| AUS-01C | ![]() | ![]() | Structure Tight-Packing |
| BCA-01C | ![]() | ![]() | Non-Standard Usage of Library |
| BCA-02C | ![]() | ![]() | Redundant External Self-Calls |
| UFR-01C | ![]() | ![]() | Non-Standard Usage of Library |
| UVT-01C | ![]() | ![]() | Illegible Numeric Value Representations |
| UVT-02C | ![]() | ![]() | Non-Standard Usage of Library |
| UVT-03C | ![]() | ![]() | Repetitive Value Literal |
| UVO-01C | ![]() | ![]() | Calculation Simplification |
| UVO-02C | ![]() | ![]() | Ineffective Boolean Flag Management |
| UVO-03C | ![]() | ![]() | Ineffectual Usage of Safe Arithmetics |
| UVO-04C | ![]() | ![]() | Redundant Precision Concept |
| UVO-05C | ![]() | ![]() | Repetitive Value Literal |
| UVR-01C | ![]() | ![]() | Ineffectual Usage of Safe Arithmetics |
| UVR-02C | ![]() | ![]() | Inexecutable Code |
| UVR-03C | ![]() | ![]() | Optimization of Yielded Statement |
| UVR-04C | ![]() | ![]() | Repetitive Invocations of Storage Offset |
| VPM-01C | ![]() | ![]() | Inefficient Event Argument |
| VPM-02C | ![]() | ![]() | Inefficient Imposition of Access Control |
| VPM-03C | ![]() | ![]() | Inefficient mapping Lookups |
| VPM-04C | ![]() | ![]() | Repetitive Value Literal |


