penumbra_distributions::component

Trait StateWriteExt

Source
pub trait StateWriteExt: StateWrite + StateReadExt {
    // Provided methods
    fn set_staking_token_issuance_for_epoch(&mut self, issuance: Amount) { ... }
    fn put_distributions_params(&mut self, params: DistributionsParameters) { ... }
}
Available on crate feature component only.

Provided Methods§

Source

fn set_staking_token_issuance_for_epoch(&mut self, issuance: Amount)

Set the total amount of staking tokens issued for this epoch.

Source

fn put_distributions_params(&mut self, params: DistributionsParameters)

Set the Distributions parameters in the JMT.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§