2020-07-08 20:08:50 +00:00
|
|
|
{
|
|
|
|
"absolutePath": "a",
|
2023-01-17 10:52:45 +00:00
|
|
|
"id": 24,
|
2020-07-08 20:08:50 +00:00
|
|
|
"nodeType": "SourceUnit",
|
|
|
|
"nodes":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"abstract": false,
|
|
|
|
"baseContracts": [],
|
|
|
|
"contractDependencies": [],
|
|
|
|
"contractKind": "contract",
|
2023-01-17 10:52:45 +00:00
|
|
|
"id": 23,
|
2020-07-08 20:08:50 +00:00
|
|
|
"name": "C",
|
2021-02-10 17:40:05 +00:00
|
|
|
"nameLocation": "9:1:1",
|
2020-07-08 20:08:50 +00:00
|
|
|
"nodeType": "ContractDefinition",
|
|
|
|
"nodes":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"id": 4,
|
|
|
|
"members":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "A",
|
2021-02-10 17:40:05 +00:00
|
|
|
"nameLocation": "26:1:1",
|
2020-07-08 20:08:50 +00:00
|
|
|
"nodeType": "EnumValue",
|
|
|
|
"src": "26:1:1"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "B",
|
2021-02-10 17:40:05 +00:00
|
|
|
"nameLocation": "29:1:1",
|
2020-07-08 20:08:50 +00:00
|
|
|
"nodeType": "EnumValue",
|
|
|
|
"src": "29:1:1"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"name": "C",
|
2021-02-10 17:40:05 +00:00
|
|
|
"nameLocation": "32:1:1",
|
2020-07-08 20:08:50 +00:00
|
|
|
"nodeType": "EnumValue",
|
|
|
|
"src": "32:1:1"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"name": "E",
|
2021-02-10 17:40:05 +00:00
|
|
|
"nameLocation": "22:1:1",
|
2020-07-08 20:08:50 +00:00
|
|
|
"nodeType": "EnumDefinition",
|
|
|
|
"src": "17:18:1"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"constant": false,
|
2020-08-11 09:18:22 +00:00
|
|
|
"id": 9,
|
2020-07-08 20:08:50 +00:00
|
|
|
"mutability": "mutable",
|
|
|
|
"name": "a",
|
2021-02-10 17:40:05 +00:00
|
|
|
"nameLocation": "59:1:1",
|
2020-07-08 20:08:50 +00:00
|
|
|
"nodeType": "VariableDeclaration",
|
|
|
|
"src": "40:20:1",
|
|
|
|
"stateVariable": false,
|
|
|
|
"storageLocation": "default",
|
|
|
|
"typeDescriptions": {},
|
|
|
|
"typeName":
|
|
|
|
{
|
2020-08-11 09:18:22 +00:00
|
|
|
"id": 8,
|
2022-08-11 11:35:59 +00:00
|
|
|
"keyName": "",
|
2023-01-17 10:52:45 +00:00
|
|
|
"keyNameLocation": "-1:-1:-1",
|
2020-07-08 20:08:50 +00:00
|
|
|
"keyType":
|
|
|
|
{
|
2020-08-11 09:18:22 +00:00
|
|
|
"id": 6,
|
2020-07-08 20:08:50 +00:00
|
|
|
"nodeType": "UserDefinedTypeName",
|
2020-08-11 09:18:22 +00:00
|
|
|
"pathNode":
|
|
|
|
{
|
|
|
|
"id": 5,
|
|
|
|
"name": "C",
|
2022-06-08 16:13:49 +00:00
|
|
|
"nameLocations":
|
|
|
|
[
|
|
|
|
"48:1:1"
|
|
|
|
],
|
2020-08-11 09:18:22 +00:00
|
|
|
"nodeType": "IdentifierPath",
|
|
|
|
"src": "48:1:1"
|
|
|
|
},
|
2020-07-08 20:08:50 +00:00
|
|
|
"src": "48:1:1",
|
|
|
|
"typeDescriptions": {}
|
|
|
|
},
|
|
|
|
"nodeType": "Mapping",
|
|
|
|
"src": "40:18:1",
|
|
|
|
"typeDescriptions": {},
|
2022-08-11 11:35:59 +00:00
|
|
|
"valueName": "",
|
2023-01-17 10:52:45 +00:00
|
|
|
"valueNameLocation": "-1:-1:-1",
|
2020-07-08 20:08:50 +00:00
|
|
|
"valueType":
|
|
|
|
{
|
2020-08-11 09:18:22 +00:00
|
|
|
"id": 7,
|
2020-07-08 20:08:50 +00:00
|
|
|
"name": "bool",
|
|
|
|
"nodeType": "ElementaryTypeName",
|
|
|
|
"src": "53:4:1",
|
|
|
|
"typeDescriptions": {}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"visibility": "internal"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"constant": false,
|
2020-08-11 09:18:22 +00:00
|
|
|
"id": 13,
|
2020-07-08 20:08:50 +00:00
|
|
|
"mutability": "mutable",
|
|
|
|
"name": "b",
|
2021-02-10 17:40:05 +00:00
|
|
|
"nameLocation": "91:1:1",
|
2020-07-08 20:08:50 +00:00
|
|
|
"nodeType": "VariableDeclaration",
|
|
|
|
"src": "66:26:1",
|
|
|
|
"stateVariable": false,
|
|
|
|
"storageLocation": "default",
|
|
|
|
"typeDescriptions": {},
|
|
|
|
"typeName":
|
|
|
|
{
|
2020-08-11 09:18:22 +00:00
|
|
|
"id": 12,
|
2022-08-11 11:35:59 +00:00
|
|
|
"keyName": "",
|
2023-01-17 10:52:45 +00:00
|
|
|
"keyNameLocation": "-1:-1:-1",
|
2020-07-08 20:08:50 +00:00
|
|
|
"keyType":
|
|
|
|
{
|
2020-08-11 09:18:22 +00:00
|
|
|
"id": 10,
|
2020-07-08 20:08:50 +00:00
|
|
|
"name": "address",
|
|
|
|
"nodeType": "ElementaryTypeName",
|
|
|
|
"src": "74:7:1",
|
|
|
|
"typeDescriptions": {}
|
|
|
|
},
|
|
|
|
"nodeType": "Mapping",
|
|
|
|
"src": "66:24:1",
|
|
|
|
"typeDescriptions": {},
|
2022-08-11 11:35:59 +00:00
|
|
|
"valueName": "",
|
2023-01-17 10:52:45 +00:00
|
|
|
"valueNameLocation": "-1:-1:-1",
|
2020-07-08 20:08:50 +00:00
|
|
|
"valueType":
|
|
|
|
{
|
2020-08-11 09:18:22 +00:00
|
|
|
"id": 11,
|
2020-07-08 20:08:50 +00:00
|
|
|
"name": "bool",
|
|
|
|
"nodeType": "ElementaryTypeName",
|
|
|
|
"src": "85:4:1",
|
|
|
|
"typeDescriptions": {}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"visibility": "internal"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"constant": false,
|
2020-08-11 09:18:22 +00:00
|
|
|
"id": 18,
|
2020-07-08 20:08:50 +00:00
|
|
|
"mutability": "mutable",
|
|
|
|
"name": "c",
|
2021-02-10 17:40:05 +00:00
|
|
|
"nameLocation": "117:1:1",
|
2020-07-08 20:08:50 +00:00
|
|
|
"nodeType": "VariableDeclaration",
|
|
|
|
"src": "98:20:1",
|
|
|
|
"stateVariable": false,
|
|
|
|
"storageLocation": "default",
|
|
|
|
"typeDescriptions": {},
|
|
|
|
"typeName":
|
|
|
|
{
|
2020-08-11 09:18:22 +00:00
|
|
|
"id": 17,
|
2022-08-11 11:35:59 +00:00
|
|
|
"keyName": "",
|
2023-01-17 10:52:45 +00:00
|
|
|
"keyNameLocation": "-1:-1:-1",
|
2020-07-08 20:08:50 +00:00
|
|
|
"keyType":
|
|
|
|
{
|
2020-08-11 09:18:22 +00:00
|
|
|
"id": 15,
|
2020-07-08 20:08:50 +00:00
|
|
|
"nodeType": "UserDefinedTypeName",
|
2020-08-11 09:18:22 +00:00
|
|
|
"pathNode":
|
|
|
|
{
|
|
|
|
"id": 14,
|
|
|
|
"name": "E",
|
2022-06-08 16:13:49 +00:00
|
|
|
"nameLocations":
|
|
|
|
[
|
|
|
|
"106:1:1"
|
|
|
|
],
|
2020-08-11 09:18:22 +00:00
|
|
|
"nodeType": "IdentifierPath",
|
|
|
|
"src": "106:1:1"
|
|
|
|
},
|
2020-07-08 20:08:50 +00:00
|
|
|
"src": "106:1:1",
|
|
|
|
"typeDescriptions": {}
|
|
|
|
},
|
|
|
|
"nodeType": "Mapping",
|
|
|
|
"src": "98:18:1",
|
|
|
|
"typeDescriptions": {},
|
2022-08-11 11:35:59 +00:00
|
|
|
"valueName": "",
|
2023-01-17 10:52:45 +00:00
|
|
|
"valueNameLocation": "-1:-1:-1",
|
2020-07-08 20:08:50 +00:00
|
|
|
"valueType":
|
|
|
|
{
|
2020-08-11 09:18:22 +00:00
|
|
|
"id": 16,
|
2020-07-08 20:08:50 +00:00
|
|
|
"name": "bool",
|
|
|
|
"nodeType": "ElementaryTypeName",
|
|
|
|
"src": "111:4:1",
|
|
|
|
"typeDescriptions": {}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"visibility": "internal"
|
2023-01-17 10:52:45 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"constant": false,
|
|
|
|
"id": 22,
|
|
|
|
"mutability": "mutable",
|
|
|
|
"name": "d",
|
|
|
|
"nameLocation": "169:1:1",
|
|
|
|
"nodeType": "VariableDeclaration",
|
|
|
|
"src": "124:46:1",
|
|
|
|
"stateVariable": false,
|
|
|
|
"storageLocation": "default",
|
|
|
|
"typeDescriptions": {},
|
|
|
|
"typeName":
|
|
|
|
{
|
|
|
|
"id": 21,
|
|
|
|
"keyName": "keyAddress",
|
|
|
|
"keyNameLocation": "140:10:1",
|
|
|
|
"keyType":
|
|
|
|
{
|
|
|
|
"id": 19,
|
|
|
|
"name": "address",
|
|
|
|
"nodeType": "ElementaryTypeName",
|
|
|
|
"src": "132:7:1",
|
|
|
|
"typeDescriptions": {}
|
|
|
|
},
|
|
|
|
"nodeType": "Mapping",
|
|
|
|
"src": "124:44:1",
|
|
|
|
"typeDescriptions": {},
|
|
|
|
"valueName": "value",
|
|
|
|
"valueNameLocation": "162:5:1",
|
|
|
|
"valueType":
|
|
|
|
{
|
|
|
|
"id": 20,
|
|
|
|
"name": "uint256",
|
|
|
|
"nodeType": "ElementaryTypeName",
|
|
|
|
"src": "154:7:1",
|
|
|
|
"typeDescriptions": {}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"visibility": "internal"
|
2020-07-08 20:08:50 +00:00
|
|
|
}
|
|
|
|
],
|
2023-01-17 10:52:45 +00:00
|
|
|
"src": "0:173:1",
|
2021-02-23 13:13:52 +00:00
|
|
|
"usedErrors": [],
|
|
|
|
"usedEvents": []
|
2020-07-08 20:08:50 +00:00
|
|
|
}
|
|
|
|
],
|
2023-01-17 10:52:45 +00:00
|
|
|
"src": "0:174:1"
|
2020-07-08 20:08:50 +00:00
|
|
|
}
|