-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfile.json
124 lines (124 loc) · 3.21 KB
/
file.json
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
{
"contracts": {
"test/exampleContracts/Temp3.sol:Temp3": {
"storage-layout": {
"storage": [
{
"astId": 3,
"contract": "test/exampleContracts/Temp3.sol:Temp3",
"label": "val1",
"offset": 0,
"slot": "0",
"type": "t_uint256"
},
{
"astId": 5,
"contract": "test/exampleContracts/Temp3.sol:Temp3",
"label": "bool1",
"offset": 0,
"slot": "1",
"type": "t_bool"
},
{
"astId": 7,
"contract": "test/exampleContracts/Temp3.sol:Temp3",
"label": "str1",
"offset": 0,
"slot": "2",
"type": "t_string_storage"
},
{
"astId": 9,
"contract": "test/exampleContracts/Temp3.sol:Temp3",
"label": "addr1",
"offset": 0,
"slot": "3",
"type": "t_address"
},
{
"astId": 13,
"contract": "test/exampleContracts/Temp3.sol:Temp3",
"label": "balances",
"offset": 0,
"slot": "4",
"type": "t_mapping(t_address,t_uint256)"
},
{
"astId": 19,
"contract": "test/exampleContracts/Temp3.sol:Temp3",
"label": "balances2",
"offset": 0,
"slot": "5",
"type": "t_mapping(t_address,t_mapping(t_address,t_uint256))"
},
{
"astId": 22,
"contract": "test/exampleContracts/Temp3.sol:Temp3",
"label": "arr",
"offset": 0,
"slot": "6",
"type": "t_array(t_uint256)dyn_storage"
},
{
"astId": 30,
"contract": "test/exampleContracts/Temp3.sol:Temp3",
"label": "temp",
"offset": 0,
"slot": "7",
"type": "t_struct(Temp)27_storage"
}
],
"types": {
"t_address": { "encoding": "inplace", "label": "address", "numberOfBytes": "20" },
"t_array(t_uint256)dyn_storage": {
"base": "t_uint256",
"encoding": "dynamic_array",
"label": "uint256[]",
"numberOfBytes": "32"
},
"t_bool": { "encoding": "inplace", "label": "bool", "numberOfBytes": "1" },
"t_mapping(t_address,t_mapping(t_address,t_uint256))": {
"encoding": "mapping",
"key": "t_address",
"label": "mapping(address => mapping(address => uint256))",
"numberOfBytes": "32",
"value": "t_mapping(t_address,t_uint256)"
},
"t_mapping(t_address,t_uint256)": {
"encoding": "mapping",
"key": "t_address",
"label": "mapping(address => uint256)",
"numberOfBytes": "32",
"value": "t_uint256"
},
"t_string_storage": { "encoding": "bytes", "label": "string", "numberOfBytes": "32" },
"t_struct(Temp)27_storage": {
"encoding": "inplace",
"label": "struct Temp3.Temp",
"members": [
{
"astId": 24,
"contract": "test/exampleContracts/Temp3.sol:Temp3",
"label": "name",
"offset": 0,
"slot": "0",
"type": "t_string_storage"
},
{
"astId": 26,
"contract": "test/exampleContracts/Temp3.sol:Temp3",
"label": "val",
"offset": 0,
"slot": "1",
"type": "t_uint256"
}
],
"numberOfBytes": "64"
},
"t_uint256": { "encoding": "inplace", "label": "uint256", "numberOfBytes": "32" }
}
}
}
},
"version": "0.8.17+commit.8df45f5f.Windows.msvc"
}