referrerpolicy=no-referrer-when-downgrade

Function withdraw_crowdloan_contribution

Source
pub fn withdraw_crowdloan_contribution<T: Config>(
    block: BlockNumberFor<T>,
    depositor: Option<T::AccountId>,
    para_id: ParaId,
)
Expand description

Withdraw the contribution of a finished crowdloan.

A crowdloan contribution can be withdrawn if either:

  • The crowdloan failed to in an auction and timed out
  • Won an auction and all leases expired

Can be called by any signed origin.

§Warning: Doc-Only

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