The EXTERNAL_CALLER
updates the tier configurations for a specific DAO using the updateDAOMembership
call. This includes adjusting the maximum number of members per tier or price. Any user has the opportunity to frontrun this call to gain an advantage.
Scenarios:
A user notices the updateDAOMembership
call, where the price for Tier 0 will increase from 1000e6 USDC to 1100e6 USDC. The user frontruns the call to purchase an NFT at the lower price before the update takes effect.
A user sees the updateDAOMembership
call, which will decrease the maximum number of members for Tier 5 from 10 to 8. At the time, 7 NFTs for Tier 5 have already been minted. The user frontruns the call to buy two additional NFTs for Tier 5, even though the updated limit will be 8.
User can buy NFT for lower price before update the tier.
Manual review
Consider implementing a pause mechanism or a similar safeguard before updating the tier configurations to prevent such frontrunning behavior.
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.