In the function upgradeTier, users can use two tierIndex+1 tokens to exchange for a tierIndex token to obtain the seat. However, according to the logic of the function createNewDAOMembership, the number of members per tier is limited. This means that using the function upgradeTier can break through this limit, thus affecting the contract.
In the function upgradeTier:
Users can break through the restrictions by exchanging two low-level tokens for one high-level token.
The max member of each tier will be bypassed.
VSCode
Add a limit to prevent the number of members from exceeding the maximum members for the tier.
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.