Trait PayoutPerBlock

Source
pub trait PayoutPerBlock<Imbalance> {
    // Required methods
    fn treasury(reward: Imbalance);
    fn collators(reward: Imbalance);
}
Expand description

Defines functions used to payout the beneficiaries of block rewards

Required Methods§

Source

fn treasury(reward: Imbalance)

Payout reward to the treasury.

Source

fn collators(reward: Imbalance)

Payout reward to the collator responsible for producing the block.

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§