solidity/test/cmdlineTests/storage_layout_dyn_array/output.json

70 lines
2.1 KiB
JSON
Raw Normal View History

2022-10-26 10:13:47 +00:00
{
"contracts":
{
"fileA":
{
"A":
{
"storageLayout":
{
"storage":
[
{
"astId": 4,
"contract": "fileA:A",
"label": "array1",
"offset": 0,
"slot": "0",
"type": "t_array(t_uint256)dyn_storage"
},
{
"astId": 7,
"contract": "fileA:A",
"label": "array2",
"offset": 0,
"slot": "1",
"type": "t_array(t_bool)dyn_storage"
}
],
"types":
{
"t_array(t_bool)dyn_storage":
{
"base": "t_bool",
"encoding": "dynamic_array",
"label": "bool[]",
"numberOfBytes": "32"
},
"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_uint256":
{
"encoding": "inplace",
"label": "uint256",
"numberOfBytes": "32"
}
}
}
}
}
},
"sources":
{
"fileA":
{
"id": 0
}
}
}