mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-28 16:47:57 +00:00
2e5522444a
* Use 'Pallet' struct in construct_runtime. * Fix genesis and metadata macro. * Fix 'Pallet' type alias. * Replace 'Module' with 'Pallet' for all construct_runtime use cases. * Replace more deprecated 'Module' struct. * Bring back AllModules and AllPalletsWithSystem type, but deprecate them. * Replace deprecated 'Module' struct from merge master. * Minor fix. * Fix UI tests. * Revert UI override in derive_no_bound. * Fix more deprecated 'Module' use from master branch. * Fix more deprecated 'Module' use from master branch.
Nicks Module
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.
License: Apache-2.0