Omniscia Euler Finance Audit
Code Style
Code Style
During the manual portion of the audit, we identified 11 optimizations that can be applied to the codebase that will decrease the operational 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 |
---|---|---|---|
ERR-01C | Imprecise Terminology | ||
GEL-01C | Redundant Variable Caching | ||
LOE-01C | Potential Usage of Library | ||
POE-01C | Potentially Redundant Function Implementation | ||
POE-02C | Redundant Handling of Positive Exponent | ||
RCO-01C | Ineffectual Usage of Safe Arithmetics | ||
ROE-01C | Potential Usage of Library | ||
SDO-01C | Potential Usage of Library | ||
SDO-02C | Repetitive Value Literal | ||
SUS-01C | Inefficient Erasure of Upper Bits | ||
SUS-02C | Repetitive Value Literal |