Expand description
Intermediate representation of the runtime metadata.
Structs§
- Enum
Deprecation InfoIR  - Deprecation information for enums in which specific variants can be deprecated. If the map is empty, then nothing is deprecated.
 - Extrinsic
MetadataIR  - Metadata of the extrinsic used by the runtime.
 - MetadataIR
 - The intermediate representation for the runtime metadata. Contains the needed context that allows conversion to multiple metadata versions.
 - Outer
EnumsIR  - The type of the outer enums.
 - Pallet
Associated Type MetadataIR  - Metadata of a pallet’s associated type.
 - Pallet
Call MetadataIR  - Metadata for all calls in a pallet
 - Pallet
Constant MetadataIR  - Metadata about one pallet constant.
 - Pallet
Error MetadataIR  - Metadata about a pallet error.
 - Pallet
Event MetadataIR  - Metadata about the pallet Event type.
 - Pallet
MetadataIR  - The intermediate representation for a pallet metadata.
 - Pallet
Storage MetadataIR  - All metadata of the pallet’s storage. The common prefix used by all storage entries.
 - Pallet
View Function MetadataIR  - Metadata of a pallet view function method.
 - Pallet
View Function Param MetadataIR  - Metadata of a pallet view function method argument.
 - Runtime
ApiMetadataIR  - Metadata of a runtime trait.
 - Runtime
ApiMethod MetadataIR  - Metadata of a runtime method.
 - Runtime
ApiMethod Param MetadataIR  - Metadata of a runtime method parameter.
 - Storage
Entry MetadataIR  - Metadata about one storage entry.
 - Transaction
Extension MetadataIR  - Metadata of an extrinsic’s signed extension.
 
Enums§
- Item
Deprecation InfoIR  - Deprecation information for generic items.
 - Storage
Entry ModifierIR  - 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.
 - Storage
Entry TypeIR  - A type of storage value.
 - Storage
HasherIR  - Hasher used by storage maps
 - Variant
Deprecation InfoIR  - Deprecation information for an item or variant in the metadata.
 
Functions§
- into_
latest  - Transform the IR to the latest stable metadata version.
 - into_
v14  - Transform the IR to metadata version 14.
 - into_
v15  - Transform the IR to metadata version 15.
 - into_
v16  - Transform the IR to metadata version 16.
 - into_
version  - Transform the IR to the specified version.
 - supported_
versions  - Returns the supported metadata versions.