referrerpolicy=no-referrer-when-downgrade

Function pallet_indices::pallet::dispatchables::freeze

source ·
pub fn freeze<T: Config>(index: T::AccountIndex)
Expand description

Freeze an index so it will always point to the sender account. This consumes the deposit.

The dispatch origin for this call must be Signed and the signing account must have a non-frozen account index.

  • index: the index to be frozen in place.

Emits IndexFrozen 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::freeze.