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:

IDSeverityAddressedTitle
EVR-01CIllegible Authentication Invocation Style
EVR-02CInefficient mapping Lookups
EVR-03CInexistent Named Arguments
EVR-04COptimization of Caller Authentication
EVR-05CRepetitive Value Literal
EVR-06CSuboptimal Struct Declaration Style
ECT-01COptimization of Initialization
STE-01CDiscrepancy of Proposed Maximum Element Limitation
STE-02CInexistent Avoidance of Bit Masking (Stamp & First Element Missing)
STE-03CInexistent Avoidance of Bit Masking (Stamp Missing)
STE-04CInexistent Correlation of Constants
STE-05COptimization of Interim Element Removal