Module: ScaleRb::Metadata
- Defined in:
- lib/scale_rb/metadata/metadata.rb,
lib/scale_rb/metadata/metadata_v9.rb,
lib/scale_rb/metadata/metadata_v10.rb,
lib/scale_rb/metadata/metadata_v11.rb,
lib/scale_rb/metadata/metadata_v12.rb,
lib/scale_rb/metadata/metadata_v13.rb,
lib/scale_rb/metadata/metadata_v14.rb
Defined Under Namespace
Modules: MetadataV10, MetadataV11, MetadataV12, MetadataV13, MetadataV14, MetadataV9 Classes: Metadata
Constant Summary collapse
- TYPES =
{ 'Type' => 'Str', 'Bytes' => 'Vec<u8>', 'MetadataPrefixed' => { 'magicNumber' => 'U32', 'metadata' => 'Metadata' }, 'Placeholder' => 'Null', 'Metadata' => { '_enum' => { 'V0' => 'Placeholder', 'V1' => 'Placeholder', 'V2' => 'Placeholder', 'V3' => 'Placeholder', 'V4' => 'Placeholder', 'V5' => 'Placeholder', 'V6' => 'Placeholder', 'V7' => 'Placeholder', 'V8' => 'Placeholder', 'V9' => 'MetadataV9', 'V10' => 'MetadataV10', 'V11' => 'MetadataV11', 'V12' => 'MetadataV12', 'V13' => 'MetadataV13', 'V14' => 'MetadataV14' } } }.merge(MetadataV14::TYPES) .merge(MetadataV13::TYPES) .merge(MetadataV12::TYPES) .merge(MetadataV11::TYPES) .merge(MetadataV10::TYPES) .merge(MetadataV9::TYPES)