hopper-distribute 0.2.0

Dust-safe proportional distribution and fee extraction for Hopper. Largest-remainder splitting, basis-point + flat fees.
Documentation
1
2
3
4
5
6
7
8
9
10
#![no_std]
//! # hopper-distribute
//!
//! Weighted splits and basis-point fee extraction.
//!
//! Split a token amount N ways by weight, extract protocol fees, and
//! guarantee that `sum(parts) == total` -- no dust left behind.

mod distribute;
pub use distribute::*;