Expand description
Primitives for Messenger.
Modules§
Structs§
- Channel
Nonce - Inherent
Data Provider - Provides the set code inherent data.
- Inherent
Type - The type of the messenger inherent data.
Enums§
- Inherent
Error - Inherent specific errors
- XdmId
- Represent a union of XDM types with their message ID
Constants§
- INHERENT_
IDENTIFIER - Messenger inherent identifier.
- MAX_
FUTURE_ ALLOWED_ NONCES - Maximum number of XDMs per domain/channel with future nonces that are allowed to be validated. Any XDM comes with a nonce above Maximum future nonce will be rejected.
Traits§
- Domain
Registration - Trait to check if the domain is registered.
- Messenger
Api - Api to provide XDM extraction from Runtime Calls.
- OnXDM
Rewards - Trait to handle XDM rewards.
- Relayer
Api - Api useful for relayers to fetch messages and submit transactions.
- Storage
Keys - Trait that return various storage keys for storages on Consensus chain and domains