solidity/test/cmdlineTests/storage_layout_dyn_array/output.json
2022-10-26 15:13:47 +05:00

70 lines
2.1 KiB
JSON

{
"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
}
}
}