Expand description
Structs and traits for the MSA pallet.
Re-exports§
pub use crate::schema::SchemaId;
Structs§
- Account
Id20 Response - 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
- Delegation
Response - RPC response for getting delegated providers with their permissions
- Delegator
Id - 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.
- KeyInfo
Response - RPC Response for getting MSA keys
- Provider
Id - Provider is the recipient of a delegation.
It is a subset of an MSA
Encodes and Decodes as just a
u64
- Provider
Registry Entry - 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
- Schema
Grant - RPC response for getting schema permission grants
- Signature
Registry Pointer - The pointer value for the Signature Registry
Traits§
- Delegation
Validator - A behavior that allows for validating a delegator-provider relationship
- MsaKey
Provider - 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
- Provider
Lookup - A behavior that allows for looking up delegator-provider relationships
- Schema
Grant Validator - A behavior that allows for validating a schema grant
Type Aliases§
- Message
Source Id - Message Source Id or msaId is the unique identifier for Message Source Accounts