Function parachain_staking::pallet::dispatchables::claim_rewards
source · pub fn claim_rewards<T: Config>()
Expand description
Claim block authoring rewards for the target address.
Requires Rewards
to be set beforehand, which can by triggered by
any of the following options
- Calling increment_{collator, delegator}_rewards (active)
- Altering your stake (active)
- Leaving the network as a collator (active)
- Revoking a delegation as a delegator (active)
- Being a delegator whose collator left the network, altered their stake or incremented rewards (passive)
The dispatch origin can be any signed one, e.g., anyone can claim for anyone.
Emits Rewarded
.
Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::claim_rewards
.