Crate sp_metadata_ir
source ·Expand description
Intermediate representation of the runtime metadata.
Structs
- Metadata of the extrinsic used by the runtime.
- The intermediate representation for the runtime metadata. Contains the needed context that allows conversion to multiple metadata versions.
- The type of the outer enums.
- Metadata for all calls in a pallet
- Metadata about one pallet constant.
- Metadata about a pallet error.
- Metadata about the pallet Event type.
- The intermediate representation for a pallet metadata.
- All metadata of the pallet’s storage. The common prefix used by all storage entries.
- Metadata of a runtime trait.
- Metadata of a runtime method.
- Metadata of a runtime method parameter.
- Metadata of an extrinsic’s signed extension.
- Metadata about one storage entry.
Enums
- A storage entry modifier indicates how a storage entry is returned when fetched and what the value will be if the key is not present. Specifically this refers to the “return type” when fetching a storage entry, and what the value will be if the key is not present.
- A type of storage value.
- Hasher used by storage maps
Functions
- Transform the IR to the latest stable metadata version.
- Transform the IR to metadata version 14.
- Transform the IR to the specified version.
- Returns the supported metadata versions.