In MartenitsaToken:updateCountMartenitsaTokensOwner
users can update the count of martenitsaTokens without any restrictions. Then they will be able to collect as many HealthTokens as they want.
By updating the count of martenitsaTokens without any restriction users will be able to mint HealthToken indefinitely.
Update count of martenitsaTokens with MartenitsaToken:updateCountMartenitsaTokensOwner
Collect the number of HealthTokens in proportion to the number of (fake) tokens you have (1 HealthToken for 3 fake MartenitsaTokens) by calling MartenitsaMarketplace:collectReward
.
In this test we will collect 3 HealthToken while we don't have any martinetsaToken.
HealthToken can be minted and user can participate to an event without owning any martenitsaToken
Manuel review
MartenitsaToken:updateCountMartenitsaTokensOwner
must be only called by MartenitsaMarketplace contract using internal visibility specifier instead of external. Therefore you will have to refactor correctly MartenitsaMarketplace contract.
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.