Function pallet_web3_names::pallet::dispatchables::ban
source · pub fn ban<T: Config>(name: Web3NameInput<T>)
Expand description
Ban a name.
A banned name cannot be claimed by anyone. The name’s deposit is returned to the original payer.
The origin must be the ban origin.
Emits Web3NameBanned
if the operation is carried out
successfully.
Weight: O(1)
- Reads: Banned, Owner, Names storage entries + origin check
- Writes: Names, Owner, Banned storage entries + currency deposit release
Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::ban
.