Function parachain_staking::pallet::dispatchables::payout_collator_rewards
source · pub fn payout_collator_rewards<T: Config>(
collator: T::AccountId,
number_of_sesisons: Option<u32>
)
Expand description
This extrinsic should be used to distribute rewards for collator and assodiated delegators. As round rewards are processed in random order its impossible predict how many delegators (and assodiated transfer extrinsic calls) will be required so worst case scenario (delegators_count = MaxCollatorCandidates) is assumed.
params:
- collator - account id
- limit - number of rewards periods that should be processed within extrinsic. Note
that limit assumes worst case scenario of (delegators_count = MaxCollatorCandidates)
so as a result,
limit
or more session round rewards may be distributed
Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::payout_collator_rewards
.