State Variables could be declared immutable #87
Labels
bug
Something isn't working
duplicate
This issue or pull request already exists
G (Gas Optimization)
Handle
PranavG
Vulnerability details
Impact
The immutable attributes can help reduce gas costs. The variables that do no change after deployment can be marked immutable.
Examples :
vestingToken in Vesting.sol(#24)
multiSig in Vesting.sol(#25)
deployer in PublicSale.sol(#67)
burnAddress in PublicSale.sol(#68)
tgeContract in PublicSaleBatchWithdraw.sol(#22)
Recommended Mitigation Steps
Add the immutable attributes to state variables that never change after deployment.
The text was updated successfully, but these errors were encountered: