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§
Sourcefn set_staking_token_issuance_for_epoch(&mut self, issuance: Amount)
fn set_staking_token_issuance_for_epoch(&mut self, issuance: Amount)
Set the total amount of staking tokens issued for this epoch.
Sourcefn put_distributions_params(&mut self, params: DistributionsParameters)
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.