233 lines
7.3 KiB
JSON
233 lines
7.3 KiB
JSON
|
{
|
||
|
"absolutePath": "a",
|
||
|
"exportedSymbols":
|
||
|
{
|
||
|
"C":
|
||
|
[
|
||
|
17
|
||
|
]
|
||
|
},
|
||
|
"id": 18,
|
||
|
"nodeType": "SourceUnit",
|
||
|
"nodes":
|
||
|
[
|
||
|
{
|
||
|
"abstract": false,
|
||
|
"baseContracts": [],
|
||
|
"canonicalName": "C",
|
||
|
"contractDependencies": [],
|
||
|
"contractKind": "contract",
|
||
|
"fullyImplemented": true,
|
||
|
"id": 17,
|
||
|
"linearizedBaseContracts":
|
||
|
[
|
||
|
17
|
||
|
],
|
||
|
"name": "C",
|
||
|
"nameLocation": "9:1:1",
|
||
|
"nodeType": "ContractDefinition",
|
||
|
"nodes":
|
||
|
[
|
||
|
{
|
||
|
"body":
|
||
|
{
|
||
|
"id": 15,
|
||
|
"nodeType": "Block",
|
||
|
"src": "127:2:1",
|
||
|
"statements": []
|
||
|
},
|
||
|
"functionSelector": "d6cd4974",
|
||
|
"id": 16,
|
||
|
"implemented": true,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "f",
|
||
|
"nameLocation": "22:1:1",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"parameters":
|
||
|
{
|
||
|
"id": 7,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters":
|
||
|
[
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 6,
|
||
|
"mutability": "mutable",
|
||
|
"name": "x",
|
||
|
"nameLocation": "67:1:1",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"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,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nameLocation": "-1:-1:-1",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"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"
|
||
|
}
|
||
|
},
|
||
|
"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"
|
||
|
},
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "23:46:1"
|
||
|
},
|
||
|
"returnParameters":
|
||
|
{
|
||
|
"id": 14,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters":
|
||
|
[
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nameLocation": "-1:-1:-1",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"scope": 16,
|
||
|
"src": "86: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": "94:2:1"
|
||
|
},
|
||
|
"returnParameterTypes":
|
||
|
{
|
||
|
"id": 11,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters":
|
||
|
[
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 10,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nameLocation": "-1:-1:-1",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"scope": 12,
|
||
|
"src": "120:4:1",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions":
|
||
|
{
|
||
|
"typeIdentifier": "t_uint256",
|
||
|
"typeString": "uint256"
|
||
|
},
|
||
|
"typeName":
|
||
|
{
|
||
|
"id": 9,
|
||
|
"name": "uint",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "120:4:1",
|
||
|
"typeDescriptions":
|
||
|
{
|
||
|
"typeIdentifier": "t_uint256",
|
||
|
"typeString": "uint256"
|
||
|
}
|
||
|
},
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "119:6:1"
|
||
|
},
|
||
|
"src": "86:40:1",
|
||
|
"stateMutability": "view",
|
||
|
"typeDescriptions":
|
||
|
{
|
||
|
"typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$",
|
||
|
"typeString": "function () view external returns (uint256)"
|
||
|
},
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "85:41:1"
|
||
|
},
|
||
|
"scope": 17,
|
||
|
"src": "13:116:1",
|
||
|
"stateMutability": "nonpayable",
|
||
|
"virtual": false,
|
||
|
"visibility": "public"
|
||
|
}
|
||
|
],
|
||
|
"scope": 18,
|
||
|
"src": "0:131:1",
|
||
|
"usedErrors": []
|
||
|
}
|
||
|
],
|
||
|
"src": "0:132:1"
|
||
|
}
|