Omniscia KlimaDAO Audit
Code Style
Code Style
During the manual portion of the audit, we identified 24 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 |
---|---|---|---|
CON-01C | Informational | No | Redundant constructor Implementation |
AEK-01C | Informational | No | Inexistent Visibility Specifiers |
EKL-01C | Informational | No | Inexistent Error Messages |
KCS-01C | Informational | No | Inexistent Error Messages |
KCS-02C | Informational | No | Redundant SafeMath Utilization |
KID-01C | Informational | No | Inefficient Hash Specification |
KID-02C | Informational | No | Redundant Visibility Specifiers |
KID-03C | Informational | No | Redundant constructor Implementation |
KLB-01C | Informational | No | Inexistent Error Messages |
KLP-01C | Informational | No | Inexistent Opportunistic Transfer |
KLP-02C | Informational | No | Variable Mutability Specifiers |
KSD-01C | Informational | No | Inexistent Error Messages |
KS2-01C | Informational | No | Inexistent Error Messages |
KTN-01C | Informational | No | Function Name Typo |
KTN-02C | Informational | No | Improper Visibility Specifier |
KTN-03C | Informational | No | Inefficient Hash Specification |
KTY-01C | Informational | No | Variable Mutability Specifiers |
PKT-01C | Informational | No | Redundant constructor Implementation |
PKU-01C | Informational | No | Redundant constructor Implementation |
SHR-01C | Informational | No | Inexistent Error Messages |
SWP-01C | Informational | No | Inexistent Error Messages |
KT2-01C | Informational | No | Inexistent Error Messages |
KLI-01C | Informational | No | Inexistent Error Messages |
KLI-02C | Informational | No | Redundant Usage of decimals |