referrerpolicy=no-referrer-when-downgrade

Function unreserve_lease_deposit

Source
pub fn unreserve_lease_deposit<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 by any signed origin. It unreserves the lease deposit on the account that won the lease auction. It can be unreserved once all leases expired. Note that it will be called automatically from withdraw_crowdloan_contribution for the matching crowdloan account.

Solo bidder accounts that won lease auctions can use this to unreserve their amount.

§Warning: Doc-Only

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