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:
ID | Severity | Addressed | Title |
---|---|---|---|
CCR-01C | Redundant Representation of Literal Constant | ||
LZR-01C | Cross-Chain Amount Truncation | ||
LAU-01C | Event Usability Enhancement | ||
LAU-02C | Redundant Representation of Literal Constant | ||
LAU-03C | Repetitive Value Literal | ||
LAU-04C | Significant Optimization of Call Relays | ||
NLA-01C | Inefficient mapping Lookups | ||
NLA-02C | Redundant Representation of Literal Constant | ||
OFC-01C | Redundant Representation of Literal Constant | ||
RTU-01C | Improper Evaluation of Assert | ||
RTU-02C | Redundant Conditional Clause | ||
RTU-03C | Redundant Representation of Literal Constant |