Error checking in the TempleGold::_canDistribute
allows token to be distributed even when MAXSUPPLY is reached
When _totalDistributed + mintAmount
> MAX_SUPPLY
, as long as mintAmount >= MINIMUM_MINT
, _canDistribute
can still return true, which makes the distributed tokens exceed MAX_SUPPLY
and does not meet the definition of MAX_SUPPLY
Manual review
_totalDistributed + mintAmount
> MAX_SUPPLY
should return false
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.