pub fn claim<T: Config>(name: Web3NameInput<T>)
Expand description

Assign the specified name to the owner as specified in the origin.

The name must not have already been claimed by someone else and the owner must not already own another name.

Emits Web3NameClaimed if the operation is carried out successfully.

Weight: O(1)

  • Reads: Names, Owner, Banned storage entries + available currency check + origin check
  • Writes: Names, Owner storage entries + currency deposit reserve

Warning: Doc-Only

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