UNPKG

1.82 kBJavaScriptView Raw
1export const v10 = {
2 // v10
3 ErrorMetadataV10: 'ErrorMetadataV9',
4 EventMetadataV10: 'EventMetadataV9',
5 FunctionArgumentMetadataV10: 'FunctionArgumentMetadataV9',
6 FunctionMetadataV10: 'FunctionMetadataV9',
7 MetadataV10: {
8 modules: 'Vec<ModuleMetadataV10>'
9 },
10 ModuleConstantMetadataV10: 'ModuleConstantMetadataV9',
11 ModuleMetadataV10: {
12 name: 'Text',
13 storage: 'Option<StorageMetadataV10>',
14 calls: 'Option<Vec<FunctionMetadataV10>>',
15 events: 'Option<Vec<EventMetadataV10>>',
16 constants: 'Vec<ModuleConstantMetadataV10>',
17 errors: 'Vec<ErrorMetadataV10>'
18 },
19 StorageEntryModifierV10: 'StorageEntryModifierV9',
20 StorageEntryMetadataV10: {
21 name: 'Text',
22 modifier: 'StorageEntryModifierV10',
23 type: 'StorageEntryTypeV10',
24 fallback: 'Bytes',
25 docs: 'Vec<Text>'
26 },
27 StorageEntryTypeV10: {
28 _enum: {
29 Plain: 'Type',
30 Map: {
31 hasher: 'StorageHasherV10',
32 key: 'Type',
33 value: 'Type',
34 linked: 'bool'
35 },
36 DoubleMap: {
37 hasher: 'StorageHasherV10',
38 key1: 'Type',
39 key2: 'Type',
40 value: 'Type',
41 key2Hasher: 'StorageHasherV10'
42 }
43 }
44 },
45 StorageMetadataV10: {
46 prefix: 'Text',
47 items: 'Vec<StorageEntryMetadataV10>'
48 },
49 StorageHasherV10: {
50 _enum: {
51 Blake2_128: null, // eslint-disable-line camelcase
52 Blake2_256: null, // eslint-disable-line camelcase
53 Blake2_128Concat: null, // eslint-disable-line camelcase
54 Twox128: null,
55 Twox256: null,
56 Twox64Concat: null
57 }
58 }
59};