Expand description
Re-defintion of substrate primitives. Needed because substrate pallets compile to wasm in no_std.
Structs§
- Account
Data - All balance information for an account.
- Account
Info - Information of an account.
- Encodable
Opaque Leaf - A type-safe wrapper for the concrete leaf type.
- Extra
Flags - FeeDetails
- The
FeeDetailsis composed of: - Health
- Health struct returned by the RPC
- Inclusion
Fee - The base fee and adjusted weight and length fees constitute the inclusion fee.
- Proof
- An MMR proof data for a group of leaves.
- Runtime
Dispatch Info - Information related to a dispatchable’s class, weight, and fee that can be queried from the runtime.
Enums§
- Chain
Type - The type of a chain.
- Determinism
- Defines the required determinism level of a wasm blob when either running or uploading code.
- Dispatch
Class - A generalized group of dispatch types.
- MmrError
- Merkle Mountain Range operation error.
- Reward
Destination - A destination account for payment.
Type Aliases§
- Leaf
Index - A type to describe leaf position in the MMR.
- Node
Index - A type to describe node position in the MMR (node index).
- Properties
- Arbitrary properties defined in chain spec as a JSON object
- RefCount
- Type used to encode the number of references an account has.