hopper-vesting 0.2.0

Token vesting schedule calculations for Hopper. Linear with cliff, stepped/periodic unlocks, safe claimable amounts.
Documentation
1
2
3
4
5
6
7
8
9
10
11
#![no_std]
//! # hopper-vesting
//!
//! Linear, cliff, stepped, and periodic unlock schedules.
//!
//! Calculate how many tokens a user can claim right now, given a schedule
//! and a timestamp. Covers every common vesting curve: linear with cliff,
//! stepped (monthly/quarterly), periodic, and custom combinations.

mod vesting;
pub use vesting::*;