Omniscia SoMee Audit
SoMeeToken Code Style Findings
SoMeeToken Code Style Findings
SMT-01C: Variable Mutability Specifier
Type | Severity | Location |
---|---|---|
Gas Optimization | Informational | SoMeeToken.sol:L14, L22 |
Description:
The oNGv1
variable is assigned to only once during the contract's constructor
.
Example:
contracts/SoMeeToken.sol
16constructor(address _oNGv1)17 public18 ERC20("SoMee.Social", "SOMEE")19 ERC20Capped(HARD_CAP)20 Manager()21{22 oNGv1 = _oNGv1;23}
Recommendation:
We strongly recommend it to be set as immutable
greatly optimizing its gas cost.
Alleviation:
The variable was properly set to immutable
.