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:

IDSeverityAddressedTitle
FCT-01CInformationalYesRedundant Memory Declaration
FCT-02CInformationalYesRedundant Storage Reads
FCT-03CInformationalYesRedundant Visibility Specifier
FCT-04CInformationalYesRedundant constructor Implementation
FTN-01CInformationalYesRedundant Memory Declaration
FTN-02CInformationalNoRedundant User-Defined Getter
WAS-01CInformationalYesRedundant Memory Declaration
WAS-02CInformationalYesRedundant Visibility Specifiers
WAS-03CInformationalYesRedundant constructor Implementation
WBD-01CInformationalYesRedundant Conditional Execution
WBD-02CInformationalYesRedundant Memory Declaration
WEN-01CInformationalYesRedundant Memory Declaration
WEN-02CInformationalYesRedundant Visibility Specifier
WTN-01CInformationalYesInexplicable Value Literal
WTN-02CInformationalYesRedundant Memory Declaration
WWR-01CInformationalYesRedundant Memory Declaration