2020-02-04 09:59:23 +00:00
|
|
|
{
|
|
|
|
"attributes":
|
|
|
|
{
|
|
|
|
"absolutePath": "a",
|
|
|
|
"exportedSymbols":
|
|
|
|
{
|
|
|
|
"C":
|
|
|
|
[
|
2020-08-31 15:37:03 +00:00
|
|
|
19
|
2020-02-04 09:59:23 +00:00
|
|
|
]
|
2020-04-27 08:28:54 +00:00
|
|
|
}
|
2020-02-04 09:59:23 +00:00
|
|
|
},
|
|
|
|
"children":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"attributes":
|
|
|
|
{
|
|
|
|
"abstract": false,
|
|
|
|
"baseContracts":
|
|
|
|
[
|
|
|
|
null
|
|
|
|
],
|
|
|
|
"contractDependencies":
|
|
|
|
[
|
|
|
|
null
|
|
|
|
],
|
|
|
|
"contractKind": "contract",
|
|
|
|
"fullyImplemented": true,
|
|
|
|
"linearizedBaseContracts":
|
|
|
|
[
|
2020-08-31 15:37:03 +00:00
|
|
|
19
|
2020-02-04 09:59:23 +00:00
|
|
|
],
|
|
|
|
"name": "C",
|
2020-08-31 15:37:03 +00:00
|
|
|
"scope": 20
|
2020-02-04 09:59:23 +00:00
|
|
|
},
|
|
|
|
"children":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"attributes":
|
|
|
|
{
|
|
|
|
"canonicalName": "C.E",
|
|
|
|
"name": "E"
|
|
|
|
},
|
|
|
|
"children":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"attributes":
|
|
|
|
{
|
|
|
|
"name": "A"
|
|
|
|
},
|
|
|
|
"id": 1,
|
|
|
|
"name": "EnumValue",
|
|
|
|
"src": "26:1:1"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"attributes":
|
|
|
|
{
|
|
|
|
"name": "B"
|
|
|
|
},
|
|
|
|
"id": 2,
|
|
|
|
"name": "EnumValue",
|
|
|
|
"src": "29:1:1"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"attributes":
|
|
|
|
{
|
|
|
|
"name": "C"
|
|
|
|
},
|
|
|
|
"id": 3,
|
|
|
|
"name": "EnumValue",
|
|
|
|
"src": "32:1:1"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"id": 4,
|
|
|
|
"name": "EnumDefinition",
|
|
|
|
"src": "17:18:1"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"attributes":
|
|
|
|
{
|
|
|
|
"constant": false,
|
2020-04-07 09:10:10 +00:00
|
|
|
"mutability": "mutable",
|
2020-02-04 09:59:23 +00:00
|
|
|
"name": "a",
|
2020-08-31 15:37:03 +00:00
|
|
|
"scope": 19,
|
2020-02-04 09:59:23 +00:00
|
|
|
"stateVariable": true,
|
|
|
|
"storageLocation": "default",
|
|
|
|
"type": "mapping(contract C => bool)",
|
|
|
|
"visibility": "internal"
|
|
|
|
},
|
|
|
|
"children":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"attributes":
|
|
|
|
{
|
|
|
|
"type": "mapping(contract C => bool)"
|
|
|
|
},
|
|
|
|
"children":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"attributes":
|
|
|
|
{
|
2020-08-31 15:37:03 +00:00
|
|
|
"referencedDeclaration": 19,
|
2020-02-04 09:59:23 +00:00
|
|
|
"type": "contract C"
|
|
|
|
},
|
2020-08-31 15:37:03 +00:00
|
|
|
"children":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"attributes":
|
|
|
|
{
|
|
|
|
"name": "C",
|
|
|
|
"referencedDeclaration": 19
|
|
|
|
},
|
|
|
|
"id": 5,
|
|
|
|
"name": "IdentifierPath",
|
|
|
|
"src": "48:1:1"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"id": 6,
|
2020-02-04 09:59:23 +00:00
|
|
|
"name": "UserDefinedTypeName",
|
|
|
|
"src": "48:1:1"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"attributes":
|
|
|
|
{
|
|
|
|
"name": "bool",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
2020-08-31 15:37:03 +00:00
|
|
|
"id": 7,
|
2020-02-04 09:59:23 +00:00
|
|
|
"name": "ElementaryTypeName",
|
|
|
|
"src": "53:4:1"
|
|
|
|
}
|
|
|
|
],
|
2020-08-31 15:37:03 +00:00
|
|
|
"id": 8,
|
2020-02-04 09:59:23 +00:00
|
|
|
"name": "Mapping",
|
|
|
|
"src": "40:18:1"
|
|
|
|
}
|
|
|
|
],
|
2020-08-31 15:37:03 +00:00
|
|
|
"id": 9,
|
2020-02-04 09:59:23 +00:00
|
|
|
"name": "VariableDeclaration",
|
|
|
|
"src": "40:20:1"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"attributes":
|
|
|
|
{
|
|
|
|
"constant": false,
|
2020-04-07 09:10:10 +00:00
|
|
|
"mutability": "mutable",
|
2020-02-04 09:59:23 +00:00
|
|
|
"name": "b",
|
2020-08-31 15:37:03 +00:00
|
|
|
"scope": 19,
|
2020-02-04 09:59:23 +00:00
|
|
|
"stateVariable": true,
|
|
|
|
"storageLocation": "default",
|
|
|
|
"type": "mapping(address => bool)",
|
|
|
|
"visibility": "internal"
|
|
|
|
},
|
|
|
|
"children":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"attributes":
|
|
|
|
{
|
|
|
|
"type": "mapping(address => bool)"
|
|
|
|
},
|
|
|
|
"children":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"attributes":
|
|
|
|
{
|
|
|
|
"name": "address",
|
|
|
|
"type": "address"
|
|
|
|
},
|
2020-08-31 15:37:03 +00:00
|
|
|
"id": 10,
|
2020-02-04 09:59:23 +00:00
|
|
|
"name": "ElementaryTypeName",
|
|
|
|
"src": "74:7:1"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"attributes":
|
|
|
|
{
|
|
|
|
"name": "bool",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
2020-08-31 15:37:03 +00:00
|
|
|
"id": 11,
|
2020-02-04 09:59:23 +00:00
|
|
|
"name": "ElementaryTypeName",
|
|
|
|
"src": "85:4:1"
|
|
|
|
}
|
|
|
|
],
|
2020-08-31 15:37:03 +00:00
|
|
|
"id": 12,
|
2020-02-04 09:59:23 +00:00
|
|
|
"name": "Mapping",
|
|
|
|
"src": "66:24:1"
|
|
|
|
}
|
|
|
|
],
|
2020-08-31 15:37:03 +00:00
|
|
|
"id": 13,
|
2020-02-04 09:59:23 +00:00
|
|
|
"name": "VariableDeclaration",
|
|
|
|
"src": "66:26:1"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"attributes":
|
|
|
|
{
|
|
|
|
"constant": false,
|
2020-04-07 09:10:10 +00:00
|
|
|
"mutability": "mutable",
|
2020-02-04 09:59:23 +00:00
|
|
|
"name": "c",
|
2020-08-31 15:37:03 +00:00
|
|
|
"scope": 19,
|
2020-02-04 09:59:23 +00:00
|
|
|
"stateVariable": true,
|
|
|
|
"storageLocation": "default",
|
|
|
|
"type": "mapping(enum C.E => bool)",
|
|
|
|
"visibility": "internal"
|
|
|
|
},
|
|
|
|
"children":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"attributes":
|
|
|
|
{
|
|
|
|
"type": "mapping(enum C.E => bool)"
|
|
|
|
},
|
|
|
|
"children":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"attributes":
|
|
|
|
{
|
|
|
|
"referencedDeclaration": 4,
|
|
|
|
"type": "enum C.E"
|
|
|
|
},
|
2020-08-31 15:37:03 +00:00
|
|
|
"children":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"attributes":
|
|
|
|
{
|
|
|
|
"name": "E",
|
|
|
|
"referencedDeclaration": 4
|
|
|
|
},
|
|
|
|
"id": 14,
|
|
|
|
"name": "IdentifierPath",
|
|
|
|
"src": "106:1:1"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"id": 15,
|
2020-02-04 09:59:23 +00:00
|
|
|
"name": "UserDefinedTypeName",
|
|
|
|
"src": "106:1:1"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"attributes":
|
|
|
|
{
|
|
|
|
"name": "bool",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
2020-08-31 15:37:03 +00:00
|
|
|
"id": 16,
|
2020-02-04 09:59:23 +00:00
|
|
|
"name": "ElementaryTypeName",
|
|
|
|
"src": "111:4:1"
|
|
|
|
}
|
|
|
|
],
|
2020-08-31 15:37:03 +00:00
|
|
|
"id": 17,
|
2020-02-04 09:59:23 +00:00
|
|
|
"name": "Mapping",
|
|
|
|
"src": "98:18:1"
|
|
|
|
}
|
|
|
|
],
|
2020-08-31 15:37:03 +00:00
|
|
|
"id": 18,
|
2020-02-04 09:59:23 +00:00
|
|
|
"name": "VariableDeclaration",
|
|
|
|
"src": "98:20:1"
|
|
|
|
}
|
|
|
|
],
|
2020-08-31 15:37:03 +00:00
|
|
|
"id": 19,
|
2020-02-04 09:59:23 +00:00
|
|
|
"name": "ContractDefinition",
|
|
|
|
"src": "0:121:1"
|
|
|
|
}
|
|
|
|
],
|
2020-08-31 15:37:03 +00:00
|
|
|
"id": 20,
|
2020-02-04 09:59:23 +00:00
|
|
|
"name": "SourceUnit",
|
|
|
|
"src": "0:122:1"
|
|
|
|
}
|