Description:
Several critical administrative functions in the contracts do not emit events when executed. This lack of transparency makes it difficult to track and audit changes to important contract parameters, which could lead to reduced trust and accountability.
Impact:
Informational - Missing events for critical actions reduce transparency and make it harder to monitor and audit administrative changes.
Proof of Concept:
The following functions are missing event emissions:
EggstravaganzaNFT.setGameContract(address newContract)
EggVault.setEggNFT(address newNFT)
EggHuntGame.setEggFindThreshold(uint256 newValue)
Recommended Mitigation:
Add event declarations and emit the corresponding events in the affected functions. For example:
Adding these events ensures that critical administrative actions are logged and can be monitored on-chain, improving transparency and accountability.
Standard practice for clarifying important contract behaviors
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.