Platform: Code4rena
Start Date: 04/11/2021
Pot Size: $50,000 USDC
Total HM: 20
Participants: 28
Period: 7 days
Judge: 0xean
Total Solo HM: 11
Id: 51
League: ETH
Rank: 27/28
Findings: 2
Award: $6.57
🌟 Selected for report: 1
🚀 Solo Findings: 0
4.4176 USDC - $4.42
PranavG
State variables that never change can be declared constant. This can greatly reduce gas costs. Examples : airdrop_supply in AirdropDistribution.sol(#462) investors_supply in InvestorDistribution.sol(#33) unixYear in Vesting.sol(#30)
Add the constant keyword for state variables whose value never change.
🌟 Selected for report: TomFrenchBlockchain
Also found by: PranavG, Reigada, WatchPug, jah, nathaniel, pants, pauliax, pmerkleplant
PranavG
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)
Add the immutable attributes to state variables that never change after deployment.
#0 - chickenpie347
2022-01-03T20:55:57Z
Duplicate of #1 , #3