Module pallet_capacity::pallet::dispatchables
source · Expand description
Auto-generated docs-only module listing all defined dispatchables for this pallet.
Warning: Doc-Only
Members of this module cannot be used directly and are only provided for documentation
purposes. To see the real version of each dispatchable, look for them in Pallet
or
Call
.
Functions
- Sets the target of the staking capacity to a new target. This adds a chunk to
StakingDetails.stake_change_unlocking chunks
, up toT::MaxUnlockingChunks
. The staked amount and Capacity generated byamount
originally targeted to thefrom
MSA Id is reassigned to theto
MSA Id. Does not affect unstaking process or additional stake amounts. Changing a staking target to a Provider when Origin has nothing staked them will retain the staking type. Changing a staking target to a Provider when Origin has any amount staked to them will error if the staking types are not the same. - Claim all outstanding Provider Boost rewards, up to ProviderBoostHistoryLimit Reward Eras in the past. Accounts should check for unclaimed rewards before calling this extrinsic to avoid needless transaction fees. Errors: - NotAProviderBoostAccount: if Origin has nothing staked for ProviderBoost - NoRewardsEligibleToClaim: if Origin has no unclaimed rewards to pay out.
- Stakes some amount of tokens to the network and generates a comparatively small amount of Capacity for the target, and gives periodic rewards to origin.
- Sets the epoch period length (in blocks).
- Stakes some amount of tokens to the network and generates Capacity.
- Schedules an amount of the stake to be unlocked.
- Removes all thawed UnlockChunks from caller’s UnstakeUnlocks and thaws(unfreezes) the sum of the thawed values in the caller’s token account.