Crate common_runtime
source ·Re-exports
pub use orml_tokens;
pub use pallet_sudo_mangata;
pub use pallet_sudo_origin;
pub use pallet_xyk;
pub use constants::fee::*;
pub use constants::parachains::*;
pub use currency::*;
pub use types::*;
Modules
- Generic implementations of
crate::traits::Header
,crate::traits::Block
andcrate::traits::Extrinsic
. - 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
- Blake2-256 Hash implementation.
- A bounded vector.
- A type describing our custom additional metadata stored in the orml-asset-registry.
- Simple blob to hold an extrinsic without committing to its format and ensure it is serialized correctly.
- A fixed point representation of a number in the range [0, 1].
- A fixed point representation of a number in the range [0, 1].
- A fixed point representation of a number in the range [0, 1].
Enums
- Reason why a dispatch call failed.
- An invalid transaction validity.
- A multi-format address wrapper for on-chain accounts.
- Signature verify that can work with any known signature types.
- Contains a variant per dispatchable extrinsic that this pallet has.
Traits
- This type can be converted into and possibly from an AccountId (which itself is generic).
- Complex storage builder stuff.
- Something that implements a decimal fixed point number.
- 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.
- Saturating arithmetic operations, returning maximum or minimum values instead of overflowing.
- Means of signature verification.
- Defines an additive identity element for
Self
.
Type Definitions
- An Aura authority identifier using S/R 25519 as its crypto.
- Shortcut to reference the
Info
type of aDispatchable
. - Shortcut to reference the
PostInfo
type of aDispatchable
.