Although upgradeTier requires burning 2 tokens to upgrade tiers, users can still potentially reduce the total cost of obtaining higher-tier memberships by using 2 lower-tier tokens and upgrading if the price differences between tiers are not properly balanced.
Consider the following scenario in the code:
Assume the following price structure:
Tier 1: 100 tokens
Tier 0: 300 tokens
A user could:
use 2 Tier 1 tokens to upgrade to Tier 0
Total cost: 200 tokens to obtain Tier 0, instead of 300 tokens through joinDAO function.
1.Undermines intended pricing strategy
2.Loss of revenue for DAO and platform
3.Potential devaluation of higher-tier memberships
4.Disrupts the economic model of the membership system
Manual code review
When creating or updating DAO configurations, implement validation to ensure that each tier's price is greater than twice the price of the tier below it:
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.