User via updateCountMartenitsaTokensOwner can mint HealthToken infinitely
updateCountMartenitsaTokensOwner is external
and updates countMartenitsaTokensOwner. This state is used inside collectReward which distribute rewards in HealthToken for users.
User can get that much rewards as he wants.
Bob execute updateCountMartenitsaTokensOwner for min. 3 times
Bob execute collectReward getting free HealthTokens.
Manual Review
Simply changing updateCountMartenitsaTokensOwner from external
to internal
should do the work, but I also propose to check inside collectReward if user actually has NFT.
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.