Expand description
Shared integer accounting math for Roshi vaults.
Constants§
Functions§
- assets_
for_ redeem - base_
atoms_ from_ asset_ atoms - bps_
ceil - bps_
floor - checked_
u64 - initial_
shares_ from_ base_ atoms - mul_
div_ ceil - mul_
div_ ceil_ u64 - mul_
div_ floor - mul_
div_ floor_ u64 - performance_
fee_ for_ nav - pow10
- share_
price_ from_ assets - shares_
for_ deposit - validate_
percentage_ bps