Crate domain_runtime_primitives

source ·
Expand description

Common primitives for subspace domain runtime.

Modules§

  • Opaque types. These are used by the CLI to instantiate machinery that don’t need to know the specifics of the runtime. They can then be made to be agnostic over specific formats of data like extrinsics, allowing for them to continue syncing the network through upgrades to even the core data structures.

Structs§

Enums§

  • MultiAccountId used by all the domains to describe their account type.

Constants§

Traits§

  • Extracts the signer from an unchecked extrinsic.
  • Extensible conversion trait. Generic over both source and destination types.

Functions§

Type Aliases§

  • Some way of identifying an account on the chain. We intentionally make it equivalent to the public key of our transaction signing scheme.
  • The address format for describing accounts.
  • Balance of an account.
  • An index to a block.
  • The EVM chain Id type
  • A hash of some data used by the chain.
  • Index of a transaction in the chain.
  • Alias to 512-bit hash when used in the context of a transaction signature on the chain.