Struct solana_sdk::inflation::Inflation [−][src]
pub struct Inflation { pub initial: f64, pub terminal: f64, pub taper: f64, pub foundation: f64, pub foundation_term: f64, // some fields omitted }
Fields
initial: f64
Initial inflation percentage, from time=0
terminal: f64
Terminal inflation percentage, to time=INF
taper: f64
Rate per year, at which inflation is lowered until reaching terminal i.e. inflation(year) == MAX(terminal, initial*((1-taper)^year))
foundation: f64
Percentage of total inflation allocated to the foundation
foundation_term: f64
Duration of foundation pool inflation, in years
Implementations
portion of total that goes to foundation
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Inflation
impl UnwindSafe for Inflation
Blanket Implementations
pub default fn visit_for_abi(
&self,
digester: &mut AbiDigester
) -> Result<AbiDigester, DigestError>
pub default fn visit_for_abi(
&self,
_digester: &mut AbiDigester
) -> Result<AbiDigester, DigestError>
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self