2021-03-11 13:39:27 +00:00
|
|
|
{
|
|
|
|
"absolutePath": "a",
|
|
|
|
"exportedSymbols":
|
|
|
|
{
|
|
|
|
"A":
|
|
|
|
[
|
|
|
|
7
|
|
|
|
],
|
|
|
|
"C":
|
|
|
|
[
|
|
|
|
17
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"id": 18,
|
|
|
|
"nodeType": "SourceUnit",
|
|
|
|
"nodes":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"abstract": false,
|
|
|
|
"baseContracts": [],
|
2021-09-28 09:05:52 +00:00
|
|
|
"canonicalName": "A",
|
2021-03-11 13:39:27 +00:00
|
|
|
"contractDependencies": [],
|
|
|
|
"contractKind": "contract",
|
|
|
|
"fullyImplemented": true,
|
|
|
|
"id": 7,
|
|
|
|
"linearizedBaseContracts":
|
|
|
|
[
|
|
|
|
7
|
|
|
|
],
|
|
|
|
"name": "A",
|
|
|
|
"nameLocation": "9:1:1",
|
|
|
|
"nodeType": "ContractDefinition",
|
|
|
|
"nodes":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"body":
|
|
|
|
{
|
|
|
|
"id": 5,
|
|
|
|
"nodeType": "Block",
|
|
|
|
"src": "31:2:1",
|
|
|
|
"statements": []
|
|
|
|
},
|
|
|
|
"id": 6,
|
|
|
|
"implemented": true,
|
|
|
|
"kind": "constructor",
|
|
|
|
"modifiers": [],
|
|
|
|
"name": "",
|
|
|
|
"nameLocation": "-1:-1:-1",
|
|
|
|
"nodeType": "FunctionDefinition",
|
|
|
|
"parameters":
|
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"nodeType": "ParameterList",
|
|
|
|
"parameters":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"constant": false,
|
|
|
|
"id": 2,
|
|
|
|
"mutability": "mutable",
|
|
|
|
"name": "",
|
|
|
|
"nameLocation": "-1:-1:-1",
|
|
|
|
"nodeType": "VariableDeclaration",
|
|
|
|
"scope": 6,
|
|
|
|
"src": "25:4:1",
|
|
|
|
"stateVariable": false,
|
|
|
|
"storageLocation": "default",
|
|
|
|
"typeDescriptions":
|
|
|
|
{
|
|
|
|
"typeIdentifier": "t_uint256",
|
|
|
|
"typeString": "uint256"
|
|
|
|
},
|
|
|
|
"typeName":
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "uint",
|
|
|
|
"nodeType": "ElementaryTypeName",
|
|
|
|
"src": "25:4:1",
|
|
|
|
"typeDescriptions":
|
|
|
|
{
|
|
|
|
"typeIdentifier": "t_uint256",
|
|
|
|
"typeString": "uint256"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"visibility": "internal"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"src": "24:6:1"
|
|
|
|
},
|
|
|
|
"returnParameters":
|
|
|
|
{
|
|
|
|
"id": 4,
|
|
|
|
"nodeType": "ParameterList",
|
|
|
|
"parameters": [],
|
|
|
|
"src": "31:0:1"
|
|
|
|
},
|
|
|
|
"scope": 7,
|
|
|
|
"src": "13:20:1",
|
|
|
|
"stateMutability": "nonpayable",
|
|
|
|
"virtual": false,
|
|
|
|
"visibility": "public"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"scope": 18,
|
2021-04-15 07:59:59 +00:00
|
|
|
"src": "0:35:1",
|
2021-02-23 13:13:52 +00:00
|
|
|
"usedErrors": [],
|
|
|
|
"usedEvents": []
|
2021-03-11 13:39:27 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"abstract": false,
|
|
|
|
"baseContracts":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"baseName":
|
|
|
|
{
|
|
|
|
"id": 8,
|
|
|
|
"name": "A",
|
2022-06-08 16:13:49 +00:00
|
|
|
"nameLocations":
|
|
|
|
[
|
|
|
|
"50:1:1"
|
|
|
|
],
|
2021-03-11 13:39:27 +00:00
|
|
|
"nodeType": "IdentifierPath",
|
|
|
|
"referencedDeclaration": 7,
|
|
|
|
"src": "50:1:1"
|
|
|
|
},
|
|
|
|
"id": 9,
|
|
|
|
"nodeType": "InheritanceSpecifier",
|
|
|
|
"src": "50:1:1"
|
|
|
|
}
|
|
|
|
],
|
2021-09-28 09:05:52 +00:00
|
|
|
"canonicalName": "C",
|
2020-10-29 14:07:09 +00:00
|
|
|
"contractDependencies": [],
|
2021-03-11 13:39:27 +00:00
|
|
|
"contractKind": "contract",
|
|
|
|
"fullyImplemented": true,
|
|
|
|
"id": 17,
|
|
|
|
"linearizedBaseContracts":
|
|
|
|
[
|
|
|
|
17,
|
|
|
|
7
|
|
|
|
],
|
|
|
|
"name": "C",
|
|
|
|
"nameLocation": "45:1:1",
|
|
|
|
"nodeType": "ContractDefinition",
|
|
|
|
"nodes":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"body":
|
|
|
|
{
|
|
|
|
"id": 15,
|
|
|
|
"nodeType": "Block",
|
|
|
|
"src": "73:2:1",
|
|
|
|
"statements": []
|
|
|
|
},
|
|
|
|
"id": 16,
|
|
|
|
"implemented": true,
|
|
|
|
"kind": "constructor",
|
|
|
|
"modifiers":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"arguments":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"hexValue": "32",
|
|
|
|
"id": 12,
|
|
|
|
"isConstant": false,
|
|
|
|
"isLValue": false,
|
|
|
|
"isPure": true,
|
|
|
|
"kind": "number",
|
|
|
|
"lValueRequested": false,
|
|
|
|
"nodeType": "Literal",
|
|
|
|
"src": "70:1:1",
|
|
|
|
"typeDescriptions":
|
|
|
|
{
|
|
|
|
"typeIdentifier": "t_rational_2_by_1",
|
|
|
|
"typeString": "int_const 2"
|
|
|
|
},
|
|
|
|
"value": "2"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"id": 13,
|
2021-03-24 10:19:38 +00:00
|
|
|
"kind": "baseConstructorSpecifier",
|
2021-03-11 13:39:27 +00:00
|
|
|
"modifierName":
|
|
|
|
{
|
|
|
|
"id": 11,
|
|
|
|
"name": "A",
|
2022-06-08 16:13:49 +00:00
|
|
|
"nameLocations":
|
|
|
|
[
|
|
|
|
"68:1:1"
|
|
|
|
],
|
2021-03-11 13:39:27 +00:00
|
|
|
"nodeType": "IdentifierPath",
|
|
|
|
"referencedDeclaration": 7,
|
|
|
|
"src": "68:1:1"
|
|
|
|
},
|
|
|
|
"nodeType": "ModifierInvocation",
|
|
|
|
"src": "68:4:1"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"name": "",
|
|
|
|
"nameLocation": "-1:-1:-1",
|
|
|
|
"nodeType": "FunctionDefinition",
|
|
|
|
"parameters":
|
|
|
|
{
|
|
|
|
"id": 10,
|
|
|
|
"nodeType": "ParameterList",
|
|
|
|
"parameters": [],
|
|
|
|
"src": "65:2:1"
|
|
|
|
},
|
|
|
|
"returnParameters":
|
|
|
|
{
|
|
|
|
"id": 14,
|
|
|
|
"nodeType": "ParameterList",
|
|
|
|
"parameters": [],
|
|
|
|
"src": "73:0:1"
|
|
|
|
},
|
|
|
|
"scope": 17,
|
|
|
|
"src": "54:21:1",
|
|
|
|
"stateMutability": "nonpayable",
|
|
|
|
"virtual": false,
|
|
|
|
"visibility": "public"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"scope": 18,
|
2021-04-15 07:59:59 +00:00
|
|
|
"src": "36:41:1",
|
2021-02-23 13:13:52 +00:00
|
|
|
"usedErrors": [],
|
|
|
|
"usedEvents": []
|
2021-03-11 13:39:27 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"src": "0:78:1"
|
|
|
|
}
|