Expand description
Low-level types used throughout the Substrate code.
Re-exports§
pub use crate::balance::*;
pub use crate::bounds::*;
pub use crate::currency::*;
pub use crate::gmp::*;
pub use crate::network::*;
pub use crate::shard::*;
pub use crate::task::*;
Modules§
- Base currency config for the timechain ecosystem
- Re-export key and hash types Simple Ed25519 API.
- Re-export key and hash types Simple sr25519 (Schnorr-Ristretto) API.
- Re-exported substrate traits
Structs§
- Re-export key and hash types Fixed-size uninterpreted hash type with 20 bytes (160 bits) size.
- Re-export key and hash types Fixed-size uninterpreted hash type with 32 bytes (256 bits) size.
- Re-export key and hash types Fixed-size uninterpreted hash type with 64 bytes (512 bits) size.
Constants§
- Unofficial develop SS58 prefix (
az
) - Export const primitive of raw prefifx
Traits§
Functions§
- Helper to format address with correct prefix
- Helper to set default ss58 format
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.
- Type used to represent balances
- Opaque block type.
- A hash to use to identify indivdual blocks.
- Opaque block ID.
- An index to a block.
- Digest item type.
- Block header type.
- Type used for expressing timestamp.
- Index of a transaction in the chain.
- General Public Key used across the protocol
- 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.