Expand description
Functions§
- change_
staking_ target - 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_
staking_ rewards - 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.
- provider_
boost - 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.
- set_
epoch_ length - Sets the epoch period length (in blocks).
- stake
- Stakes some amount of tokens to the network and generates Capacity.
- unstake
- Schedules an amount of the stake to be unlocked.
- withdraw_
unstaked - Removes all thawed UnlockChunks from caller’s UnstakeUnlocks and thaws(unfreezes) the sum of the thawed values in the caller’s token account.