Function exit

Source
pub fn exit<T: Config>(from: FundingTarget<T>)
Expand description

Exit an existing backing position towards an author.

Releases the caller’s committed funds (including any applicable rewards or penalties) from a direct, index, or pool-based backing, once the position is eligible for exit.

§Behavior

  • Exits only the caller’s backing position.
  • Author collateral remains unaffected.
  • Other backers’ commitments remain intact.

§Validation

  • Ensures the backing position exists and is withdrawable.
  • Resolves the target author from index or pool digests.

Emits:

§Warning: Doc-Only

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