Linear Vesting
Pronunciation
[lih-nee-ur ves-ting]
Analogy
Linear vesting is like a drip irrigation system—water (tokens) flows steadily over time rather than all at once.
Definition
A vesting schedule where tokens become available gradually at a constant rate over a defined period after an initial start or cliff.
Key Points Intro
Linear vesting ensures smooth release via:
Key Points
Continuous unlock: Proportional tokens vest per time unit.
Predictable schedule: Beneficiary can forecast unlocked amounts.
Combines with cliff: Often begins after initial cliff.
Smart‑contract enforced: Trustless execution on‑chain.
Example
100 000 tokens vest linearly over 24 months: ~4 167 tokens unlock each month.
Technical Deep Dive
Contract stores `start`, `duration`, `totalAmount`. On `release()`, compute `vested = totalAmount × (now – start)/duration` (capped), then transfer `vested – released` and update `released`.
Security Warning
Incorrect time calculations (leap seconds, block time variance) can skew vesting; use block timestamps consistently.
Caveat
Linear release may leak tokens before intended milestones are reached.
Linear Vesting - Related Articles
No related articles for this term.