2018-08-03 17:41:35 +00:00
|
|
|
{
|
2019-10-02 15:55:24 +00:00
|
|
|
"absolutePath": "a",
|
|
|
|
"exportedSymbols":
|
|
|
|
{
|
|
|
|
"C":
|
|
|
|
[
|
|
|
|
11
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"id": 12,
|
2020-05-13 01:52:11 +00:00
|
|
|
"license": null,
|
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",
|
|
|
|
"documentation": null,
|
|
|
|
"fullyImplemented": true,
|
|
|
|
"id": 11,
|
|
|
|
"linearizedBaseContracts":
|
|
|
|
[
|
|
|
|
11
|
|
|
|
],
|
|
|
|
"name": "C",
|
|
|
|
"nodeType": "ContractDefinition",
|
|
|
|
"nodes":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"body":
|
|
|
|
{
|
|
|
|
"id": 9,
|
|
|
|
"nodeType": "Block",
|
|
|
|
"src": "26:19:1",
|
|
|
|
"statements":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"assignments":
|
|
|
|
[
|
|
|
|
3
|
|
|
|
],
|
|
|
|
"declarations":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"constant": false,
|
|
|
|
"id": 3,
|
2020-04-07 09:10:10 +00:00
|
|
|
"mutability": "mutable",
|
2019-10-02 15:55:24 +00:00
|
|
|
"name": "x",
|
|
|
|
"nodeType": "VariableDeclaration",
|
|
|
|
"overrides": null,
|
|
|
|
"scope": 9,
|
|
|
|
"src": "28:5:1",
|
|
|
|
"stateVariable": false,
|
|
|
|
"storageLocation": "default",
|
|
|
|
"typeDescriptions":
|
|
|
|
{
|
|
|
|
"typeIdentifier": "t_uint8",
|
|
|
|
"typeString": "uint8"
|
|
|
|
},
|
|
|
|
"typeName": null,
|
|
|
|
"value": null,
|
|
|
|
"visibility": "internal"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"id": 5,
|
|
|
|
"initialValue":
|
|
|
|
{
|
|
|
|
"argumentTypes": null,
|
|
|
|
"hexValue": "32",
|
|
|
|
"id": 4,
|
|
|
|
"isConstant": false,
|
|
|
|
"isLValue": false,
|
|
|
|
"isPure": true,
|
|
|
|
"kind": "number",
|
|
|
|
"lValueRequested": false,
|
|
|
|
"nodeType": "Literal",
|
|
|
|
"src": "36:1:1",
|
|
|
|
"subdenomination": null,
|
|
|
|
"typeDescriptions":
|
|
|
|
{
|
|
|
|
"typeIdentifier": "t_rational_2_by_1",
|
|
|
|
"typeString": "int_const 2"
|
|
|
|
},
|
|
|
|
"value": "2"
|
|
|
|
},
|
|
|
|
"nodeType": "VariableDeclarationStatement",
|
|
|
|
"src": "28:9:1"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"expression":
|
|
|
|
{
|
|
|
|
"argumentTypes": null,
|
|
|
|
"id": 7,
|
|
|
|
"isConstant": false,
|
|
|
|
"isLValue": false,
|
|
|
|
"isPure": false,
|
|
|
|
"lValueRequested": false,
|
|
|
|
"nodeType": "UnaryOperation",
|
|
|
|
"operator": "++",
|
|
|
|
"prefix": false,
|
|
|
|
"src": "39:3:1",
|
|
|
|
"subExpression":
|
|
|
|
{
|
|
|
|
"argumentTypes": null,
|
|
|
|
"id": 6,
|
|
|
|
"name": "x",
|
|
|
|
"nodeType": "Identifier",
|
|
|
|
"overloadedDeclarations": [],
|
|
|
|
"referencedDeclaration": 3,
|
|
|
|
"src": "39:1:1",
|
|
|
|
"typeDescriptions":
|
|
|
|
{
|
|
|
|
"typeIdentifier": "t_uint8",
|
|
|
|
"typeString": "uint8"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"typeDescriptions":
|
|
|
|
{
|
|
|
|
"typeIdentifier": "t_uint8",
|
|
|
|
"typeString": "uint8"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"id": 8,
|
|
|
|
"nodeType": "ExpressionStatement",
|
|
|
|
"src": "39:3:1"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"documentation": null,
|
2019-12-09 00:26:48 +00:00
|
|
|
"functionSelector": "26121ff0",
|
2019-10-02 15:55:24 +00:00
|
|
|
"id": 10,
|
|
|
|
"implemented": true,
|
|
|
|
"kind": "function",
|
|
|
|
"modifiers": [],
|
|
|
|
"name": "f",
|
|
|
|
"nodeType": "FunctionDefinition",
|
|
|
|
"overrides": null,
|
|
|
|
"parameters":
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"nodeType": "ParameterList",
|
|
|
|
"parameters": [],
|
|
|
|
"src": "23:2:1"
|
|
|
|
},
|
|
|
|
"returnParameters":
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"nodeType": "ParameterList",
|
|
|
|
"parameters": [],
|
|
|
|
"src": "26:0:1"
|
|
|
|
},
|
|
|
|
"scope": 11,
|
|
|
|
"src": "13:32:1",
|
|
|
|
"stateMutability": "nonpayable",
|
2019-11-21 14:47:10 +00:00
|
|
|
"virtual": false,
|
2019-10-02 15:55:24 +00:00
|
|
|
"visibility": "public"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"scope": 12,
|
|
|
|
"src": "0:47:1"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"src": "0:48:1"
|
2018-08-03 17:41:35 +00:00
|
|
|
}
|