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 of a pallet’s associated type.
- 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 about one storage entry.
- Metadata of an extrinsic’s signed extension.
Enums§
- Deprecation info for an enums/errors/calls. Denotes full/partial deprecation of the type
- Deprecation status for an entry inside MetadataIR
- 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 unstable metadata version 16.
- Transform the IR to metadata version 14.
- Transform the IR to the specified version.
- Returns the supported metadata versions.