Omniscia Box Fun Audit

Code Style

Code Style

During the manual portion of the audit, we identified 9 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
BDE-01CIneffectual Usage of Safe Arithmetics
BDE-02CPotentially Undesired Randomness Configuration
BDE-03CRepetitive Value Literals
BDE-04CSignificantly Inefficient Usage of Token ID Counter
BL2-01CIneffectual Usage of Safe Arithmetics
BL2-02CPotentially Undesired Randomness Configuration
BL2-03CRepetitive Value Literals
BL2-04CSignificantly Inefficient Usage of Token ID Counter
UDE-01CInefficient Usage of Access Control