Omniscia Hot Cross Audit
Code Style
Code Style
During the manual portion of the audit, we identified 5 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 |
---|---|---|---|
CRO-01C | Informational | Yes | Unspecified Visibility Specifiers |
CPL-01C | Informational | Yes | Potentially Misaligned lastRewardBlock |
CPL-02C | Informational | Yes | Redundant Default Value Assignment |
MIS-01C | Informational | Yes | Dead Code |
MIS-02C | Informational | Yes | Misleading Function Name |