Sparkn

CodeFox Inc.
DeFiFoundryProxy
15,000 USDC
View results
Submission Details
Severity: medium

`setContest()` function only can be calling by owner

Summary

According to the document description:

Organizer: The person who creates the contest and he is responsible for distributing the prizes to the winners. We also sometimes call this role "innovator".

However, setContest() function only can be calling by owner

Vulnerability Details

https://github.com/Cyfrin/2023-08-sparkn/blob/main/src/ProxyFactory.sol#L105

Impact

The actual code does not match the design

Tools Used

manual

Recommendations

Modify the docs or modify the code to match

Support

FAQs

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