pub trait EraPayout<Balance> {
    fn era_payout(
        total_staked: Balance,
        total_issuance: Balance,
        era_duration_millis: u64
    ) -> (Balance, Balance); }
Expand description

Handler for determining how much of a balance should be paid out on the current era.

Required Methods§

Determine the payout for this era.

Returns the amount to be paid to stakers in this era, as well as whatever else should be paid out (“the rest”).

Implementations on Foreign Types§

Implementors§