mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 15:47:58 +00:00
22632efc5f
* Re-generate READMEs to fix doc links; set readme field in package manifests * Re-generate READMEs to fix doc links; set readme field in package manifests * Re-generate READMEs to fix doc links; set readme field in package manifests * Re-generate READMEs to fix doc links; set readme field in package manifests * Revert stuff that shouldn't have been committed * Revert stuff that shouldn't have been committed * Fix parent relative link generation * Manually remove this incorrect link for now.
25 lines
948 B
Markdown
25 lines
948 B
Markdown
# Nicks Module
|
|
|
|
- [`nicks::Trait`](https://docs.rs/pallet-nicks/latest/pallet_nicks/trait.Trait.html)
|
|
- [`Call`](https://docs.rs/pallet-nicks/latest/pallet_nicks/enum.Call.html)
|
|
|
|
## Overview
|
|
|
|
Nicks is an example module for keeping track of account names on-chain. It makes no effort to
|
|
create a name hierarchy, be a DNS replacement or provide reverse lookups. Furthermore, the
|
|
weights attached to this module's dispatchable functions are for demonstration purposes only and
|
|
have not been designed to be economically secure. Do not use this pallet as-is in production.
|
|
|
|
## Interface
|
|
|
|
### Dispatchable Functions
|
|
|
|
* `set_name` - Set the associated name of an account; a small deposit is reserved if not already
|
|
taken.
|
|
* `clear_name` - Remove an account's associated name; the deposit is returned.
|
|
* `kill_name` - Forcibly remove the associated name; the deposit is lost.
|
|
|
|
[`Call`]: ./enum.Call.html
|
|
[`Trait`]: ./trait.Trait.html
|
|
|
|
License: Apache-2.0 |