Token Vesting Contract
A linear token vesting contract that releases tokens over time with a cliff. A linear token vesting contract that releases tokens over time with a cliff.Explanation
Vesting schedules release tokens linearly over a duration, often with a cliff (no tokens released until a time after start). vestedAmount calculates how much is unlocked at the current block timestamp. release lets the beneficiary withdraw unlocked tokens.Code
Canonical knowledge ID:
code-example:token-vesting-contract