pub fn set_name<T: Config>(name: Vec<u8>)
Expand description

Set an account’s name. The name should be a UTF-8-encoded string by convention, though we don’t check it.

The name may not be more than T::MaxLength bytes, nor less than T::MinLength bytes.

If the account doesn’t already have a name, then a fee of ReservationFee is reserved in the account.

The dispatch origin for this call must be Signed.

Complexity

  • O(1).

Warning: Doc-Only

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