Omniscia Tangible Audit

Code Style

Code Style

During the manual portion of the audit, we identified 12 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
CCR-01CRedundant Representation of Literal Constant
LZR-01CCross-Chain Amount Truncation
LAU-01CEvent Usability Enhancement
LAU-02CRedundant Representation of Literal Constant
LAU-03CRepetitive Value Literal
LAU-04CSignificant Optimization of Call Relays
NLA-01CInefficient mapping Lookups
NLA-02CRedundant Representation of Literal Constant
OFC-01CRedundant Representation of Literal Constant
RTU-01CImproper Evaluation of Assert
RTU-02CRedundant Conditional Clause
RTU-03CRedundant Representation of Literal Constant