jiminy-vesting 0.17.0

Vesting schedule helpers for Jiminy: linear+cliff, stepped, periodic unlock, claimable calculations. Zero-copy, no_std, no_alloc, BPF-safe.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
#![no_std]
//! # jiminy-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::*;
pub use hopper_runtime;