The minted
count is not updated during tier upgrades, risking a breach of the allowed amount for a given tier, which undermines the DAO’s design.
The minted
variable in daos[daoMembershipAddress].tiers[tierIndex]
is intended to track the number of NFTs minted for each tier to ensure it does not exceed the set amount
. This is enforced in the joinDAO function:
However, in the upgradeTier
function, when a user burns two NFTs of fromTierIndex - 1
and mints one NFT for fromTierIndex
, the minted count is not updated accordingly:
This lack of synchronization between the minted count and the actual NFT supply results in an inconsistency with the intended design. Consequently, the minted amount can exceed the set amount for a given tier, breaking the intended restrictions of the DAO structure.
The inconsistency in tracking minted NFTs can result in the minted amount exceeding the tier’s allowed amount, potentially disrupting the DAO’s intended tier limits and restrictions.
Manual
Update the minted
count within the upgradeTier
function to reflect the actual NFT supply and maintain consistency with the DAO’s design requirements.
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.