Omniscia Powercity Audit
Code Style
Code Style
During the manual portion of the audit, we identified 10 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 |
---|---|---|---|
APL-01C | Multiple Top-Level Declarations | ||
BOS-01C | Incorrect Token Approvals | ||
BOS-02C | Unutilized Contract Member | ||
CSP-01C | Multiple Top-Level Declarations | ||
DPL-01C | Multiple Top-Level Declarations | ||
DPL-02C | Redundant Contract Member | ||
LUS-01C | Improper Naming Convention | ||
MTG-01C | Variable Mutability Specifiers (Immutable) | ||
PXT-01C | Inexistent Annotation of Purpose | ||
TCR-01C | Variable Mutability Specifier (Immutable) |