Function pallet_staking::dispatchables::payout_stakers
source · pub fn payout_stakers<T: Config>(validator_stash: T::AccountId, era: EraIndex)
Expand description
Pay out all the stakers behind a single validator for a single era.
validator_stash
is the stash account of the validator. Their nominators, up toT::MaxNominatorRewardedPerValidator
, will also receive their rewards.era
may be any era between[current_era - history_depth; current_era]
.
The origin of this call must be Signed. Any account can call this function, even if it is not one of the stakers.
Complexity
- At most O(MaxNominatorRewardedPerValidator).
Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::payout_stakers
.