Struct near_runtime::ValidatorAccountsUpdate[][src]

pub struct ValidatorAccountsUpdate {
    pub stake_info: HashMap<AccountId, Balance>,
    pub validator_rewards: HashMap<AccountId, Balance>,
    pub last_proposals: HashMap<AccountId, Balance>,
    pub protocol_treasury_account_id: Option<AccountId>,
    pub slashing_info: HashMap<AccountId, Option<Balance>>,
}

Contains information to update validators accounts at the first block of a new epoch.

Fields

stake_info: HashMap<AccountId, Balance>

Maximum stake across last 3 epochs.

validator_rewards: HashMap<AccountId, Balance>

Rewards to distribute to validators.

last_proposals: HashMap<AccountId, Balance>

Stake proposals from the last chunk.

protocol_treasury_account_id: Option<AccountId>

The ID of the protocol treasure account if it belongs to the current shard.

slashing_info: HashMap<AccountId, Option<Balance>>

Accounts to slash and the slashed amount (None means everything)

Trait Implementations

impl Debug for ValidatorAccountsUpdate[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,