pub fn withdraw_unbonded<T: Config>(
    member_account: <<T as Config>::Lookup as StaticLookup>::Source,
    num_slashing_spans: u32
Expand description

Withdraw unbonded funds from member_account. If no bonded funds can be unbonded, an error is returned.

Under certain conditions, this call can be dispatched permissionlessly (i.e. by any account).

Conditions for a permissionless dispatch

  • The pool is in destroy mode and the target is not the depositor.
  • The target is the depositor and they are the only member in the sub pools.
  • The pool is blocked and the caller is either the root or bouncer.

Conditions for permissioned dispatch

  • The caller is the target and they are not the depositor.


If the target is the depositor, the pool will be destroyed.

Warning: Doc-Only

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