Incorrect max total supply check used in lock function in ve raac contract
Following is lock function
Firstly it checks that if (totalSupply() + amount > MAX_TOTAL_SUPPLY) this is wrong because ve raac token = new powers are minted to the user so if (totalSupply() + newPower > MAX_TOTAL_SUPPLY) should be checked.
Incorrect check used
Use this check instead at the end of the function
if (totalSupply() + newPower > MAX_TOTAL_SUPPLY)
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.