2018-08-03 17:41:35 +00:00
|
|
|
{
|
2019-10-02 15:55:24 +00:00
|
|
|
"absolutePath": "a",
|
|
|
|
"exportedSymbols":
|
|
|
|
{
|
|
|
|
"C":
|
|
|
|
[
|
|
|
|
17
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"id": 18,
|
|
|
|
"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": 17,
|
|
|
|
"linearizedBaseContracts":
|
|
|
|
[
|
|
|
|
17
|
|
|
|
],
|
|
|
|
"name": "C",
|
|
|
|
"nodeType": "ContractDefinition",
|
|
|
|
"nodes":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"body":
|
|
|
|
{
|
|
|
|
"id": 15,
|
|
|
|
"nodeType": "Block",
|
|
|
|
"src": "120:2:1",
|
|
|
|
"statements": []
|
|
|
|
},
|
|
|
|
"documentation": null,
|
|
|
|
"id": 16,
|
|
|
|
"implemented": true,
|
|
|
|
"kind": "function",
|
|
|
|
"modifiers": [],
|
|
|
|
"name": "f",
|
|
|
|
"nodeType": "FunctionDefinition",
|
|
|
|
"overrides": null,
|
|
|
|
"parameters":
|
|
|
|
{
|
|
|
|
"id": 7,
|
|
|
|
"nodeType": "ParameterList",
|
|
|
|
"parameters":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"constant": false,
|
|
|
|
"id": 6,
|
|
|
|
"name": "x",
|
|
|
|
"nodeType": "VariableDeclaration",
|
|
|
|
"overrides": null,
|
|
|
|
"scope": 16,
|
|
|
|
"src": "24:44:1",
|
|
|
|
"stateVariable": false,
|
|
|
|
"storageLocation": "default",
|
|
|
|
"typeDescriptions":
|
|
|
|
{
|
|
|
|
"typeIdentifier": "t_function_external_payable$__$returns$_t_uint256_$",
|
|
|
|
"typeString": "function () payable external returns (uint256)"
|
|
|
|
},
|
|
|
|
"typeName":
|
|
|
|
{
|
|
|
|
"id": 5,
|
|
|
|
"nodeType": "FunctionTypeName",
|
|
|
|
"parameterTypes":
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"nodeType": "ParameterList",
|
|
|
|
"parameters": [],
|
|
|
|
"src": "32:2:1"
|
|
|
|
},
|
|
|
|
"returnParameterTypes":
|
|
|
|
{
|
|
|
|
"id": 4,
|
|
|
|
"nodeType": "ParameterList",
|
|
|
|
"parameters":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"constant": false,
|
|
|
|
"id": 3,
|
|
|
|
"name": "",
|
|
|
|
"nodeType": "VariableDeclaration",
|
|
|
|
"overrides": null,
|
|
|
|
"scope": 5,
|
|
|
|
"src": "61:4:1",
|
|
|
|
"stateVariable": false,
|
|
|
|
"storageLocation": "default",
|
|
|
|
"typeDescriptions":
|
|
|
|
{
|
|
|
|
"typeIdentifier": "t_uint256",
|
|
|
|
"typeString": "uint256"
|
|
|
|
},
|
|
|
|
"typeName":
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "uint",
|
|
|
|
"nodeType": "ElementaryTypeName",
|
|
|
|
"src": "61:4:1",
|
|
|
|
"typeDescriptions":
|
|
|
|
{
|
|
|
|
"typeIdentifier": "t_uint256",
|
|
|
|
"typeString": "uint256"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"value": null,
|
|
|
|
"visibility": "internal"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"src": "60:6:1"
|
|
|
|
},
|
|
|
|
"src": "24:44:1",
|
|
|
|
"stateMutability": "payable",
|
|
|
|
"typeDescriptions":
|
|
|
|
{
|
|
|
|
"typeIdentifier": "t_function_external_payable$__$returns$_t_uint256_$",
|
|
|
|
"typeString": "function () payable external returns (uint256)"
|
|
|
|
},
|
|
|
|
"visibility": "external"
|
|
|
|
},
|
|
|
|
"value": null,
|
|
|
|
"visibility": "internal"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"src": "23:46:1"
|
|
|
|
},
|
|
|
|
"returnParameters":
|
|
|
|
{
|
|
|
|
"id": 14,
|
|
|
|
"nodeType": "ParameterList",
|
|
|
|
"parameters":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"constant": false,
|
|
|
|
"id": 13,
|
|
|
|
"name": "",
|
|
|
|
"nodeType": "VariableDeclaration",
|
|
|
|
"overrides": null,
|
|
|
|
"scope": 16,
|
|
|
|
"src": "79:40:1",
|
|
|
|
"stateVariable": false,
|
|
|
|
"storageLocation": "default",
|
|
|
|
"typeDescriptions":
|
|
|
|
{
|
|
|
|
"typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$",
|
|
|
|
"typeString": "function () view external returns (uint256)"
|
|
|
|
},
|
|
|
|
"typeName":
|
|
|
|
{
|
|
|
|
"id": 12,
|
|
|
|
"nodeType": "FunctionTypeName",
|
|
|
|
"parameterTypes":
|
|
|
|
{
|
|
|
|
"id": 8,
|
|
|
|
"nodeType": "ParameterList",
|
|
|
|
"parameters": [],
|
|
|
|
"src": "87:2:1"
|
|
|
|
},
|
|
|
|
"returnParameterTypes":
|
|
|
|
{
|
|
|
|
"id": 11,
|
|
|
|
"nodeType": "ParameterList",
|
|
|
|
"parameters":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"constant": false,
|
|
|
|
"id": 10,
|
|
|
|
"name": "",
|
|
|
|
"nodeType": "VariableDeclaration",
|
|
|
|
"overrides": null,
|
|
|
|
"scope": 12,
|
|
|
|
"src": "113:4:1",
|
|
|
|
"stateVariable": false,
|
|
|
|
"storageLocation": "default",
|
|
|
|
"typeDescriptions":
|
|
|
|
{
|
|
|
|
"typeIdentifier": "t_uint256",
|
|
|
|
"typeString": "uint256"
|
|
|
|
},
|
|
|
|
"typeName":
|
|
|
|
{
|
|
|
|
"id": 9,
|
|
|
|
"name": "uint",
|
|
|
|
"nodeType": "ElementaryTypeName",
|
|
|
|
"src": "113:4:1",
|
|
|
|
"typeDescriptions":
|
|
|
|
{
|
|
|
|
"typeIdentifier": "t_uint256",
|
|
|
|
"typeString": "uint256"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"value": null,
|
|
|
|
"visibility": "internal"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"src": "112:6:1"
|
|
|
|
},
|
|
|
|
"src": "79:40:1",
|
|
|
|
"stateMutability": "view",
|
|
|
|
"typeDescriptions":
|
|
|
|
{
|
|
|
|
"typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$",
|
|
|
|
"typeString": "function () view external returns (uint256)"
|
|
|
|
},
|
|
|
|
"visibility": "external"
|
|
|
|
},
|
|
|
|
"value": null,
|
|
|
|
"visibility": "internal"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"src": "78:41:1"
|
|
|
|
},
|
|
|
|
"scope": 17,
|
|
|
|
"src": "13:109:1",
|
|
|
|
"stateMutability": "nonpayable",
|
|
|
|
"superFunction": null,
|
|
|
|
"visibility": "public"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"scope": 18,
|
|
|
|
"src": "0:124:1"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"src": "0:125:1"
|
2018-08-03 17:41:35 +00:00
|
|
|
}
|