Function demit

Source
pub fn demit<T: Config>()
Expand description

Resign from the author role and exit active participation.

Releases the caller’s collateral while retaining any external backing relationships until funders explicitly exit their positions.

§Behavior

  • Removes the caller from active author participation.
  • Releases all locked collateral back to the caller.
  • External funders/backers must withdraw separately via Pallet::exit.
  • The author’s digest is reaped only if no active backing remains.

Emits: Event::AuthorResigned

§Warning: Doc-Only

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