Crate gear_runtime_primitives

Source
Expand description

Low-level types used throughout the Substrate code.

Constants§

VARA_SS58_PREFIX
SS58 prefix of VARA.

Type Aliases§

AccountId
Some way of identifying an account on the chain. We intentionally make it equivalent to the public key of our transaction signing scheme.
AccountIndex
The type for looking up accounts. We don’t expect more than 4 billion of them.
AccountPublic
Alias to the public key used for this chain.
Balance
Balance of an account.
Block
Block type.
BlockId
Block ID.
BlockNumber
An index to a block.
DigestItem
Digest item type.
Hash
A hash of some data used by the chain.
Header
Header type.
Moment
Type used for expressing timestamp.
Nonce
Nonce of a transaction in the chain.
Signature
Alias to 512-bit hash when used in the context of a transaction signature on the chain.
Timestamp
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.