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:

IDSeverityAddressedTitle
AAT-01CInformationalNoPotential Gas Optimization
ASS-01CInformationalYesRedundant In-Memory Declarations
ASS-02CInformationalNoRedundant User-Defined Getters
ASS-03CInformationalYesRedundant Variable Declarations
CPP-01CInformationalYesRedundant Storage Read
COR-01CInformationalYesMislabeled Yellowpaper Sections
POO-01CInformationalNoAsset Removal Optimization
POO-02CInformationalYesFunction Name Typographic Error
POO-03CInformationalYesMathematical Legibility Enhancement
POO-04CInformationalYesMemory Usage Optimization
WET-01CInformationalYesMemory Usage Optimization
WET-02CInformationalYesVariable Mutability Specifier