Omniscia Euler 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 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 |
---|---|---|---|
EVR-01C | Illegible Authentication Invocation Style | ||
EVR-02C | Inefficient mapping Lookups | ||
EVR-03C | Inexistent Named Arguments | ||
EVR-04C | Optimization of Caller Authentication | ||
EVR-05C | Repetitive Value Literal | ||
EVR-06C | Suboptimal Struct Declaration Style | ||
ECT-01C | Optimization of Initialization | ||
STE-01C | Discrepancy of Proposed Maximum Element Limitation | ||
STE-02C | Inexistent Avoidance of Bit Masking (Stamp & First Element Missing) | ||
STE-03C | Inexistent Avoidance of Bit Masking (Stamp Missing) | ||
STE-04C | Inexistent Correlation of Constants | ||
STE-05C | Optimization of Interim Element Removal |