Omniscia Platypus Finance Audit
Code Style
Code Style
During the manual portion of the audit, we identified 12 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 |
---|---|---|---|
AAT-01C | Informational | No | Potential Gas Optimization |
ASS-01C | Informational | Yes | Redundant In-Memory Declarations |
ASS-02C | Informational | No | Redundant User-Defined Getters |
ASS-03C | Informational | Yes | Redundant Variable Declarations |
CPP-01C | Informational | Yes | Redundant Storage Read |
COR-01C | Informational | Yes | Mislabeled Yellowpaper Sections |
POO-01C | Informational | No | Asset Removal Optimization |
POO-02C | Informational | Yes | Function Name Typographic Error |
POO-03C | Informational | Yes | Mathematical Legibility Enhancement |
POO-04C | Informational | Yes | Memory Usage Optimization |
WET-01C | Informational | Yes | Memory Usage Optimization |
WET-02C | Informational | Yes | Variable Mutability Specifier |