hopper-staking 0.2.0

Staking reward accumulators for Hopper: 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
#![no_std]
//! # hopper-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. u128 precision throughout.

mod staking;
pub use staking::*;