pub trait GetInflation<T: Config> {
// Required method
fn get_inflation_args(
&self,
eras_per_year: u32,
current_supply: <<T as Config>::Currency as Currency<<T as Config>::AccountId>>::Balance,
) -> <<T as Config>::Currency as Currency<<T as Config>::AccountId>>::Balance;
}
Expand description
Getter trait for the inflation amount to be minted in each era.