2020-05-19 12:26:08 +00:00
|
|
|
[
|
2018-08-03 17:41:35 +00:00
|
|
|
{
|
2019-10-02 15:55:24 +00:00
|
|
|
"absolutePath": "a",
|
|
|
|
"exportedSymbols":
|
|
|
|
{
|
|
|
|
"C":
|
|
|
|
[
|
2020-01-29 22:27:21 +00:00
|
|
|
2
|
2019-10-02 15:55:24 +00:00
|
|
|
]
|
|
|
|
},
|
2020-01-29 22:27:21 +00:00
|
|
|
"id": 3,
|
2019-10-02 15:55:24 +00:00
|
|
|
"nodeType": "SourceUnit",
|
|
|
|
"nodes":
|
|
|
|
[
|
|
|
|
{
|
2019-10-23 20:10:12 +00:00
|
|
|
"abstract": false,
|
2019-10-02 15:55:24 +00:00
|
|
|
"baseContracts": [],
|
|
|
|
"contractDependencies": [],
|
|
|
|
"contractKind": "contract",
|
2020-01-29 22:27:21 +00:00
|
|
|
"documentation":
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"nodeType": "StructuredDocumentation",
|
|
|
|
"src": "0:27:1",
|
|
|
|
"text": "This contract is empty"
|
|
|
|
},
|
2019-10-02 15:55:24 +00:00
|
|
|
"fullyImplemented": true,
|
2020-01-29 22:27:21 +00:00
|
|
|
"id": 2,
|
2019-10-02 15:55:24 +00:00
|
|
|
"linearizedBaseContracts":
|
|
|
|
[
|
2020-01-29 22:27:21 +00:00
|
|
|
2
|
2019-10-02 15:55:24 +00:00
|
|
|
],
|
|
|
|
"name": "C",
|
2021-02-10 17:40:05 +00:00
|
|
|
"nameLocation": "37:1:1",
|
2019-10-02 15:55:24 +00:00
|
|
|
"nodeType": "ContractDefinition",
|
|
|
|
"nodes": [],
|
2020-01-29 22:27:21 +00:00
|
|
|
"scope": 3,
|
2019-10-02 15:55:24 +00:00
|
|
|
"src": "28:13:1"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"src": "28:14:1"
|
2018-08-03 17:41:35 +00:00
|
|
|
},
|
|
|
|
{
|
2019-10-02 15:55:24 +00:00
|
|
|
"absolutePath": "b",
|
|
|
|
"exportedSymbols":
|
|
|
|
{
|
|
|
|
"C":
|
|
|
|
[
|
2020-01-29 22:27:21 +00:00
|
|
|
5
|
2019-10-02 15:55:24 +00:00
|
|
|
]
|
|
|
|
},
|
2020-01-29 22:27:21 +00:00
|
|
|
"id": 6,
|
2019-10-02 15:55:24 +00:00
|
|
|
"nodeType": "SourceUnit",
|
|
|
|
"nodes":
|
|
|
|
[
|
|
|
|
{
|
2019-10-23 20:10:12 +00:00
|
|
|
"abstract": false,
|
2019-10-02 15:55:24 +00:00
|
|
|
"baseContracts": [],
|
|
|
|
"contractDependencies": [],
|
|
|
|
"contractKind": "contract",
|
2020-01-29 22:27:21 +00:00
|
|
|
"documentation":
|
|
|
|
{
|
|
|
|
"id": 4,
|
|
|
|
"nodeType": "StructuredDocumentation",
|
|
|
|
"src": "0:61:2",
|
|
|
|
"text": "This contract is empty\nand has a line-breaking comment."
|
|
|
|
},
|
2019-10-02 15:55:24 +00:00
|
|
|
"fullyImplemented": true,
|
2020-01-29 22:27:21 +00:00
|
|
|
"id": 5,
|
2019-10-02 15:55:24 +00:00
|
|
|
"linearizedBaseContracts":
|
|
|
|
[
|
2020-01-29 22:27:21 +00:00
|
|
|
5
|
2019-10-02 15:55:24 +00:00
|
|
|
],
|
|
|
|
"name": "C",
|
2021-02-10 17:40:05 +00:00
|
|
|
"nameLocation": "71:1:2",
|
2019-10-02 15:55:24 +00:00
|
|
|
"nodeType": "ContractDefinition",
|
|
|
|
"nodes": [],
|
2020-01-29 22:27:21 +00:00
|
|
|
"scope": 6,
|
2019-10-02 15:55:24 +00:00
|
|
|
"src": "62:13:2"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"src": "62:14:2"
|
2018-08-03 17:41:35 +00:00
|
|
|
},
|
|
|
|
{
|
2019-10-02 15:55:24 +00:00
|
|
|
"absolutePath": "c",
|
|
|
|
"exportedSymbols":
|
|
|
|
{
|
|
|
|
"C":
|
|
|
|
[
|
2020-03-24 22:44:39 +00:00
|
|
|
23
|
2019-10-02 15:55:24 +00:00
|
|
|
]
|
|
|
|
},
|
2020-03-24 22:44:39 +00:00
|
|
|
"id": 24,
|
2019-10-02 15:55:24 +00:00
|
|
|
"nodeType": "SourceUnit",
|
|
|
|
"nodes":
|
|
|
|
[
|
|
|
|
{
|
2019-10-23 20:10:12 +00:00
|
|
|
"abstract": false,
|
2019-10-02 15:55:24 +00:00
|
|
|
"baseContracts": [],
|
|
|
|
"contractDependencies": [],
|
|
|
|
"contractKind": "contract",
|
|
|
|
"fullyImplemented": true,
|
2020-03-24 22:44:39 +00:00
|
|
|
"id": 23,
|
2019-10-02 15:55:24 +00:00
|
|
|
"linearizedBaseContracts":
|
|
|
|
[
|
2020-03-24 22:44:39 +00:00
|
|
|
23
|
2019-10-02 15:55:24 +00:00
|
|
|
],
|
|
|
|
"name": "C",
|
2021-02-10 17:40:05 +00:00
|
|
|
"nameLocation": "9:1:3",
|
2019-10-02 15:55:24 +00:00
|
|
|
"nodeType": "ContractDefinition",
|
|
|
|
"nodes":
|
|
|
|
[
|
|
|
|
{
|
2020-03-24 22:44:39 +00:00
|
|
|
"constant": false,
|
2020-01-29 22:27:21 +00:00
|
|
|
"documentation":
|
|
|
|
{
|
|
|
|
"id": 7,
|
|
|
|
"nodeType": "StructuredDocumentation",
|
2020-03-24 22:44:39 +00:00
|
|
|
"src": "15:32:3",
|
|
|
|
"text": "Some comment on state var."
|
2020-01-29 22:27:21 +00:00
|
|
|
},
|
2020-03-24 22:44:39 +00:00
|
|
|
"functionSelector": "c19d93fb",
|
2020-01-29 22:27:21 +00:00
|
|
|
"id": 9,
|
2020-03-24 22:44:39 +00:00
|
|
|
"mutability": "mutable",
|
|
|
|
"name": "state",
|
2021-02-10 17:40:05 +00:00
|
|
|
"nameLocation": "60:5:3",
|
2020-03-24 22:44:39 +00:00
|
|
|
"nodeType": "VariableDeclaration",
|
|
|
|
"scope": 23,
|
|
|
|
"src": "48:17:3",
|
|
|
|
"stateVariable": true,
|
|
|
|
"storageLocation": "default",
|
|
|
|
"typeDescriptions":
|
|
|
|
{
|
|
|
|
"typeIdentifier": "t_uint256",
|
|
|
|
"typeString": "uint256"
|
|
|
|
},
|
|
|
|
"typeName":
|
|
|
|
{
|
|
|
|
"id": 8,
|
|
|
|
"name": "uint",
|
|
|
|
"nodeType": "ElementaryTypeName",
|
|
|
|
"src": "48:4:3",
|
|
|
|
"typeDescriptions":
|
|
|
|
{
|
|
|
|
"typeIdentifier": "t_uint256",
|
|
|
|
"typeString": "uint256"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"visibility": "public"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"anonymous": false,
|
|
|
|
"documentation":
|
|
|
|
{
|
|
|
|
"id": 10,
|
|
|
|
"nodeType": "StructuredDocumentation",
|
|
|
|
"src": "69:26:3",
|
|
|
|
"text": "Some comment on Evt."
|
|
|
|
},
|
|
|
|
"id": 12,
|
2019-10-02 15:55:24 +00:00
|
|
|
"name": "Evt",
|
2021-02-10 17:40:05 +00:00
|
|
|
"nameLocation": "102:3:3",
|
2019-10-02 15:55:24 +00:00
|
|
|
"nodeType": "EventDefinition",
|
|
|
|
"parameters":
|
|
|
|
{
|
2020-03-24 22:44:39 +00:00
|
|
|
"id": 11,
|
2019-10-02 15:55:24 +00:00
|
|
|
"nodeType": "ParameterList",
|
|
|
|
"parameters": [],
|
2020-03-24 22:44:39 +00:00
|
|
|
"src": "105:2:3"
|
2019-10-02 15:55:24 +00:00
|
|
|
},
|
2020-03-24 22:44:39 +00:00
|
|
|
"src": "96:12:3"
|
2019-10-02 15:55:24 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"body":
|
|
|
|
{
|
2020-03-24 22:44:39 +00:00
|
|
|
"id": 16,
|
2019-10-02 15:55:24 +00:00
|
|
|
"nodeType": "Block",
|
2020-03-24 22:44:39 +00:00
|
|
|
"src": "153:6:3",
|
2019-10-02 15:55:24 +00:00
|
|
|
"statements":
|
|
|
|
[
|
|
|
|
{
|
2020-03-24 22:44:39 +00:00
|
|
|
"id": 15,
|
2019-10-02 15:55:24 +00:00
|
|
|
"nodeType": "PlaceholderStatement",
|
2020-03-24 22:44:39 +00:00
|
|
|
"src": "155:1:3"
|
2019-10-02 15:55:24 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2020-01-29 22:27:21 +00:00
|
|
|
"documentation":
|
|
|
|
{
|
2020-03-24 22:44:39 +00:00
|
|
|
"id": 13,
|
2020-01-29 22:27:21 +00:00
|
|
|
"nodeType": "StructuredDocumentation",
|
2020-03-24 22:44:39 +00:00
|
|
|
"src": "111:26:3",
|
2020-01-29 22:27:21 +00:00
|
|
|
"text": "Some comment on mod."
|
|
|
|
},
|
2020-03-24 22:44:39 +00:00
|
|
|
"id": 17,
|
2019-10-02 15:55:24 +00:00
|
|
|
"name": "mod",
|
2021-02-10 17:40:05 +00:00
|
|
|
"nameLocation": "147:3:3",
|
2019-10-02 15:55:24 +00:00
|
|
|
"nodeType": "ModifierDefinition",
|
|
|
|
"parameters":
|
|
|
|
{
|
2020-03-24 22:44:39 +00:00
|
|
|
"id": 14,
|
2019-10-02 15:55:24 +00:00
|
|
|
"nodeType": "ParameterList",
|
|
|
|
"parameters": [],
|
2020-03-24 22:44:39 +00:00
|
|
|
"src": "150:2:3"
|
2019-10-02 15:55:24 +00:00
|
|
|
},
|
2020-03-24 22:44:39 +00:00
|
|
|
"src": "138:21:3",
|
2019-11-21 14:47:10 +00:00
|
|
|
"virtual": false,
|
2019-10-02 15:55:24 +00:00
|
|
|
"visibility": "internal"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"body":
|
|
|
|
{
|
2020-03-24 22:44:39 +00:00
|
|
|
"id": 21,
|
2019-10-02 15:55:24 +00:00
|
|
|
"nodeType": "Block",
|
2020-03-24 22:44:39 +00:00
|
|
|
"src": "209:2:3",
|
2019-10-02 15:55:24 +00:00
|
|
|
"statements": []
|
|
|
|
},
|
2020-01-29 22:27:21 +00:00
|
|
|
"documentation":
|
|
|
|
{
|
2020-03-24 22:44:39 +00:00
|
|
|
"id": 18,
|
2020-01-29 22:27:21 +00:00
|
|
|
"nodeType": "StructuredDocumentation",
|
2020-03-24 22:44:39 +00:00
|
|
|
"src": "162:25:3",
|
2020-01-29 22:27:21 +00:00
|
|
|
"text": "Some comment on fn."
|
|
|
|
},
|
2019-12-09 00:26:48 +00:00
|
|
|
"functionSelector": "a4a2c40b",
|
2020-03-24 22:44:39 +00:00
|
|
|
"id": 22,
|
2019-10-02 15:55:24 +00:00
|
|
|
"implemented": true,
|
|
|
|
"kind": "function",
|
|
|
|
"modifiers": [],
|
|
|
|
"name": "fn",
|
2021-02-10 17:40:05 +00:00
|
|
|
"nameLocation": "197:2:3",
|
2019-10-02 15:55:24 +00:00
|
|
|
"nodeType": "FunctionDefinition",
|
|
|
|
"parameters":
|
|
|
|
{
|
2020-03-24 22:44:39 +00:00
|
|
|
"id": 19,
|
2019-10-02 15:55:24 +00:00
|
|
|
"nodeType": "ParameterList",
|
|
|
|
"parameters": [],
|
2020-03-24 22:44:39 +00:00
|
|
|
"src": "199:2:3"
|
2019-10-02 15:55:24 +00:00
|
|
|
},
|
|
|
|
"returnParameters":
|
|
|
|
{
|
2020-03-24 22:44:39 +00:00
|
|
|
"id": 20,
|
2019-10-02 15:55:24 +00:00
|
|
|
"nodeType": "ParameterList",
|
|
|
|
"parameters": [],
|
2020-03-24 22:44:39 +00:00
|
|
|
"src": "209:0:3"
|
2019-10-02 15:55:24 +00:00
|
|
|
},
|
2020-03-24 22:44:39 +00:00
|
|
|
"scope": 23,
|
|
|
|
"src": "188:23:3",
|
2019-10-02 15:55:24 +00:00
|
|
|
"stateMutability": "nonpayable",
|
2019-11-21 14:47:10 +00:00
|
|
|
"virtual": false,
|
2019-10-02 15:55:24 +00:00
|
|
|
"visibility": "public"
|
|
|
|
}
|
|
|
|
],
|
2020-03-24 22:44:39 +00:00
|
|
|
"scope": 24,
|
|
|
|
"src": "0:213:3"
|
2019-10-02 15:55:24 +00:00
|
|
|
}
|
|
|
|
],
|
2020-03-24 22:44:39 +00:00
|
|
|
"src": "0:214:3"
|
2018-08-03 17:41:35 +00:00
|
|
|
}
|
2020-05-19 12:26:08 +00:00
|
|
|
]
|