Omniscia Nexera Audit
WrapFungibleAssetsFacetStorage Code Style Findings
WrapFungibleAssetsFacetStorage Code Style Findings
WFF-01C: Redundant Parenthesis Statement
| Type | Severity | Location |
|---|---|---|
| Code Style | ![]() | WrapFungibleAssetsFacetStorage.sol:L136-L142 |
Description:
The referenced statement is redundantly wrapped in parenthesis (()).
Example:
packages/contracts/contracts/internalFacets/createFractionsPhaseFacets/preFractionFacets/wrapFungibleAssets/WrapFungibleAssetsFacetStorage.sol
136(campaignTokensData.values) = IWrappedAssetsFeeCollectorFacet(address(this)).acquireWrappedAssetsFees(137 nftId,138 wtypes_,139 tokens_,140 ids_,141 values_142);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.
