Omniscia MetaSoccer Audit
Code Style
Code Style
During the manual portion of the audit, we identified 11 optimizations that can be applied to the codebase that will decrease the gas-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 |
---|---|---|---|
EMR-01C | Illegible Struct Initialization | ||
ESE-01C | Struct Mutability Optimization | ||
MSP-01C | Inefficient Dynamic Evaluation of Loop Limit | ||
MSP-02C | Redundant Variable Visibility | ||
MSS-01C | Illegible Struct Initialization | ||
MSS-02C | Inefficient Loop Limit Evaluations | ||
MSS-03C | Inefficient Seed Offset Storing | ||
MSS-04C | Inexistent Visibility Specifier | ||
MSS-05C | Variable Mutability Specifiers | ||
PIG-01C | Deprecated if-revert Pattern | ||
TWW-01C | Inefficient Usage of Dependency |