Module substrate_subxt::staking[][src]

Implements support for the pallet_staking module.

Structs

ActiveEraInfo

Information regarding the active era (era in used in session).

BondCall

Take the origin account as a stash and lock up value of its balance. controller will be the account that controls it.

BondedStore

Map from all locked “stash” accounts to the controller account.

ChillCall

Declare no desire to either validate or nominate.

CurrentEraStore

The current era index.

EraRewardPoints

Reward points of an era. Used to split era total payout between validators.

ErasRewardPointsStore

Rewards for the last HISTORY_DEPTH eras. If reward hasn’t been set or has been removed then 0 reward is returned.

Exposure

A snapshot of the stake backing a single validator in the system.

HistoryDepthStore

Number of eras to keep in history.

LedgerStore

Map from all (unlocked) “controller” accounts to the info regarding the staking.

NominateCall

Declare the desire to nominate targets for the origin controller.

Nominations

A record of the nominations made by a specific account.

NominatorsStore

The map from nominator stash key to the set of stash keys of all validators to nominate.

PayeeStore

Where the reward payment should be made. Keyed by stash.

SetPayeeCall

Preference of what happens regarding validation.

StakingLedger

The ledger of a (bonded) stash.

ValidateCall

Declare the desire to validate for the origin controller.

ValidatorPrefs

Preference of what happens regarding validation.

ValidatorsStore

The map from (wannabe) validator stash key to the preferences of that validator.

Enums

RewardDestination

A destination account for payment.

Traits

BondCallExt

Call extension trait.

BondedStoreExt

Store extension trait.

ChillCallExt

Call extension trait.

CurrentEraStoreExt

Store extension trait.

ErasRewardPointsStoreExt

Store extension trait.

HistoryDepthStoreExt

Store extension trait.

LedgerStoreExt

Store extension trait.

NominateCallExt

Call extension trait.

NominatorsStoreExt

Store extension trait.

PayeeStoreExt

Store extension trait.

SetPayeeCallExt

Call extension trait.

Staking

The subset of the frame::Trait that a client must implement.

StakingEventTypeRegistry

EventTypeRegistry extension trait.

ValidateCallExt

Call extension trait.

ValidatorsStoreExt

Store extension trait.

Type Definitions

EraIndex

Counter for the number of eras that have passed.

RewardPoint

Counter for the number of “reward” points earned by a given validator.