All chains
    Preparing search index...
    bond: TxDescriptor<{ payee: StakingRewardDestination; value: bigint }>

    Take the origin account as a stash and lock up value of its balance. controller will be the account that controls it.

    value must be more than the minimum_balance specified by T::Currency.

    The dispatch origin for this call must be Signed by the stash account.

    Emits Bonded.

    • Independent of the arguments. Moderate complexity.
    • O(1).
    • Three extra DB entries.

    NOTE: Two of the storage writes (Self::bonded, Self::payee) are never cleaned unless the origin falls below existential deposit (or equal to 0) and gets removed as dust.