TempleGold::_getMintAmount
counts mint amount in the wrong way, which will lead to minting maximum supply of token immediately
TempleGold::_getMintAmount
has a broken formula. It counts how many tokens to mint for the particular period:
They take seconds passed and should divide it by one year in seconds, to take a correct slice from the MAX_SUPPLY. Currently, if neglect by vesting factor for simplicity, when 1 second passed, mintAmount would equal to MAX_SUPPLY already.
Will count mint in the wrong way
Manual review
Fix the formula by dividing it by the one year
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.