hopper-lending 0.2.0

Lending protocol primitives for Hopper: collateralization ratios, health checks, liquidation math, interest calculations. Zero-copy, no_std, no_alloc, BPF-safe.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
#![no_std]
//! # hopper-lending
//!
//! Collateralization, liquidation, interest, utilization.
//!
//! Every lending protocol does the same math: collateral ratios, health
//! checks, liquidation thresholds, interest rate curves, utilization rates.
//! This crate gives you the building blocks so you write the logic once
//! and get it right. All basis-point denominated, all overflow-checked.

mod lending;
pub use lending::*;