setFestivalContract
, only one festival can be set and it will limit the whole flow to only one festival foreverDescribe the normal behavior in one or more sentences
Explain the specific issue or problem in one or more sentences
Likelihood:
After you set festival contract for the fist time you won't be able to set again so it has high likelihood
Impact:
Disrupt the whole flow from buying the Festival Pass, attending performance, and redeeming Memorabilia because BeatToken.sol
can only apply its logic to one festival forever
setFestivalContract
cannot be reused for other festivalsOwner: Owner of the BeatToken.sol contract
Victim: Users buying the festival pass
Protocol: Provide a way for users to buy pass to earn BEAT
Introduce a new boolean e.g. bool isFestivalContractSetBefore to ensure the zero address checking only appies to the first time of calling setFestivalContract
Owner/admin is trusted / Zero address check - Informational
This is intended. It's done like that because the festival contract requires beat token's address and vice versa.
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.