Omniscia Nexera Audit
WrapAssetsFacetStorage Code Style Findings
WrapAssetsFacetStorage Code Style Findings
WAS-01C: Redundant Parenthesis Statement
| Type | Severity | Location |
|---|---|---|
| Code Style | ![]() | WrapAssetsFacetStorage.sol:L116-L122 |
Description:
The referenced statement is redundantly wrapped in parenthesis (()).
Example:
packages/contracts/contracts/internalFacets/createFractionsPhaseFacets/preFractionFacets/wrapAssets/WrapAssetsFacetStorage.sol
116(campaignTokensData.values) = IWrappedAssetsFeeCollectorFacet(address(this)).acquireWrappedAssetsFees(117 nftId,118 wtypes_,119 tokens_,120 ids_,121 values_122);Recommendation:
We advise them to be safely omitted, increasing the legibility of the codebase.
Alleviation (d682057ecb0e254069773d64f32c068cedb71e2a):
The redundant parenthesis in the referenced statement have been safely omitted.
