Omniscia vfat Audit
Code Style
Code Style
During the manual portion of the audit, we identified 30 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 |
---|---|---|---|
ANI-01C | ![]() | ![]() | Inefficient Emission of Zero Address |
ANO-01C | ![]() | ![]() | Loop Iterator Optimizations |
CRY-01C | ![]() | ![]() | Inefficient Duplicate Storage Read |
FSY-01C | ![]() | ![]() | Suboptimal Struct Declaration Styles |
FSG-01C | ![]() | ![]() | Illegible Selector Extraction |
FSG-02C | ![]() | ![]() | Inexecutable Code |
FSG-03C | ![]() | ![]() | Redundant Zero-Value Assignments |
FSG-04C | ![]() | ![]() | Repetitive Value Literal |
LMR-01C | ![]() | ![]() | Generic Typographic Mistakes |
LSA-01C | ![]() | ![]() | Generic Typographic Mistakes |
LSS-01C | ![]() | ![]() | Generic Typographic Mistakes |
MSY-01C | ![]() | ![]() | Generic Typographic Mistake |
MFS-01C | ![]() | ![]() | Loop Iterator Optimizations |
NFS-01C | ![]() | ![]() | Suboptimal Struct Declaration Styles |
NSL-01C | ![]() | ![]() | Suboptimal Struct Declaration Styles |
NSR-01C | ![]() | ![]() | Suboptimal Struct Declaration Styles |
NGC-01C | ![]() | ![]() | Redundant Code Duplication |
NRC-01C | ![]() | ![]() | Redundant Code Duplication |
NVC-01C | ![]() | ![]() | Redundant Increment of Deadline |
PSR-01C | ![]() | ![]() | Significantly Inefficient Multi-Position Adjustment |
RGC-01C | ![]() | ![]() | Redundant Code Duplication |
RRC-01C | ![]() | ![]() | Redundant Code Duplication |
RVC-01C | ![]() | ![]() | Redundant Increment of Deadlines |
SMG-01C | ![]() | ![]() | Inefficient Evaluation of Atomic Signer Operation |
SMG-02C | ![]() | ![]() | Inefficient Layout of Storage |
SNC-01C | ![]() | ![]() | Redundant Increment of Deadline |
UVR-01C | ![]() | ![]() | Code Redundancy |
UVR-02C | ![]() | ![]() | Redundant Increment of Deadlines |
VCR-01C | ![]() | ![]() | Redundant Increment of Deadlines |
VGR-01C | ![]() | ![]() | Inexistent Combination of Conditionals |