Type Alias pallet_staking::Ledger

source ·
pub type Ledger<T: Config> = StorageMap<_GeneratedPrefixForStorageLedger<T>, Blake2_128Concat, T::AccountId, StakingLedger<T>>;
Expand description

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

Note: All the reads and mutations to this storage MUST be done through the methods exposed by StakingLedger to ensure data and lock consistency.

Storage type is [StorageMap] with key type T :: AccountId and value type StakingLedger < T >.

Aliased Type§

struct Ledger<T: Config>(/* private fields */);