Omniscia Keyko Audit
Code Style
Code Style
During the manual portion of the audit, we identified 15 optimizations that can be applied to the codebase that will decrease the gas-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 |
---|---|---|---|
COM-01C | Informational | Yes | Inefficient Event Storage Reads |
COM-02C | Informational | Yes | Redundant User-Defined Getter Functions |
COM-03C | Informational | Yes | Redundant Visibility Specifiers |
CAI-01C | Informational | Yes | Inefficient Event Storage Reads |
CAI-02C | Informational | Yes | Redundant Security Modifier |
CAI-03C | Informational | Yes | Redundant User-Defined Getter Functions |
CAI-04C | Informational | Yes | Redundant Visibility Specifier |
DMI-01C | Informational | Yes | Inefficient Event Storage Read |
DMI-02C | Informational | Yes | Redundant User-Defined Getter Functions |
IPT-01C | Informational | Yes | Inefficient Event Storage Reads |
IPD-01C | Informational | Yes | Inefficient Event Storage Read |
IPD-02C | Informational | Yes | Redundant Low Level Implementation |
MDR-01C | Informational | Yes | Redundant Visibility Specifier |
MDR-02C | Informational | Yes | Statement Inefficiency |
TIN-01C | Informational | Yes | Inefficient Event Storage Read |