2019-12-19 12:13:48 +00:00
|
|
|
{
|
|
|
|
"absolutePath": "a",
|
|
|
|
"exportedSymbols":
|
|
|
|
{
|
|
|
|
"C":
|
|
|
|
[
|
|
|
|
8
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"id": 9,
|
2020-05-13 01:52:11 +00:00
|
|
|
"license": null,
|
2019-12-19 12:13:48 +00:00
|
|
|
"nodeType": "SourceUnit",
|
|
|
|
"nodes":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"abstract": false,
|
|
|
|
"baseContracts": [],
|
|
|
|
"contractDependencies": [],
|
|
|
|
"contractKind": "contract",
|
|
|
|
"documentation": null,
|
|
|
|
"fullyImplemented": true,
|
|
|
|
"id": 8,
|
|
|
|
"linearizedBaseContracts":
|
|
|
|
[
|
|
|
|
8
|
|
|
|
],
|
|
|
|
"name": "C",
|
|
|
|
"nodeType": "ContractDefinition",
|
|
|
|
"nodes":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"body":
|
|
|
|
{
|
|
|
|
"id": 6,
|
|
|
|
"nodeType": "Block",
|
|
|
|
"src": "57:97:1",
|
|
|
|
"statements":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"AST":
|
|
|
|
{
|
|
|
|
"nodeType": "YulBlock",
|
|
|
|
"src": "72:78:1",
|
|
|
|
"statements":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"body":
|
|
|
|
{
|
|
|
|
"nodeType": "YulBlock",
|
|
|
|
"src": "94:50:1",
|
|
|
|
"statements":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"body":
|
|
|
|
{
|
|
|
|
"nodeType": "YulBlock",
|
|
|
|
"src": "118:3:1",
|
|
|
|
"statements": []
|
|
|
|
},
|
|
|
|
"name": "f2",
|
|
|
|
"nodeType": "YulFunctionDefinition",
|
|
|
|
"src": "104:17:1"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"nodeType": "YulAssignment",
|
|
|
|
"src": "130:6:1",
|
|
|
|
"value":
|
|
|
|
{
|
|
|
|
"kind": "number",
|
|
|
|
"nodeType": "YulLiteral",
|
|
|
|
"src": "135:1:1",
|
|
|
|
"type": "",
|
|
|
|
"value": "2"
|
|
|
|
},
|
|
|
|
"variableNames":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"name": "x",
|
|
|
|
"nodeType": "YulIdentifier",
|
|
|
|
"src": "130:1:1"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"name": "f1",
|
|
|
|
"nodeType": "YulFunctionDefinition",
|
|
|
|
"src": "80:64:1"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"evmVersion": %EVMVERSION%,
|
|
|
|
"externalReferences": [],
|
|
|
|
"id": 5,
|
|
|
|
"nodeType": "InlineAssembly",
|
|
|
|
"src": "63:87:1"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"documentation": null,
|
|
|
|
"functionSelector": "26121ff0",
|
|
|
|
"id": 7,
|
|
|
|
"implemented": true,
|
|
|
|
"kind": "function",
|
|
|
|
"modifiers": [],
|
|
|
|
"name": "f",
|
|
|
|
"nodeType": "FunctionDefinition",
|
|
|
|
"overrides": null,
|
|
|
|
"parameters":
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"nodeType": "ParameterList",
|
|
|
|
"parameters": [],
|
|
|
|
"src": "25:2:1"
|
|
|
|
},
|
|
|
|
"returnParameters":
|
|
|
|
{
|
|
|
|
"id": 4,
|
|
|
|
"nodeType": "ParameterList",
|
|
|
|
"parameters":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"constant": false,
|
|
|
|
"id": 3,
|
2020-04-07 09:10:10 +00:00
|
|
|
"mutability": "mutable",
|
2019-12-19 12:13:48 +00:00
|
|
|
"name": "x",
|
|
|
|
"nodeType": "VariableDeclaration",
|
|
|
|
"overrides": null,
|
|
|
|
"scope": 7,
|
|
|
|
"src": "49:6:1",
|
|
|
|
"stateVariable": false,
|
|
|
|
"storageLocation": "default",
|
|
|
|
"typeDescriptions":
|
|
|
|
{
|
2020-04-08 11:24:04 +00:00
|
|
|
"typeIdentifier": null,
|
|
|
|
"typeString": null
|
2019-12-19 12:13:48 +00:00
|
|
|
},
|
|
|
|
"typeName":
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "uint",
|
|
|
|
"nodeType": "ElementaryTypeName",
|
|
|
|
"src": "49:4:1",
|
|
|
|
"typeDescriptions":
|
|
|
|
{
|
2020-04-08 11:24:04 +00:00
|
|
|
"typeIdentifier": null,
|
|
|
|
"typeString": null
|
2019-12-19 12:13:48 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"value": null,
|
|
|
|
"visibility": "internal"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"src": "48:8:1"
|
|
|
|
},
|
|
|
|
"scope": 8,
|
|
|
|
"src": "15:139:1",
|
|
|
|
"stateMutability": "pure",
|
|
|
|
"virtual": false,
|
|
|
|
"visibility": "public"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"scope": 9,
|
|
|
|
"src": "0:156:1"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"src": "0:157:1"
|
|
|
|
}
|