Crate primitives

Source
Expand description

Low-level types used throughout the core substrate code.

Structs§

  • Unique identifier of a parachain.
  • Validation parameters for evaluating the parachain validity function.

Enums§

Traits§

  • Something that should be called when a downward message is received.
  • Something that should be called for each batch of messages received over XCMP.

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.
  • An Aura authority identifier using S/R 25519 as its crypto.
  • Balance of an account.
  • Block type.
  • Block ID.
  • An index to a block.
  • Digest item type.
  • A hash of some data used by the chain.
  • Header type.
  • Type used for expressing timestamp.
  • Nonce of a transaction in the chain.
  • Alias to 512-bit hash when used in the context of a transaction signature on the chain.
  • A timestamp: milliseconds since the unix epoch. u64 is enough to represent a duration of half a billion years, when the time scale is milliseconds.
  • A message from a parachain to its Relay Chain.