stake.link

stake.link
DeFiHardhatBridge
27,500 USDC
View results
Submission Details
Severity: low
Invalid

Missing Events In Initialize Functions

Summary

None of the initialize functions emit emit init-specific events. They all however have the initializer modifier (from Initializable) so that they can be called only once.

Vulnerability Details

If an initialize() function doesn't emit an event, it can be difficult to verify whether the contract has been correctly initialized.

Impact

Off-chain monitoring of calls to these critical functions is not possible.

Tools Used

VS Code
Manual Review

Recommendations

It is recommended to emit events in your initialization functions.

Updates

Lead Judging Commences

0kage Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.