The block timestamp can be influenced by miners to a certain degree. And it is used inside the `VestedAirdrop
` contract to define if we have reached TGE or the end of the vesting period.
VestedAirdrop::_calculate_vested_amount
, VestedAirdrop::claimable_amount
, and VestedAirdrop::claim
use the block timestamp to calculate the vested and claimable amounts. This could be manipulated by miners to negatively affect the contract.
The impact should be minimal since the period between TGE and the end of the vesting period is likely long enough to prevent miners from significantly manipulating the timestamp. However, it remains a risk to consider.
Consider adding a delay if you intend to use timestamps in the contract (e.g., 15 seconds). Alternatively, use block numbers instead of timestamps to calculate the time passed, though this could be more complex. Another option is to use an oracle to obtain the timestamp.
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.