Omniscia Vendor Finance Audit

Code Style

Code Style

During the manual portion of the audit, we identified 10 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:

IDSeverityAddressedTitle
ADD-01COutdated Contract Check Implementation
LPI-01CRepetitive Value Literal
OIT-01CNon-Standard Initializer Naming Convention
VFM-01CInefficient mapping Lookups
VFM-02CRepetitive Value Literal
VLE-01CGeneric Typographic Mistake
VLE-02CRedundant Existence Data Point
VLE-03CRepetitive Value Literal
VOE-01CVariable Mutability Specifiers (Immutable)
VPF-01CRepetitive Value Literal