1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
"worlds": [
{
"name": "foo",
"imports": {
"foo": {
"function": {
"name": "foo",
"kind": "freestanding",
"params": [],
"results": []
}
},
"bar": {
"function": {
"name": "bar",
"kind": "freestanding",
"params": [
{
"name": "arg",
"type": 0
}
],
"results": []
}
}
},
"exports": {
"foo2": {
"function": {
"name": "foo2",
"kind": "freestanding",
"params": [],
"results": []
}
},
"some-name": {
"function": {
"name": "some-name",
"kind": "freestanding",
"params": [],
"results": [
{
"type": 2
}
]
}
}
},
"package": 0
}
],
"interfaces": [],
"types": [
{
"name": null,
"kind": {
"list": "u32"
},
"owner": null
},
{
"name": null,
"kind": {
"option": "u32"
},
"owner": null
},
{
"name": null,
"kind": {
"list": 1
},
"owner": null
}
],
"packages": [
{
"name": "foo:foo",
"interfaces": {},
"worlds": {
"foo": 0
}
}
]
}