Project

One World
NFTDeFi
15,000 USDC
View results
Submission Details
Severity: medium
Invalid

In `MembershipFactory`, `upgradeTier` does not update `minted` amounts

Summary

In MembershipFactory, upgradeTier does not update minted amounts. This would results in miscalculation of maximum capacity for each tier. This miscalculations reduces clarity and also does not behave intended way. Also when tiers would have some extra benefits, current implementation would not have enough control over the distribution of tiers. If this is intended behaviour, then current implementation is messy, since a parameter similar to '_totalSupply' in the token contract can be used.

Mitigation

Update the minted token amounts.

Updates

Lead Judging Commences

0xbrivan2 Lead Judge about 1 year ago
Submission Judgement Published
Invalidated
Reason: Known issue

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.

Give us feedback!