Every tier checks the number of people that have minted against the total amount that the tier has. When a user upgrade their tier, this index is not updated.
In joinDAO(), amount is checked against minted.
minted is then increased by 1, indicating that 1 person has minted an NFT and has joined the tier.
In upgradeTier(), these amounts are not updated:
When a person moves up a tier, he has to burn 2 NFTs from the higher index for a lower index. The amount for the higher index should decrease by 2 and the amount for the lower index should increase by 1.
The amount minted check will not be accurate.
Manual Review
Recommend updating the amount and minted when calling upgradeTier().
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.