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:

IDSeverityAddressedTitle
COM-01CInformationalYesInefficient Event Storage Reads
COM-02CInformationalYesRedundant User-Defined Getter Functions
COM-03CInformationalYesRedundant Visibility Specifiers
CAI-01CInformationalYesInefficient Event Storage Reads
CAI-02CInformationalYesRedundant Security Modifier
CAI-03CInformationalYesRedundant User-Defined Getter Functions
CAI-04CInformationalYesRedundant Visibility Specifier
DMI-01CInformationalYesInefficient Event Storage Read
DMI-02CInformationalYesRedundant User-Defined Getter Functions
IPT-01CInformationalYesInefficient Event Storage Reads
IPD-01CInformationalYesInefficient Event Storage Read
IPD-02CInformationalYesRedundant Low Level Implementation
MDR-01CInformationalYesRedundant Visibility Specifier
MDR-02CInformationalYesStatement Inefficiency
TIN-01CInformationalYesInefficient Event Storage Read