Sha256: 9475d1df00f022a3fffc3824a77d5428a37e99661ae4ecf15668d77319814f76
Contents?: true
Size: 1.83 KB
Versions: 2
Compression:
Stored size: 1.83 KB
Contents
# frozen_string_literal: true module ScaleRb module Metadata module MetadataV10 TYPES = { ErrorMetadataV10: 'ErrorMetadataV9', EventMetadataV10: 'EventMetadataV9', FunctionArgumentMetadataV10: 'FunctionArgumentMetadataV9', FunctionMetadataV10: 'FunctionMetadataV9', MetadataV10: { modules: 'Vec<ModuleMetadataV10>' }, ModuleConstantMetadataV10: 'ModuleConstantMetadataV9', ModuleMetadataV10: { name: 'Text', storage: 'Option<StorageMetadataV10>', calls: 'Option<Vec<FunctionMetadataV10>>', events: 'Option<Vec<EventMetadataV10>>', constants: 'Vec<ModuleConstantMetadataV10>', errors: 'Vec<ErrorMetadataV10>' }, StorageEntryModifierV10: 'StorageEntryModifierV9', StorageEntryMetadataV10: { name: 'Text', modifier: 'StorageEntryModifierV10', type: 'StorageEntryTypeV10', fallback: 'Bytes', docs: 'Vec<Text>' }, StorageEntryTypeV10: { _enum: { Plain: 'Type', Map: { hasher: 'StorageHasherV10', key: 'Type', value: 'Type', linked: 'bool' }, DoubleMap: { hasher: 'StorageHasherV10', key1: 'Type', key2: 'Type', value: 'Type', key2Hasher: 'StorageHasherV10' } } }, StorageMetadataV10: { prefix: 'Text', items: 'Vec<StorageEntryMetadataV10>' }, StorageHasherV10: { _enum: %w[ Blake2_128 Blake2_256 Blake2_128Concat Twox128 Twox256 Twox64Concat ] } }.freeze end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
scale_rb-0.5.1 | lib/scale_rb/metadata/metadata_v10.rb |
scale_rb-0.5.0 | lib/scale_rb/metadata/metadata_v10.rb |