MyCut

First Flight #23
Beginner FriendlyFoundry
100 EXP
View results
Submission Details
Severity: low
Valid

New Pot Address Not Emitted

Summary

Function ContestManager::createContest() creates a new Pot contract instance and returns the address. However, when called using a UI, there is no way to catch the address.

Vulnerability Details

Front-end applications often rely on event emittance to capture information from a function call and return the information to the user. If the newly created Pot contract address is not emitted, then it would not be easy for the user/owner to know what address the new Pot is.

Impact

UI difficulty.

Tools Used

Manual review.

Recommendations

Consider emitting the new Pot address.

Updates

Lead Judging Commences

equious Lead Judge about 1 year ago
Submission Judgement Published
Validated
Assigned finding tags:

Missing Events

Support

FAQs

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