Expand description
Functions§
- apply_
slash - Manually and permissionlessly applies a deferred slash for a given era.
- bond
- Take the origin account as a stash and lock up
value
of its balance.controller
will be the account that controls it. - bond_
extra - Add some extra amount that have appeared in the stash
free_balance
into the balance up for staking. - cancel_
deferred_ slash - Cancels scheduled slashes for a given era before they are applied.
- chill
- Declare no desire to either validate or nominate.
- chill_
other - Declare a
controller
to stop participating as either a validator or nominator. - deprecate_
controller_ batch - Updates a batch of controller accounts to their corresponding stash account if they are not the same. Ignores any controller accounts that do not exist, and does not operate if the stash and controller are already the same.
- force_
apply_ min_ commission - Force a validator to have at least the minimum commission. This will not affect a validator who already has a commission greater than or equal to the minimum. Any account can call this.
- force_
new_ era - Force there to be a new era at the end of the next session. After this, it will be reset to normal (non-forced) behaviour.
- force_
new_ era_ always - Force there to be a new era at the end of sessions indefinitely.
- force_
no_ eras - Force there to be no new eras indefinitely.
- force_
unstake - Force a current staker to become completely unstaked, immediately.
- increase_
validator_ count - Increments the ideal number of validators up to maximum of
T::MaxValidatorSet
. - kick
- Remove the given nominations from the calling validator.
- migrate_
currency - Migrates permissionlessly a stash from locks to holds.
- nominate
- Declare the desire to nominate
targets
for the origin controller. - payout_
stakers - Pay out next page of the stakers behind a validator for the given era.
- payout_
stakers_ by_ page - Pay out a page of the stakers behind a validator for the given era and page.
- reap_
stash - Remove all data structures concerning a staker/stash once it is at a state where it can
be considered
dust
in the staking system. The requirements are: - rebond
- Rebond a portion of the stash scheduled to be unlocked.
- restore_
ledger - Restores the state of a ledger which is in an inconsistent state.
- scale_
validator_ count - Scale up the ideal number of validators by a factor up to maximum of
T::MaxValidatorSet
. - set_
controller - (Re-)sets the controller of a stash to the stash itself. This function previously
accepted a
controller
argument to set the controller to an account other than the stash itself. This functionality has now been removed, now only setting the controller to the stash, if it is not already. - set_
invulnerables - Set the validators who cannot be slashed (if any).
- set_
min_ commission - Sets the minimum amount of commission that each validators must maintain.
- set_
payee - (Re-)set the payment target for a controller.
- set_
staking_ configs - Update the various staking configurations .
- set_
validator_ count - Sets the ideal number of validators.
- unbond
- Schedule a portion of the stash to be unlocked ready for transfer out after the bond
period ends. If this leaves an amount actively bonded less than
asset::existential_deposit
, then it is increased to the full amount. - update_
payee - Migrates an account’s
RewardDestination::Controller
toRewardDestination::Account(controller)
. - validate
- Declare the desire to validate for the origin controller.
- withdraw_
unbonded - Remove any stake that has been fully unbonded and is ready for withdrawal.