2018-08-03 17:41:35 +00:00
|
|
|
{
|
2019-10-02 15:55:24 +00:00
|
|
|
"attributes":
|
|
|
|
{
|
|
|
|
"absolutePath": "a",
|
|
|
|
"exportedSymbols":
|
|
|
|
{
|
|
|
|
"C":
|
|
|
|
[
|
2020-07-15 17:50:59 +00:00
|
|
|
12
|
2019-10-02 15:55:24 +00:00
|
|
|
]
|
2020-04-27 08:28:54 +00:00
|
|
|
}
|
2019-10-02 15:55:24 +00:00
|
|
|
},
|
|
|
|
"children":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"attributes":
|
|
|
|
{
|
2019-10-23 20:10:12 +00:00
|
|
|
"abstract": false,
|
2019-10-02 15:55:24 +00:00
|
|
|
"baseContracts":
|
|
|
|
[
|
|
|
|
null
|
|
|
|
],
|
|
|
|
"contractDependencies":
|
|
|
|
[
|
|
|
|
null
|
|
|
|
],
|
|
|
|
"contractKind": "contract",
|
|
|
|
"fullyImplemented": true,
|
|
|
|
"linearizedBaseContracts":
|
|
|
|
[
|
2020-07-15 17:50:59 +00:00
|
|
|
12
|
2019-10-02 15:55:24 +00:00
|
|
|
],
|
|
|
|
"name": "C",
|
2020-07-15 17:50:59 +00:00
|
|
|
"scope": 13
|
2019-10-02 15:55:24 +00:00
|
|
|
},
|
|
|
|
"children":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"attributes":
|
|
|
|
{
|
2019-12-09 00:26:48 +00:00
|
|
|
"functionSelector": "26121ff0",
|
2019-10-02 15:55:24 +00:00
|
|
|
"implemented": true,
|
|
|
|
"isConstructor": false,
|
|
|
|
"kind": "function",
|
|
|
|
"modifiers":
|
|
|
|
[
|
|
|
|
null
|
|
|
|
],
|
|
|
|
"name": "f",
|
2020-07-15 17:50:59 +00:00
|
|
|
"scope": 12,
|
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"
|
|
|
|
},
|
|
|
|
"children":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"attributes":
|
|
|
|
{
|
|
|
|
"parameters":
|
|
|
|
[
|
|
|
|
null
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"children": [],
|
|
|
|
"id": 1,
|
|
|
|
"name": "ParameterList",
|
|
|
|
"src": "23:2:1"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"attributes":
|
|
|
|
{
|
|
|
|
"parameters":
|
|
|
|
[
|
|
|
|
null
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"children": [],
|
|
|
|
"id": 2,
|
|
|
|
"name": "ParameterList",
|
|
|
|
"src": "26:0:1"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"children":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"attributes":
|
|
|
|
{
|
|
|
|
"assignments":
|
|
|
|
[
|
2020-07-15 17:50:59 +00:00
|
|
|
4
|
2019-10-02 15:55:24 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"children":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"attributes":
|
|
|
|
{
|
|
|
|
"constant": false,
|
2020-04-07 09:10:10 +00:00
|
|
|
"mutability": "mutable",
|
2019-10-02 15:55:24 +00:00
|
|
|
"name": "x",
|
2020-07-15 17:50:59 +00:00
|
|
|
"scope": 10,
|
2019-10-02 15:55:24 +00:00
|
|
|
"stateVariable": false,
|
|
|
|
"storageLocation": "default",
|
2020-07-15 17:50:59 +00:00
|
|
|
"type": "uint256",
|
2019-10-02 15:55:24 +00:00
|
|
|
"visibility": "internal"
|
|
|
|
},
|
2020-07-15 17:50:59 +00:00
|
|
|
"children":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"attributes":
|
|
|
|
{
|
|
|
|
"name": "uint",
|
|
|
|
"type": "uint256"
|
|
|
|
},
|
|
|
|
"id": 3,
|
|
|
|
"name": "ElementaryTypeName",
|
|
|
|
"src": "28:4:1"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"id": 4,
|
2019-10-02 15:55:24 +00:00
|
|
|
"name": "VariableDeclaration",
|
2020-07-15 17:50:59 +00:00
|
|
|
"src": "28:6:1"
|
2019-10-02 15:55:24 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"attributes":
|
|
|
|
{
|
|
|
|
"hexvalue": "32",
|
|
|
|
"isConstant": false,
|
|
|
|
"isLValue": false,
|
|
|
|
"isPure": true,
|
|
|
|
"lValueRequested": false,
|
|
|
|
"token": "number",
|
|
|
|
"type": "int_const 2",
|
|
|
|
"value": "2"
|
|
|
|
},
|
2020-07-15 17:50:59 +00:00
|
|
|
"id": 5,
|
2019-10-02 15:55:24 +00:00
|
|
|
"name": "Literal",
|
2020-07-15 17:50:59 +00:00
|
|
|
"src": "37:1:1"
|
2019-10-02 15:55:24 +00:00
|
|
|
}
|
|
|
|
],
|
2020-07-15 17:50:59 +00:00
|
|
|
"id": 6,
|
2019-10-02 15:55:24 +00:00
|
|
|
"name": "VariableDeclarationStatement",
|
2020-07-15 17:50:59 +00:00
|
|
|
"src": "28:10:1"
|
2019-10-02 15:55:24 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"children":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"attributes":
|
|
|
|
{
|
|
|
|
"isConstant": false,
|
|
|
|
"isLValue": false,
|
|
|
|
"isPure": false,
|
|
|
|
"lValueRequested": false,
|
|
|
|
"operator": "++",
|
|
|
|
"prefix": false,
|
2020-07-15 17:50:59 +00:00
|
|
|
"type": "uint256"
|
2019-10-02 15:55:24 +00:00
|
|
|
},
|
|
|
|
"children":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"attributes":
|
|
|
|
{
|
|
|
|
"overloadedDeclarations":
|
|
|
|
[
|
|
|
|
null
|
|
|
|
],
|
2020-07-15 17:50:59 +00:00
|
|
|
"referencedDeclaration": 4,
|
|
|
|
"type": "uint256",
|
2019-10-02 15:55:24 +00:00
|
|
|
"value": "x"
|
|
|
|
},
|
2020-07-15 17:50:59 +00:00
|
|
|
"id": 7,
|
2019-10-02 15:55:24 +00:00
|
|
|
"name": "Identifier",
|
2020-07-15 17:50:59 +00:00
|
|
|
"src": "40:1:1"
|
2019-10-02 15:55:24 +00:00
|
|
|
}
|
|
|
|
],
|
2020-07-15 17:50:59 +00:00
|
|
|
"id": 8,
|
2019-10-02 15:55:24 +00:00
|
|
|
"name": "UnaryOperation",
|
2020-07-15 17:50:59 +00:00
|
|
|
"src": "40:3:1"
|
2019-10-02 15:55:24 +00:00
|
|
|
}
|
|
|
|
],
|
2020-07-15 17:50:59 +00:00
|
|
|
"id": 9,
|
2019-10-02 15:55:24 +00:00
|
|
|
"name": "ExpressionStatement",
|
2020-07-15 17:50:59 +00:00
|
|
|
"src": "40:3:1"
|
2019-10-02 15:55:24 +00:00
|
|
|
}
|
|
|
|
],
|
2020-07-15 17:50:59 +00:00
|
|
|
"id": 10,
|
2019-10-02 15:55:24 +00:00
|
|
|
"name": "Block",
|
2020-07-15 17:50:59 +00:00
|
|
|
"src": "26:20:1"
|
2019-10-02 15:55:24 +00:00
|
|
|
}
|
|
|
|
],
|
2020-07-15 17:50:59 +00:00
|
|
|
"id": 11,
|
2019-10-02 15:55:24 +00:00
|
|
|
"name": "FunctionDefinition",
|
2020-07-15 17:50:59 +00:00
|
|
|
"src": "13:33:1"
|
2019-10-02 15:55:24 +00:00
|
|
|
}
|
|
|
|
],
|
2020-07-15 17:50:59 +00:00
|
|
|
"id": 12,
|
2019-10-02 15:55:24 +00:00
|
|
|
"name": "ContractDefinition",
|
2020-07-15 17:50:59 +00:00
|
|
|
"src": "0:48:1"
|
2019-10-02 15:55:24 +00:00
|
|
|
}
|
|
|
|
],
|
2020-07-15 17:50:59 +00:00
|
|
|
"id": 13,
|
2019-10-02 15:55:24 +00:00
|
|
|
"name": "SourceUnit",
|
2020-07-15 17:50:59 +00:00
|
|
|
"src": "0:49:1"
|
2018-08-03 17:41:35 +00:00
|
|
|
}
|