jiminy-staking 0.17.0

Staking reward accumulators for Jiminy: MasterChef-style reward-per-token, emission rates, reward debt tracking. Zero-copy, no_std, no_alloc, BPF-safe.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
#![no_std]
//! # jiminy-staking
//!
//! MasterChef-style reward accumulators.
//!
//! Reward-per-token accumulator, emission rates, pending rewards, and
//! reward debt tracking. The same math everyone copies from MasterChef,
//! except you don't have to re-derive it from another Solana program. u128
//! precision throughout.

mod staking;
pub use staking::*;
pub use hopper_runtime;