Omniscia Nexera Audit

Code Style

Code Style

During the manual portion of the audit, we identified 24 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
BFG-01CInexistent Documentation of Storage Slot
DRE-01CRedundant Function Implementations
DTP-01CRedundant Function Implementations
ENG-01CInexistent Documentation of Storage Slot
EWF-01CInexistent Documentation of Storage Slot
FEF-01CInexistent Documentation of Storage Slot
LOS-01CInefficient Re-Evaluation of Price Limits
LAE-01CInexistent Documentation of Storage Slot
MSF-01CInexistent Documentation of Storage Slot
MSF-02CInexistent Duplicate Prevention
PRF-01CRedundant Function Implementations
PRS-01CInexistent Documentation of Storage Slot
PFM-01CImproper Error Declaration
PPC-01CInexistent Documentation of Storage Slot
PWF-01CInexistent Documentation of Storage Slot
PDI-01CImplicit Return Variables
PDI-02CInexistent Documentation of Storage Slot
PSS-01CInexistent Documentation of Storage Slot
RSF-01CInefficient Initialization Protection
RSF-02CInexistent Documentation of Storage Slot
SPF-01CRedundant Function Implementation
SPS-01CInexistent Documentation of Storage Slot
WAS-01CRedundant Parenthesis Statement
WFF-01CRedundant Parenthesis Statement