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.
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.
Take the origin account as a stash and lock up
valueof its balance.controllerwill be the account that controls it.valuemust be more than theminimum_balancespecified byT::Currency.The dispatch origin for this call must be Signed by the stash account.
Emits
Bonded.NOTE: Two of the storage writes (
Self::bonded,Self::payee) are never cleaned unless theoriginfalls below existential deposit (or equal to 0) and gets removed as dust.