Omniscia WagmiDAO Audit
Code Style
Code Style
During the manual portion of the audit, we identified 16 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 |
---|---|---|---|
FCT-01C | Informational | Yes | Redundant Memory Declaration |
FCT-02C | Informational | Yes | Redundant Storage Reads |
FCT-03C | Informational | Yes | Redundant Visibility Specifier |
FCT-04C | Informational | Yes | Redundant constructor Implementation |
FTN-01C | Informational | Yes | Redundant Memory Declaration |
FTN-02C | Informational | No | Redundant User-Defined Getter |
WAS-01C | Informational | Yes | Redundant Memory Declaration |
WAS-02C | Informational | Yes | Redundant Visibility Specifiers |
WAS-03C | Informational | Yes | Redundant constructor Implementation |
WBD-01C | Informational | Yes | Redundant Conditional Execution |
WBD-02C | Informational | Yes | Redundant Memory Declaration |
WEN-01C | Informational | Yes | Redundant Memory Declaration |
WEN-02C | Informational | Yes | Redundant Visibility Specifier |
WTN-01C | Informational | Yes | Inexplicable Value Literal |
WTN-02C | Informational | Yes | Redundant Memory Declaration |
WWR-01C | Informational | Yes | Redundant Memory Declaration |