Module types

Module types 

Source
Expand description

Re-defintion of substrate primitives. Needed because substrate pallets compile to wasm in no_std.

Structs§

AccountData
All balance information for an account.
AccountInfo
Information of an account.
EncodableOpaqueLeaf
A type-safe wrapper for the concrete leaf type.
ExtraFlags
FeeDetails
The FeeDetails is composed of:
Health
Health struct returned by the RPC
InclusionFee
The base fee and adjusted weight and length fees constitute the inclusion fee.
Proof
An MMR proof data for a group of leaves.
RuntimeDispatchInfo
Information related to a dispatchable’s class, weight, and fee that can be queried from the runtime.

Enums§

ChainType
The type of a chain.
Determinism
Defines the required determinism level of a wasm blob when either running or uploading code.
DispatchClass
A generalized group of dispatch types.
MmrError
Merkle Mountain Range operation error.
RewardDestination
A destination account for payment.

Type Aliases§

LeafIndex
A type to describe leaf position in the MMR.
NodeIndex
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.