Expand description
Primitives for domains pallet.
Modules§
Structs§
- Domain bundle.
- A digest of the bundle
- Domain chains allowlist updates.
- Unique identifier of a domain.
DomainInstanceData
is used to construct the genesis storage of domain instance chain- Domain Sudo runtime call.
- Receipt of a domain block execution.
InboxedBundle
represents a bundle that was successfully submitted to the consensus chain- A type that implements
BoundToRuntimeAppPublic
, used for operator signing key. - Preimage to verify the proof of ownership of Operator Signing key. Operator owner is used to ensure the signature is used by anyone except the owner of the Signing key pair.
- Header of bundle.
- Singleton receipt submit along when there is a gap between
domain_best_number
andHeadReceiptNumber
- Type that holds the transfers(in/out) for a given chain.
Enums§
- Identifier of a chain.
- Domains specific digest item.
- Represents the extrinsic either as full data or hash of the data.
- Bundle invalidity type
- Receipt invalidity type.
- Type that represents an operator allow list for Domains.
- Permissioned actions allowed by either specific accounts or anyone.
- Types of runtime pallet domains currently supports
Constants§
- Extrinsics shuffling seed
- Empty extrinsics root.
- Initial tx range = U256::MAX / INITIAL_DOMAIN_TX_RANGE.
- Key type for Operator.
Traits§
- Post hook to know if the domain had bundle submitted in the previous block.
- Trait to check domain owner.
- API necessary for domains pallet.
- Domains specific digest items.
- Trait that tracks the balances on Domains.
- Hook to handle chain rewards.
- A hook to call after a domain is instantiated
Functions§
- Calculates the max bundle weight and size
- Account info on frame_system on Domains
- Total issuance storage for Domains.
- This is a representation of actual Block Fees storage in pallet-block-fees. Any change in key or value there should be changed here accordingly.
- The storage key of the
SelfDomainId
storage item in thepallet-domain-id
- Checks if the signer Id hash is within the tx range
- Digest storage key in frame_system. Unfortunately, the digest storage is private and not possible to derive the key from it directly.
Type Aliases§
- Channel identity.
- Type representing domain epoch.
- The Trie root of all extrinsics included in a bundle.
- Type alias for Header hash.
- Type alias for Header Hashing.
- Type alias for Header number.
- Bundle with opaque extrinsics.
- List of
OpaqueBundle
. - Type representing operator ID
- An operator authority keypair. Necessarily equivalent to the schnorrkel public key used in the main executor module. If that ever changes, then this must, too.
- An operator authority identifier.
- An operator authority signature.
- Type representing the runtime ID.
- Stake weight in the domain bundle election.