Omniscia Maverick Protocol Audit

Code Style

Code Style

During the manual portion of the audit, we identified 8 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
CTS-01COptimization of Statements
CST-01CPotential Revision as Enum
MHT-01CIneffectual Usage of Safe Arithmetics
MHT-02CPotentially Confusing Terminology
MHT-03CRepetitive Value Literal
PLB-01CInefficient Relay of Amount Pointer
PLB-02CInexistent Propagation of Unchecked Code Block
TLB-01CRedundant Unchecked Code Block