pub type Fraction = FixedU128<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B0>, B0>>;Expand description
Fixed-point fraction type: 128-bit unsigned, 68 integer bits, 60 fractional bits.
This is the same type used internally by the klend program for all _sf fields.
Use Fraction::from_bits to convert raw on-chain u128 values.
FixedU128 with 68 integer bits and 60 fractional bits.
Aliased Type§
pub struct Fraction { /* private fields */ }