Expand description
Functions§
- add_
public_ key_ to_ msa - Adds a new public key to an existing Message Source Account (MSA). This functionality enables the MSA owner to manage multiple keys for their account or rotate keys for enhanced security.
- add_
recovery_ commitment - Adds a Recovery Commitment to an MSA. The Recovery Commitment is a cryptographic commitment that can be used later in a recovery process to prove ownership or authorization.
- approve_
recovery_ provider - Approves a recovery provider via governance. Only governance can approve recovery providers.
- create
- Creates an MSA for the Origin (sender of the transaction). Origin is assigned an MSA ID.
- create_
application - Create application allows creating an application registry without governance This call is blocked in release mode
- create_
application_ via_ governance - Create application via governance approval
- create_
provider - Adds an association between MSA id and ProviderRegistryEntry. As of now, the only piece of metadata we are recording is provider name.
- create_
provider_ via_ governance - Create a provider by means of governance approval
- create_
provider_ via_ governance_ v2 - Create a provider by means of governance approval
- create_
sponsored_ account_ with_ delegation Origin
MSA creates an MSA on behalf ofdelegator_key
, creates a Delegation with thedelegator_key
’s MSA as the Delegator andorigin
asProvider
. Deposits eventsMsaCreated
andDelegationGranted
.- delete_
msa_ public_ key - Remove a key associated with an MSA by expiring it at the current block.
- grant_
delegation - Creates a new Delegation for an existing MSA, with
origin
as the Provider anddelegator_key
is the delegator. Since it is being sent on the Delegator’s behalf, it requires the Delegator to authorize the new Delegation. - propose_
to_ add_ application - Propose to add application enable provider to add multiple applications on frequency. Provider initiates a governance proposal to add the application.
- propose_
to_ be_ provider - Propose to be a provider. Creates a proposal for council approval to create a provider from a MSA
- propose_
to_ be_ provider_ v2 - Propose to be a provider. Creates a proposal for council approval to create a provider from a MSA
- propose_
to_ update_ application - Propose to update application via governance for a given
ApplicationIndex
- propose_
to_ update_ provider - Propose to update provider registry via governance
- recover_
account - Recover an MSA account with a new control key. This extrinsic is called by approved Recovery Providers after verifying the user’s Recovery Intermediary Hashes and Authentication Contact.
- reindex_
offchain - A generic endpoint to replay any offchain related event to fix any potential issues
- remove_
recovery_ provider - Removes a recovery provider via governance. Only governance can remove recovery providers.
- retire_
msa - Retires a MSA
- revoke_
delegation_ by_ delegator - Delegator (Origin) MSA terminates a delegation relationship with the
Provider
MSA. Deposits eventDelegationRevoked
. - revoke_
delegation_ by_ provider - Provider MSA terminates Delegation with a Delegator MSA by expiring the Delegation at the current block.
- update_
application_ via_ governance - Update application via governance for given existing
ApplicationIndex
- update_
provider_ via_ governance - Update a provider by means of governance approval
- upload_
logo - Upload logo bytes for a approved image in
ApprovedLogos
- withdraw_
tokens - Withdraw all available tokens from the account associated with the MSA, to the account of the caller.