Expand description
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.
- 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.