referrerpolicy=no-referrer-when-downgrade

Function unreserve_crowdloan_reserve

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

Unreserve the deposit that was taken for creating a crowdloan.

This can be called once either:

  • The crowdloan failed to win an auction and timed out
  • Won an auction, all leases expired and all contributions are withdrawn

Can be called by any signed origin. The condition that all contributions are withdrawn is in place since the reserve acts as a storage deposit.

§Warning: Doc-Only

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