pub fn migrate_pool_to_delegate_stake<T: Config>(pool_id: PoolId)
Expand description
Migrate pool from adapter::StakeStrategyType::Transfer
to
adapter::StakeStrategyType::Delegate
.
Fails unless crate::pallet::Config::StakeAdapter
is of strategy type:
adapter::StakeStrategyType::Delegate
.
This call can be dispatched permissionlessly, and refunds any fee if successful.
If the pool has already migrated to delegation based staking, this call will fail.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::migrate_pool_to_delegate_stake
.