The _calculate_vested_amount
function is used to calculate the amount of tokens that have vested (been granted) at a given time during a vesting period. The function takes one parameter, total_amount
, which represents the total number of tokens to be vested.
in lines
Parameters instant_release
linear_vesting
for small amount can be round down to zero.
The vested
can be wrong
manual review
Add threshold
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.