Omniscia Euler Finance Audit

Code Style

Code Style

During the manual portion of the audit, we identified 13 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
ELB-01CGeneric Typographic Mistakes
ELI-01CGeneric Typographic Mistake
FEE-01CInexplicable Caching of Performance Fee
SPL-01COptimization of Successful Permit Transfer Flow
SDE-01CGeneric Typographic Mistakes
SDE-02CInefficient Variable Read
SYG-01CInefficient mapping Lookups
WQE-01CInefficient Argument Data Types
YAR-01CGeneric Typographic Mistake
YAF-01CIneffectual Usage of Safe Arithmetics
YAV-01CIneffectual Usage of Safe Arithmetics
YAV-02CInefficient Re-Invocation of Function
YAV-03CRedundant Parenthesis Statements