The EggHuntGame::eggNFT
and EggHuntGame::eggVault
variables are assigned once in the constructor and never updated afterward. These references are ideal candidates for the immutable
keyword.
Proof of Code:
Slightly higher gas cost per access and reduced clarity for readers and auditors.
Foundry
Slither
Mark EggHuntGame::eggNFT
and EggHuntGame::eggVault
variables as immutable
.
Strategy to save gas and minimize transaction costs
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.