Omniscia BlazeSwap Audit
BlazeSwapFtsoRewardPlugin Code Style Findings
BlazeSwapFtsoRewardPlugin Code Style Findings
BFP-01C: Variable Mutability Specifier (Immutable)
Type | Severity | Location |
---|---|---|
Gas Optimization | BlazeSwapFtsoRewardPlugin.sol:L8 |
Description:
The linked variable is assigned to only once during the contract's constructor
.
Example:
contracts/core/BlazeSwapFtsoRewardPlugin.sol
8address public implementation = address(new BlazeSwapFtsoReward());
Recommendation:
We advise it to be set as immutable
greatly optimizing its read-access gas cost.
Alleviation:
The variable has been set as immutable
according to our recommendation.