referrerpolicy=no-referrer-when-downgrade

Function migrate_currency

Source
pub fn migrate_currency<T: Config>(stash: T::AccountId)
Expand description

Migrates permissionlessly a stash from locks to holds.

This removes the old lock on the stake and creates a hold on it atomically. If all stake cannot be held, the best effort is made to hold as much as possible. The remaining stake is removed from the ledger.

The fee is waived if the migration is successful.

§Warning: Doc-Only

This function is an automatically generated, and is doc-only, uncallable stub. See the real version in Pallet::migrate_currency.