Expand description
Node level primitives.
Modules§
- generic
- Generic implementations of [
crate::traits::Header
], [crate::traits::Block
] and [crate::traits::ExtrinsicLike
].
Structs§
- Blake
Two256 - Blake2-256 Hash implementation.
- Opaque
Extrinsic - Simple blob to hold an extrinsic without committing to its format and ensure it is serialized correctly.
Enums§
- Dispatch
Error - Reason why a dispatch call failed.
- Multi
Address - A multi-format address wrapper for on-chain accounts.
- Multi
Signature - Signature verify that can work with any known signature types.
Traits§
- EIP712
Encode - Trait that must be implemented to be able to encode the payload to eip-712 compatible signatures
- Identify
Account - Some type that is able to be collapsed into an account ID. It is not possible to recreate the original value from the account ID.
- Proposal
Provider - The provider of a collective action interface, for example an instance of
pallet-collective
. - Utility
Provider - The provider for interfacing into the Utility pallet.
- Verify
- Means of signature verification.
Type Aliases§
- Account
Id - Some way of identifying an account on the chain. We intentionally make it equivalent to the public key of our transaction signing scheme.
- Address
- The address format for describing accounts.
- Balance
- Balance is a generic type for the balance of an account.
- Block
- Block type as expected by this runtime.
- BlockId
- BlockId type as expected by this runtime.
- Block
Number - An index to a block.
- Hash
- A hash of some data used by the chain.
- Header
- Block header type as expected by this runtime.
- Index
- Index of a transaction in the chain.
- Signature
- Alias to 512-bit hash when used in the context of a transaction signature on the chain.