Omniscia Boson Protocol Audit
Code Style
Code Style
During the manual portion of the audit, we identified 11 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 |
|---|---|---|---|
| BVR-01C | ![]() | ![]() | Potential Legibility Optimization |
| BVR-02C | ![]() | ![]() | Redundant Parenthesis Statements |
| EHF-01C | ![]() | ![]() | Inefficient mapping Lookups |
| EHF-02C | ![]() | ![]() | Redundant Parenthesis Statement |
| FHF-01C | ![]() | ![]() | Loop Iterator Optimizations |
| OBE-01C | ![]() | ![]() | Illegible Representation of Limitation |
| PHF-01C | ![]() | ![]() | Loop Iterator Optimizations |
| PHF-02C | ![]() | ![]() | Redundant Parenthesis Statement |
| PIH-01C | ![]() | ![]() | Inexistent Support for Sequential Upgrade |
| PIH-02C | ![]() | ![]() | Loop Iterator Optimization |
| SHF-01C | ![]() | ![]() | Loop Iterator Optimization |


