UNPKG

2.04 kBJavaScriptView Raw
1export const v9 = {
2 // v9
3 ErrorMetadataV9: {
4 name: 'Text',
5 docs: 'Vec<Text>'
6 },
7 EventMetadataV9: {
8 name: 'Text',
9 args: 'Vec<Type>',
10 docs: 'Vec<Text>'
11 },
12 FunctionArgumentMetadataV9: {
13 name: 'Text',
14 type: 'Type'
15 },
16 FunctionMetadataV9: {
17 name: 'Text',
18 args: 'Vec<FunctionArgumentMetadataV9>',
19 docs: 'Vec<Text>'
20 },
21 MetadataV9: {
22 modules: 'Vec<ModuleMetadataV9>'
23 },
24 ModuleConstantMetadataV9: {
25 name: 'Text',
26 type: 'Type',
27 value: 'Bytes',
28 docs: 'Vec<Text>'
29 },
30 ModuleMetadataV9: {
31 name: 'Text',
32 storage: 'Option<StorageMetadataV9>',
33 calls: 'Option<Vec<FunctionMetadataV9>>',
34 events: 'Option<Vec<EventMetadataV9>>',
35 constants: 'Vec<ModuleConstantMetadataV9>',
36 errors: 'Vec<ErrorMetadataV9>'
37 },
38 StorageEntryMetadataV9: {
39 name: 'Text',
40 modifier: 'StorageEntryModifierV9',
41 type: 'StorageEntryTypeV9',
42 fallback: 'Bytes',
43 docs: 'Vec<Text>'
44 },
45 StorageEntryModifierV9: {
46 _enum: ['Optional', 'Default', 'Required']
47 },
48 StorageEntryTypeV9: {
49 _enum: {
50 Plain: 'Type',
51 Map: {
52 hasher: 'StorageHasherV9',
53 key: 'Type',
54 value: 'Type',
55 linked: 'bool'
56 },
57 DoubleMap: {
58 hasher: 'StorageHasherV9',
59 key1: 'Type',
60 key2: 'Type',
61 value: 'Type',
62 key2Hasher: 'StorageHasherV9'
63 }
64 }
65 },
66 StorageHasherV9: {
67 _enum: {
68 Blake2_128: null, // eslint-disable-line camelcase
69 Blake2_256: null, // eslint-disable-line camelcase
70 Twox128: null,
71 Twox256: null,
72 Twox64Concat: null
73 }
74 },
75 StorageMetadataV9: {
76 prefix: 'Text',
77 items: 'Vec<StorageEntryMetadataV9>'
78 }
79};