Function pallet_nomination_pools::pallet::dispatchables::migrate_delegation
source · pub fn migrate_delegation<T: Config>(
member_account: <<T as Config>::Lookup as StaticLookup>::Source,
)
Expand description
Migrates delegated funds from the pool account to the member_account
.
Fails unless crate::pallet::Config::StakeAdapter
is of strategy type:
adapter::StakeStrategyType::Delegate
.
This is a permission-less call and refunds any fee if claim is successful.
If the pool has migrated to delegation based staking, the staked tokens of pool members
can be moved and held in their own account. See adapter::DelegateStake
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::migrate_delegation
.