2019-10-15 10:38:12 +00:00
|
|
|
{
|
|
|
|
"absolutePath": "a",
|
|
|
|
"exportedSymbols":
|
|
|
|
{
|
|
|
|
"C":
|
|
|
|
[
|
|
|
|
9
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"id": 10,
|
2020-05-13 01:52:11 +00:00
|
|
|
"license": null,
|
2019-10-15 10:38:12 +00:00
|
|
|
"nodeType": "SourceUnit",
|
|
|
|
"nodes":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"abstract": false,
|
|
|
|
"baseContracts": [],
|
|
|
|
"contractDependencies": [],
|
|
|
|
"contractKind": "contract",
|
|
|
|
"documentation": null,
|
|
|
|
"fullyImplemented": true,
|
|
|
|
"id": 9,
|
|
|
|
"linearizedBaseContracts":
|
|
|
|
[
|
|
|
|
9
|
|
|
|
],
|
|
|
|
"name": "C",
|
|
|
|
"nodeType": "ContractDefinition",
|
|
|
|
"nodes":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"body":
|
|
|
|
{
|
|
|
|
"id": 7,
|
|
|
|
"nodeType": "Block",
|
|
|
|
"src": "42:51:1",
|
|
|
|
"statements":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"assignments":
|
|
|
|
[
|
|
|
|
4
|
|
|
|
],
|
|
|
|
"declarations":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"constant": false,
|
|
|
|
"id": 4,
|
2020-04-07 09:10:10 +00:00
|
|
|
"mutability": "mutable",
|
2019-10-15 10:38:12 +00:00
|
|
|
"name": "x",
|
|
|
|
"nodeType": "VariableDeclaration",
|
|
|
|
"overrides": null,
|
|
|
|
"scope": 7,
|
|
|
|
"src": "52:6:1",
|
|
|
|
"stateVariable": false,
|
|
|
|
"storageLocation": "default",
|
|
|
|
"typeDescriptions":
|
|
|
|
{
|
|
|
|
"typeIdentifier": "t_uint256",
|
|
|
|
"typeString": "uint256"
|
|
|
|
},
|
|
|
|
"typeName":
|
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"name": "uint",
|
|
|
|
"nodeType": "ElementaryTypeName",
|
|
|
|
"src": "52:4:1",
|
|
|
|
"typeDescriptions":
|
|
|
|
{
|
|
|
|
"typeIdentifier": "t_uint256",
|
|
|
|
"typeString": "uint256"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"value": null,
|
|
|
|
"visibility": "internal"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"id": 5,
|
|
|
|
"initialValue": null,
|
|
|
|
"nodeType": "VariableDeclarationStatement",
|
|
|
|
"src": "52:6:1"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"AST":
|
|
|
|
{
|
|
|
|
"nodeType": "YulBlock",
|
|
|
|
"src": "77:10:1",
|
|
|
|
"statements":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"nodeType": "YulAssignment",
|
|
|
|
"src": "79:6:1",
|
|
|
|
"value":
|
|
|
|
{
|
|
|
|
"kind": "number",
|
|
|
|
"nodeType": "YulLiteral",
|
|
|
|
"src": "84:1:1",
|
|
|
|
"type": "",
|
|
|
|
"value": "7"
|
|
|
|
},
|
|
|
|
"variableNames":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"name": "x",
|
|
|
|
"nodeType": "YulIdentifier",
|
|
|
|
"src": "79:1:1"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2020-01-14 11:46:47 +00:00
|
|
|
"evmVersion": %EVMVERSION%,
|
2019-10-15 10:38:12 +00:00
|
|
|
"externalReferences":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"declaration": 4,
|
|
|
|
"isOffset": false,
|
|
|
|
"isSlot": false,
|
|
|
|
"src": "79:1:1",
|
|
|
|
"valueSize": 1
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"id": 6,
|
|
|
|
"nodeType": "InlineAssembly",
|
|
|
|
"src": "68:19:1"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"documentation": null,
|
2019-12-09 00:26:48 +00:00
|
|
|
"functionSelector": "26121ff0",
|
2019-10-15 10:38:12 +00:00
|
|
|
"id": 8,
|
|
|
|
"implemented": true,
|
|
|
|
"kind": "function",
|
|
|
|
"modifiers": [],
|
|
|
|
"name": "f",
|
|
|
|
"nodeType": "FunctionDefinition",
|
|
|
|
"overrides": null,
|
|
|
|
"parameters":
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"nodeType": "ParameterList",
|
|
|
|
"parameters": [],
|
|
|
|
"src": "27:2:1"
|
|
|
|
},
|
|
|
|
"returnParameters":
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"nodeType": "ParameterList",
|
|
|
|
"parameters": [],
|
|
|
|
"src": "42:0:1"
|
|
|
|
},
|
|
|
|
"scope": 9,
|
|
|
|
"src": "17:76:1",
|
|
|
|
"stateMutability": "pure",
|
2019-11-21 14:47:10 +00:00
|
|
|
"virtual": false,
|
2019-10-15 10:38:12 +00:00
|
|
|
"visibility": "public"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"scope": 10,
|
|
|
|
"src": "0:95:1"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"src": "0:96:1"
|
|
|
|
}
|