Module msa

Source
Expand description

Structs and traits for the MSA pallet.

Re-exports§

pub use crate::schema::SchemaId;

Structs§

AccountId20Response
Response type for getting Ethereum address as a 20-byte array and checksummed hex string
Delegation
Struct for the information of the relationship between an MSA and a Provider
DelegationResponse
RPC response for getting delegated providers with their permissions
DelegatorId
A DelegatorId an MSA Id serving the role of a Delegator. Delegators delegate to Providers. Encodes and Decodes as just a u64
H160
Ethereum address type alias Fixed-size uninterpreted hash type with 20 bytes (160 bits) size.
KeyInfoResponse
RPC Response for getting MSA keys
ProviderApplicationContext
RPC Response for getting ProviderApplicationContext
ProviderId
Provider is the recipient of a delegation. It is a subset of an MSA Encodes and Decodes as just a u64
ProviderRegistryEntry
This is the metadata associated with a provider. As of now it is just a name, but it will likely be expanded in the future Generic over size constraints to be used in common types.
SchemaGrant
RPC response for getting schema permission grants
SignatureRegistryPointer
The pointer value for the Signature Registry

Traits§

DelegationValidator
A behavior that allows for validating a delegator-provider relationship
MsaKeyProvider
A trait that allows checking whether adding a key may be subsidized
MsaLookup
A behavior that allows looking up an MSA id
MsaValidator
A behavior that allows for validating an MSA
ProviderLookup
A behavior that allows for looking up delegator-provider relationships
SchemaGrantValidator
A behavior that allows for validating a schema grant

Type Aliases§

ApplicationContext
ApplicationContext is type of ProviderRegistryEntry
ApplicationIndex
ApplicationIndex type
MessageSourceId
Message Source Id or msaId is the unique identifier for Message Source Accounts