Expand description
Functions§
- accept_
username - Accept a given username that an
authority
granted. The call must include the full username, as inusername.suffix
. - add_
registrar - Add a registrar to the system.
- add_sub
- Add the given account to the sender’s subs.
- add_
username_ authority - Add an
AccountId
with permission to grant usernames with a givensuffix
appended. - cancel_
request - Cancel a previous request.
- clear_
identity - Clear an account’s identity info and all sub-accounts and return all deposits.
- kill_
identity - Remove an account’s identity and sub-account information and slash the deposits.
- kill_
username - Call with ForceOrigin privileges which deletes a username and slashes any deposit associated with it.
- provide_
judgement - Provide a judgement for an account’s identity.
- quit_
sub - Remove the sender as a sub-account.
- remove_
expired_ approval - Remove an expired username approval. The username was approved by an authority but never
accepted by the user and must now be beyond its expiration. The call must include the
full username, as in
username.suffix
. - remove_
sub - Remove the given account from the sender’s subs.
- remove_
username - Permanently delete a username which has been unbinding for longer than the grace period. Caller is refunded the fee if the username expired and the removal was successful.
- remove_
username_ authority - Remove
authority
from the username authorities. - rename_
sub - Alter the associated name of the given sub-account.
- request_
judgement - Request a judgement from a registrar.
- set_
account_ id - Change the account associated with a registrar.
- set_fee
- Set the fee required for a judgement to be requested from a registrar.
- set_
fields - Set the field information for a registrar.
- set_
identity - Set an account’s identity information and reserve the appropriate deposit.
- set_
primary_ username - Set a given username as the primary. The username should include the suffix.
- set_
subs - Set the sub-accounts of the sender.
- set_
username_ for - Set the username for
who
. Must be called by a username authority. - unbind_
username - Start the process of removing a username by placing it in the unbinding usernames map. Once the grace period has passed, the username can be deleted by calling remove_username.