Omniscia Platypus Finance Audit
Code Style
Code Style
During the manual portion of the audit, we identified 17 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 |
---|---|---|---|
GAA-01C | Informational | No | Inefficient Mutability Type |
GAA-02C | Informational | No | Redundant Default Value Assignments |
MPS-01C | Informational | Yes | Inexistent Error Messages |
MPS-02C | Informational | No | Variable Mutability Specifiers |
PTP-01C | Informational | No | Deprecated Representation Style |
PTP-02C | Informational | Yes | Inefficient Mutability Type |
PTP-03C | Informational | Yes | Memory Usage Optimization |
PTP-04C | Informational | No | Redundant Usage of SafeMath |
TIM-01C | Informational | No | Redundant Usage of SafeMath |
TVG-01C | Informational | No | Redundant User-Defined Getters |
VER-01C | Informational | No | Non-Standard Aftercall Hook |
VPP-01C | Informational | No | Duplicate Inheritence |
VPP-02C | Informational | Yes | Non-Standard Assertion Pattern |
VPP-03C | Informational | Yes | Redundant Evaluation |
VPP-04C | Informational | No | Variable Mutability Specifier |
WHI-01C | Informational | Yes | Redundant User-Defined Getter |
WHI-02C | Informational | Yes | Redundant constructor Implementation |