pub fn free<T: Config>(index: T::AccountIndex)
Expand description

Free up an index owned by the sender.

Payment: Any previous deposit placed for the index is unreserved in the sender account.

The dispatch origin for this call must be Signed and the sender must own the index.

  • index: the index to be freed. This must be owned by the sender.

Emits IndexFreed if successful.

Complexity

  • O(1).

Warning: Doc-Only

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