Omniscia AmpleSense Audit
Code Style
Code Style
During the manual portion of the audit, we identified 14 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 |
---|---|---|---|
AMP-01C | Informational | Yes | Inexistent Variable Visibility Specifiers |
AMP-02C | Informational | Yes | Redundant Function Block |
AMP-03C | Informational | Yes | Variable Mutability Specifier |
AVT-01C | Informational | Yes | Non-Standard ERC-20 Transfer Invocation |
AVT-02C | Informational | Yes | Variable Mutability Specifiers |
BTR-01C | Informational | Yes | Deprecated Representation Style |
BTR-02C | Informational | Yes | Inexistent Variable Visibility Specifiers |
BTR-03C | Informational | Yes | Variable Mutability Specifiers |
DIS-01C | Informational | Yes | Inefficient Code Implementation |
DIS-02C | Informational | Yes | Inexistent Variable Visibility Specifier |
DIS-03C | Informational | Yes | Variable Mutability Specifiers |
PVT-01C | Informational | Yes | Inexistent Variable Visibility Specifiers |
SER-01C | Informational | Yes | Variable Mutability Specifiers |
SEC-01C | Informational | Yes | Variable Mutability Specifiers |