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

Assign an previously unassigned index.

Payment: Deposit is reserved from the sender account.

The dispatch origin for this call must be Signed.

  • index: the index to be claimed. This must not be in use.

Emits IndexAssigned 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::claim.