Removed null members from JSON output

This commit is contained in:
hrkrshnn 2020-04-27 13:58:54 +05:30 committed by Harikrishnan Mulackal
parent d422a406ba
commit 4a001d568e
95 changed files with 106 additions and 733 deletions

View File

@ -4,6 +4,7 @@ Breaking changes:
* Type Checker: Disallow virtual for library functions. * Type Checker: Disallow virtual for library functions.
* Deprecated dot syntax for `value` and `gas`. * Deprecated dot syntax for `value` and `gas`.
* Deprecated the identifier `now`. * Deprecated the identifier `now`.
* JSON AST: Removes members with ``null`` value from JSON output.
Language Features: Language Features:

View File

@ -201,7 +201,7 @@ Json::Value ASTJsonConverter::inlineAssemblyIdentifierToJson(pair<yul::Identifie
void ASTJsonConverter::print(ostream& _stream, ASTNode const& _node) void ASTJsonConverter::print(ostream& _stream, ASTNode const& _node)
{ {
_stream << util::jsonPrettyPrint(toJson(_node)); _stream << util::jsonPrettyPrint(util::removeNullMembers(toJson(_node)));
} }
Json::Value&& ASTJsonConverter::toJson(ASTNode const& _node) Json::Value&& ASTJsonConverter::toJson(ASTNode const& _node)

View File

@ -884,7 +884,8 @@ ASTPointer<StructuredDocumentation> ASTJsonImporter::createDocumentation(Json::V
Json::Value ASTJsonImporter::member(Json::Value const& _node, string const& _name) Json::Value ASTJsonImporter::member(Json::Value const& _node, string const& _name)
{ {
astAssert(_node.isMember(_name), "Node '" + _node["nodeType"].asString() + "' (id " + _node["id"].asString() + ") is missing field '" + _name + "'."); if (!_node.isMember(_name))
return Json::nullValue;
return _node[_name]; return _node[_name];
} }

View File

@ -63,7 +63,8 @@ T AsmJsonImporter::createAsmNode(Json::Value const& _node)
Json::Value AsmJsonImporter::member(Json::Value const& _node, string const& _name) Json::Value AsmJsonImporter::member(Json::Value const& _node, string const& _name)
{ {
astAssert(_node.isMember(_name), "Node is missing field '" + _name + "'."); if (!_node.isMember(_name))
return Json::nullValue;
return _node[_name]; return _node[_name];
} }

View File

@ -87,8 +87,31 @@ bool parse(Json::CharReaderBuilder& _builder, string const& _input, Json::Value&
return reader->parse(_input.c_str(), _input.c_str() + _input.length(), &_json, _errs); return reader->parse(_input.c_str(), _input.c_str() + _input.length(), &_json, _errs);
} }
/// Takes a JSON value (@ _json) and removes all its members with value 'null' recursively.
void removeNullMembersHelper(Json::Value& _json)
{
if (_json.type() == Json::ValueType::arrayValue)
for (auto& child: _json)
removeNullMembersHelper(child);
else if (_json.type() == Json::ValueType::objectValue)
for (auto const& key: _json.getMemberNames())
{
Json::Value& value = _json[key];
if (value.isNull())
_json.removeMember(key);
else
removeNullMembersHelper(value);
}
}
} // end anonymous namespace } // end anonymous namespace
Json::Value removeNullMembers(Json::Value _json)
{
removeNullMembersHelper(_json);
return _json;
}
string jsonPrettyPrint(Json::Value const& _input) string jsonPrettyPrint(Json::Value const& _input)
{ {
static map<string, Json::Value> settings{{"indentation", " "}, {"enableYAMLCompatibility", true}}; static map<string, Json::Value> settings{{"indentation", " "}, {"enableYAMLCompatibility", true}};

View File

@ -28,6 +28,9 @@
namespace solidity::util { namespace solidity::util {
/// Removes members with null value recursively from (@a _json).
Json::Value removeNullMembers(Json::Value _json);
/// Serialise the JSON object (@a _input) with indentation /// Serialise the JSON object (@a _input) with indentation
std::string jsonPrettyPrint(Json::Value const& _input); std::string jsonPrettyPrint(Json::Value const& _input);

View File

@ -433,7 +433,7 @@ void CommandLineInterface::handleABI(string const& _contract)
if (!m_args.count(g_argAbi)) if (!m_args.count(g_argAbi))
return; return;
string data = jsonCompactPrint(m_compiler->contractABI(_contract)); string data = jsonCompactPrint(removeNullMembers(m_compiler->contractABI(_contract)));
if (m_args.count(g_argOutputDir)) if (m_args.count(g_argOutputDir))
createFile(m_compiler->filesystemFriendlyName(_contract) + ".abi", data); createFile(m_compiler->filesystemFriendlyName(_contract) + ".abi", data);
else else
@ -445,7 +445,7 @@ void CommandLineInterface::handleStorageLayout(string const& _contract)
if (!m_args.count(g_argStorageLayout)) if (!m_args.count(g_argStorageLayout))
return; return;
string data = jsonCompactPrint(m_compiler->storageLayout(_contract)); string data = jsonCompactPrint(removeNullMembers(m_compiler->storageLayout(_contract)));
if (m_args.count(g_argOutputDir)) if (m_args.count(g_argOutputDir))
createFile(m_compiler->filesystemFriendlyName(_contract) + "_storage.json", data); createFile(m_compiler->filesystemFriendlyName(_contract) + "_storage.json", data);
else else
@ -474,9 +474,11 @@ void CommandLineInterface::handleNatspec(bool _natspecDev, string const& _contra
if (m_args.count(argName)) if (m_args.count(argName))
{ {
std::string output = jsonPrettyPrint( std::string output = jsonPrettyPrint(
_natspecDev ? removeNullMembers(
m_compiler->natspecDev(_contract) : _natspecDev ?
m_compiler->natspecUser(_contract) m_compiler->natspecDev(_contract) :
m_compiler->natspecUser(_contract)
)
); );
if (m_args.count(g_argOutputDir)) if (m_args.count(g_argOutputDir))
@ -1399,7 +1401,8 @@ void CommandLineInterface::handleCombinedJSON()
} }
} }
string json = m_args.count(g_argPrettyJson) ? jsonPrettyPrint(output) : jsonCompactPrint(output); string json = m_args.count(g_argPrettyJson) ? jsonPrettyPrint(removeNullMembers(std::move(output))) :
jsonCompactPrint(removeNullMembers(std::move(output)));
if (m_args.count(g_argOutputDir)) if (m_args.count(g_argOutputDir))
createJson("combined", json); createJson("combined", json);
@ -1715,7 +1718,7 @@ void CommandLineInterface::outputCompilationResults()
{ {
string ret; string ret;
if (m_args.count(g_argAsmJson)) if (m_args.count(g_argAsmJson))
ret = jsonPrettyPrint(m_compiler->assemblyJSON(contract)); ret = jsonPrettyPrint(removeNullMembers(m_compiler->assemblyJSON(contract)));
else else
ret = m_compiler->assemblyString(contract, m_sourceCodes); ret = m_compiler->assemblyString(contract, m_sourceCodes);

View File

@ -45,7 +45,6 @@ JSON AST:
null null
], ],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"linearizedBaseContracts": "linearizedBaseContracts":
[ [
@ -59,7 +58,6 @@ JSON AST:
{ {
"attributes": "attributes":
{ {
"documentation": null,
"implemented": true, "implemented": true,
"isConstructor": true, "isConstructor": true,
"kind": "constructor", "kind": "constructor",
@ -68,7 +66,6 @@ JSON AST:
null null
], ],
"name": "", "name": "",
"overrides": null,
"scope": 18, "scope": 18,
"stateMutability": "nonpayable", "stateMutability": "nonpayable",
"virtual": false, "virtual": false,
@ -123,7 +120,6 @@ JSON AST:
{ {
"attributes": "attributes":
{ {
"documentation": null,
"functionSelector": "af11c34c", "functionSelector": "af11c34c",
"implemented": true, "implemented": true,
"isConstructor": false, "isConstructor": false,
@ -133,7 +129,6 @@ JSON AST:
null null
], ],
"name": "five", "name": "five",
"overrides": null,
"scope": 18, "scope": 18,
"stateMutability": "view", "stateMutability": "view",
"virtual": false, "virtual": false,
@ -163,12 +158,10 @@ JSON AST:
"constant": false, "constant": false,
"mutability": "mutable", "mutability": "mutable",
"name": "", "name": "",
"overrides": null,
"scope": 17, "scope": 17,
"stateVariable": false, "stateVariable": false,
"storageLocation": "default", "storageLocation": "default",
"type": "uint256", "type": "uint256",
"value": null,
"visibility": "internal" "visibility": "internal"
}, },
"children": "children":
@ -206,13 +199,11 @@ JSON AST:
{ {
"attributes": "attributes":
{ {
"argumentTypes": null,
"hexvalue": "35", "hexvalue": "35",
"isConstant": false, "isConstant": false,
"isLValue": false, "isLValue": false,
"isPure": true, "isPure": true,
"lValueRequested": false, "lValueRequested": false,
"subdenomination": null,
"token": "number", "token": "number",
"type": "int_const 5", "type": "int_const 5",
"value": "5" "value": "5"

View File

@ -8,7 +8,6 @@
] ]
}, },
"id": 6, "id": 6,
"license": null,
"nodeType": "SourceUnit", "nodeType": "SourceUnit",
"nodes": "nodes":
[ [
@ -17,7 +16,6 @@
"baseContracts": [], "baseContracts": [],
"contractDependencies": [], "contractDependencies": [],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"id": 5, "id": 5,
"linearizedBaseContracts": "linearizedBaseContracts":
@ -36,14 +34,12 @@
"src": "44:4:1", "src": "44:4:1",
"statements": [] "statements": []
}, },
"documentation": null,
"id": 4, "id": 4,
"implemented": true, "implemented": true,
"kind": "constructor", "kind": "constructor",
"modifiers": [], "modifiers": [],
"name": "", "name": "",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"overrides": null,
"parameters": "parameters":
{ {
"id": 1, "id": 1,

View File

@ -8,8 +8,7 @@
[ [
5 5
] ]
}, }
"license": null
}, },
"children": "children":
[ [
@ -26,7 +25,6 @@
null null
], ],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"linearizedBaseContracts": "linearizedBaseContracts":
[ [
@ -40,7 +38,6 @@
{ {
"attributes": "attributes":
{ {
"documentation": null,
"implemented": true, "implemented": true,
"isConstructor": true, "isConstructor": true,
"kind": "constructor", "kind": "constructor",
@ -49,7 +46,6 @@
null null
], ],
"name": "", "name": "",
"overrides": null,
"scope": 5, "scope": 5,
"stateMutability": "nonpayable", "stateMutability": "nonpayable",
"virtual": false, "virtual": false,

View File

@ -8,7 +8,6 @@
] ]
}, },
"id": 40, "id": 40,
"license": null,
"nodeType": "SourceUnit", "nodeType": "SourceUnit",
"nodes": "nodes":
[ [
@ -17,7 +16,6 @@
"baseContracts": [], "baseContracts": [],
"contractDependencies": [], "contractDependencies": [],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"id": 39, "id": 39,
"linearizedBaseContracts": "linearizedBaseContracts":
@ -35,7 +33,6 @@
"mutability": "mutable", "mutability": "mutable",
"name": "m", "name": "m",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"overrides": null,
"scope": 39, "scope": 39,
"src": "17:44:1", "src": "17:44:1",
"stateVariable": true, "stateVariable": true,
@ -81,7 +78,6 @@
} }
} }
}, },
"value": null,
"visibility": "public" "visibility": "public"
}, },
{ {
@ -105,7 +101,6 @@
"mutability": "mutable", "mutability": "mutable",
"name": "a", "name": "a",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"overrides": null,
"scope": 37, "scope": 37,
"src": "144:17:1", "src": "144:17:1",
"stateVariable": false, "stateVariable": false,
@ -128,17 +123,14 @@
"typeString": "address payable" "typeString": "address payable"
} }
}, },
"value": null,
"visibility": "internal" "visibility": "internal"
} }
], ],
"id": 16, "id": 16,
"initialValue": "initialValue":
{ {
"argumentTypes": null,
"baseExpression": "baseExpression":
{ {
"argumentTypes": null,
"id": 13, "id": 13,
"name": "m", "name": "m",
"nodeType": "Identifier", "nodeType": "Identifier",
@ -154,7 +146,6 @@
"id": 15, "id": 15,
"indexExpression": "indexExpression":
{ {
"argumentTypes": null,
"id": 14, "id": 14,
"name": "arg", "name": "arg",
"nodeType": "Identifier", "nodeType": "Identifier",
@ -185,7 +176,6 @@
{ {
"expression": "expression":
{ {
"argumentTypes": null,
"id": 19, "id": 19,
"isConstant": false, "isConstant": false,
"isLValue": false, "isLValue": false,
@ -193,7 +183,6 @@
"lValueRequested": false, "lValueRequested": false,
"leftHandSide": "leftHandSide":
{ {
"argumentTypes": null,
"id": 17, "id": 17,
"name": "r", "name": "r",
"nodeType": "Identifier", "nodeType": "Identifier",
@ -210,7 +199,6 @@
"operator": "=", "operator": "=",
"rightHandSide": "rightHandSide":
{ {
"argumentTypes": null,
"id": 18, "id": 18,
"name": "arg", "name": "arg",
"nodeType": "Identifier", "nodeType": "Identifier",
@ -247,7 +235,6 @@
"mutability": "mutable", "mutability": "mutable",
"name": "c", "name": "c",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"overrides": null,
"scope": 37, "scope": 37,
"src": "197:9:1", "src": "197:9:1",
"stateVariable": false, "stateVariable": false,
@ -270,18 +257,15 @@
"typeString": "address" "typeString": "address"
} }
}, },
"value": null,
"visibility": "internal" "visibility": "internal"
} }
], ],
"id": 27, "id": 27,
"initialValue": "initialValue":
{ {
"argumentTypes": null,
"arguments": "arguments":
[ [
{ {
"argumentTypes": null,
"id": 25, "id": 25,
"name": "this", "name": "this",
"nodeType": "Identifier", "nodeType": "Identifier",
@ -322,11 +306,7 @@
"name": "address", "name": "address",
"nodeType": "ElementaryTypeName", "nodeType": "ElementaryTypeName",
"src": "209:7:1", "src": "209:7:1",
"typeDescriptions": "typeDescriptions": {}
{
"typeIdentifier": null,
"typeString": null
}
} }
}, },
"id": 26, "id": 26,
@ -351,7 +331,6 @@
{ {
"expression": "expression":
{ {
"argumentTypes": null,
"id": 35, "id": 35,
"isConstant": false, "isConstant": false,
"isLValue": false, "isLValue": false,
@ -359,10 +338,8 @@
"lValueRequested": false, "lValueRequested": false,
"leftHandSide": "leftHandSide":
{ {
"argumentTypes": null,
"baseExpression": "baseExpression":
{ {
"argumentTypes": null,
"id": 28, "id": 28,
"name": "m", "name": "m",
"nodeType": "Identifier", "nodeType": "Identifier",
@ -378,7 +355,6 @@
"id": 30, "id": 30,
"indexExpression": "indexExpression":
{ {
"argumentTypes": null,
"id": 29, "id": 29,
"name": "c", "name": "c",
"nodeType": "Identifier", "nodeType": "Identifier",
@ -407,11 +383,9 @@
"operator": "=", "operator": "=",
"rightHandSide": "rightHandSide":
{ {
"argumentTypes": null,
"arguments": "arguments":
[ [
{ {
"argumentTypes": null,
"hexValue": "30", "hexValue": "30",
"id": 33, "id": 33,
"isConstant": false, "isConstant": false,
@ -421,7 +395,6 @@
"lValueRequested": false, "lValueRequested": false,
"nodeType": "Literal", "nodeType": "Literal",
"src": "247:1:1", "src": "247:1:1",
"subdenomination": null,
"typeDescriptions": "typeDescriptions":
{ {
"typeIdentifier": "t_rational_0_by_1", "typeIdentifier": "t_rational_0_by_1",
@ -457,11 +430,7 @@
"name": "address", "name": "address",
"nodeType": "ElementaryTypeName", "nodeType": "ElementaryTypeName",
"src": "239:7:1", "src": "239:7:1",
"typeDescriptions": "typeDescriptions": {}
{
"typeIdentifier": null,
"typeString": null
}
} }
}, },
"id": 34, "id": 34,
@ -493,7 +462,6 @@
} }
] ]
}, },
"documentation": null,
"functionSelector": "fc68521a", "functionSelector": "fc68521a",
"id": 38, "id": 38,
"implemented": true, "implemented": true,
@ -501,7 +469,6 @@
"modifiers": [], "modifiers": [],
"name": "f", "name": "f",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"overrides": null,
"parameters": "parameters":
{ {
"id": 7, "id": 7,
@ -514,7 +481,6 @@
"mutability": "mutable", "mutability": "mutable",
"name": "arg", "name": "arg",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"overrides": null,
"scope": 38, "scope": 38,
"src": "78:19:1", "src": "78:19:1",
"stateVariable": false, "stateVariable": false,
@ -537,7 +503,6 @@
"typeString": "address payable" "typeString": "address payable"
} }
}, },
"value": null,
"visibility": "internal" "visibility": "internal"
} }
], ],
@ -555,7 +520,6 @@
"mutability": "mutable", "mutability": "mutable",
"name": "r", "name": "r",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"overrides": null,
"scope": 38, "scope": 38,
"src": "115:17:1", "src": "115:17:1",
"stateVariable": false, "stateVariable": false,
@ -578,7 +542,6 @@
"typeString": "address payable" "typeString": "address payable"
} }
}, },
"value": null,
"visibility": "internal" "visibility": "internal"
} }
], ],

View File

@ -8,8 +8,7 @@
[ [
39 39
] ]
}, }
"license": null
}, },
"children": "children":
[ [
@ -26,7 +25,6 @@
null null
], ],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"linearizedBaseContracts": "linearizedBaseContracts":
[ [
@ -44,12 +42,10 @@
"functionSelector": "97682884", "functionSelector": "97682884",
"mutability": "mutable", "mutability": "mutable",
"name": "m", "name": "m",
"overrides": null,
"scope": 39, "scope": 39,
"stateVariable": true, "stateVariable": true,
"storageLocation": "default", "storageLocation": "default",
"type": "mapping(address => address payable)", "type": "mapping(address => address payable)",
"value": null,
"visibility": "public" "visibility": "public"
}, },
"children": "children":
@ -95,7 +91,6 @@
{ {
"attributes": "attributes":
{ {
"documentation": null,
"functionSelector": "fc68521a", "functionSelector": "fc68521a",
"implemented": true, "implemented": true,
"isConstructor": false, "isConstructor": false,
@ -105,7 +100,6 @@
null null
], ],
"name": "f", "name": "f",
"overrides": null,
"scope": 39, "scope": 39,
"stateMutability": "nonpayable", "stateMutability": "nonpayable",
"virtual": false, "virtual": false,
@ -122,12 +116,10 @@
"constant": false, "constant": false,
"mutability": "mutable", "mutability": "mutable",
"name": "arg", "name": "arg",
"overrides": null,
"scope": 38, "scope": 38,
"stateVariable": false, "stateVariable": false,
"storageLocation": "default", "storageLocation": "default",
"type": "address payable", "type": "address payable",
"value": null,
"visibility": "internal" "visibility": "internal"
}, },
"children": "children":
@ -162,12 +154,10 @@
"constant": false, "constant": false,
"mutability": "mutable", "mutability": "mutable",
"name": "r", "name": "r",
"overrides": null,
"scope": 38, "scope": 38,
"stateVariable": false, "stateVariable": false,
"storageLocation": "default", "storageLocation": "default",
"type": "address payable", "type": "address payable",
"value": null,
"visibility": "internal" "visibility": "internal"
}, },
"children": "children":
@ -212,12 +202,10 @@
"constant": false, "constant": false,
"mutability": "mutable", "mutability": "mutable",
"name": "a", "name": "a",
"overrides": null,
"scope": 37, "scope": 37,
"stateVariable": false, "stateVariable": false,
"storageLocation": "default", "storageLocation": "default",
"type": "address payable", "type": "address payable",
"value": null,
"visibility": "internal" "visibility": "internal"
}, },
"children": "children":
@ -241,7 +229,6 @@
{ {
"attributes": "attributes":
{ {
"argumentTypes": null,
"isConstant": false, "isConstant": false,
"isLValue": true, "isLValue": true,
"isPure": false, "isPure": false,
@ -253,7 +240,6 @@
{ {
"attributes": "attributes":
{ {
"argumentTypes": null,
"overloadedDeclarations": "overloadedDeclarations":
[ [
null null
@ -269,7 +255,6 @@
{ {
"attributes": "attributes":
{ {
"argumentTypes": null,
"overloadedDeclarations": "overloadedDeclarations":
[ [
null null
@ -298,7 +283,6 @@
{ {
"attributes": "attributes":
{ {
"argumentTypes": null,
"isConstant": false, "isConstant": false,
"isLValue": false, "isLValue": false,
"isPure": false, "isPure": false,
@ -311,7 +295,6 @@
{ {
"attributes": "attributes":
{ {
"argumentTypes": null,
"overloadedDeclarations": "overloadedDeclarations":
[ [
null null
@ -327,7 +310,6 @@
{ {
"attributes": "attributes":
{ {
"argumentTypes": null,
"overloadedDeclarations": "overloadedDeclarations":
[ [
null null
@ -366,12 +348,10 @@
"constant": false, "constant": false,
"mutability": "mutable", "mutability": "mutable",
"name": "c", "name": "c",
"overrides": null,
"scope": 37, "scope": 37,
"stateVariable": false, "stateVariable": false,
"storageLocation": "default", "storageLocation": "default",
"type": "address", "type": "address",
"value": null,
"visibility": "internal" "visibility": "internal"
}, },
"children": "children":
@ -395,7 +375,6 @@
{ {
"attributes": "attributes":
{ {
"argumentTypes": null,
"isConstant": false, "isConstant": false,
"isLValue": false, "isLValue": false,
"isPure": false, "isPure": false,
@ -432,8 +411,7 @@
{ {
"attributes": "attributes":
{ {
"name": "address", "name": "address"
"type": null
}, },
"id": 23, "id": 23,
"name": "ElementaryTypeName", "name": "ElementaryTypeName",
@ -447,7 +425,6 @@
{ {
"attributes": "attributes":
{ {
"argumentTypes": null,
"overloadedDeclarations": "overloadedDeclarations":
[ [
null null
@ -476,7 +453,6 @@
{ {
"attributes": "attributes":
{ {
"argumentTypes": null,
"isConstant": false, "isConstant": false,
"isLValue": false, "isLValue": false,
"isPure": false, "isPure": false,
@ -489,7 +465,6 @@
{ {
"attributes": "attributes":
{ {
"argumentTypes": null,
"isConstant": false, "isConstant": false,
"isLValue": true, "isLValue": true,
"isPure": false, "isPure": false,
@ -501,7 +476,6 @@
{ {
"attributes": "attributes":
{ {
"argumentTypes": null,
"overloadedDeclarations": "overloadedDeclarations":
[ [
null null
@ -517,7 +491,6 @@
{ {
"attributes": "attributes":
{ {
"argumentTypes": null,
"overloadedDeclarations": "overloadedDeclarations":
[ [
null null
@ -538,7 +511,6 @@
{ {
"attributes": "attributes":
{ {
"argumentTypes": null,
"isConstant": false, "isConstant": false,
"isLValue": false, "isLValue": false,
"isPure": true, "isPure": true,
@ -575,8 +547,7 @@
{ {
"attributes": "attributes":
{ {
"name": "address", "name": "address"
"type": null
}, },
"id": 31, "id": 31,
"name": "ElementaryTypeName", "name": "ElementaryTypeName",
@ -590,13 +561,11 @@
{ {
"attributes": "attributes":
{ {
"argumentTypes": null,
"hexvalue": "30", "hexvalue": "30",
"isConstant": false, "isConstant": false,
"isLValue": false, "isLValue": false,
"isPure": true, "isPure": true,
"lValueRequested": false, "lValueRequested": false,
"subdenomination": null,
"token": "number", "token": "number",
"type": "int_const 0", "type": "int_const 0",
"value": "0" "value": "0"

View File

@ -8,7 +8,6 @@
] ]
}, },
"id": 5, "id": 5,
"license": null,
"nodeType": "SourceUnit", "nodeType": "SourceUnit",
"nodes": "nodes":
[ [
@ -17,7 +16,6 @@
"baseContracts": [], "baseContracts": [],
"contractDependencies": [], "contractDependencies": [],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"id": 4, "id": 4,
"linearizedBaseContracts": "linearizedBaseContracts":
@ -34,7 +32,6 @@
"mutability": "mutable", "mutability": "mutable",
"name": "i", "name": "i",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"overrides": null,
"scope": 4, "scope": 4,
"src": "13:8:1", "src": "13:8:1",
"stateVariable": true, "stateVariable": true,
@ -59,7 +56,6 @@
} }
}, },
"id": 2, "id": 2,
"length": null,
"nodeType": "ArrayTypeName", "nodeType": "ArrayTypeName",
"src": "13:6:1", "src": "13:6:1",
"typeDescriptions": "typeDescriptions":
@ -68,7 +64,6 @@
"typeString": "uint256[]" "typeString": "uint256[]"
} }
}, },
"value": null,
"visibility": "internal" "visibility": "internal"
} }
], ],

View File

@ -8,8 +8,7 @@
[ [
4 4
] ]
}, }
"license": null
}, },
"children": "children":
[ [
@ -26,7 +25,6 @@
null null
], ],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"linearizedBaseContracts": "linearizedBaseContracts":
[ [
@ -43,12 +41,10 @@
"constant": false, "constant": false,
"mutability": "mutable", "mutability": "mutable",
"name": "i", "name": "i",
"overrides": null,
"scope": 4, "scope": 4,
"stateVariable": true, "stateVariable": true,
"storageLocation": "default", "storageLocation": "default",
"type": "uint256[]", "type": "uint256[]",
"value": null,
"visibility": "internal" "visibility": "internal"
}, },
"children": "children":
@ -56,7 +52,6 @@
{ {
"attributes": "attributes":
{ {
"length": null,
"type": "uint256[]" "type": "uint256[]"
}, },
"children": "children":

View File

@ -8,7 +8,6 @@
] ]
}, },
"id": 7, "id": 7,
"license": null,
"nodeType": "SourceUnit", "nodeType": "SourceUnit",
"nodes": "nodes":
[ [
@ -17,7 +16,6 @@
"baseContracts": [], "baseContracts": [],
"contractDependencies": [], "contractDependencies": [],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"id": 6, "id": 6,
"linearizedBaseContracts": "linearizedBaseContracts":
@ -133,7 +131,6 @@
} }
] ]
}, },
"documentation": null,
"functionSelector": "b582ec5f", "functionSelector": "b582ec5f",
"id": 5, "id": 5,
"implemented": true, "implemented": true,
@ -141,7 +138,6 @@
"modifiers": [], "modifiers": [],
"name": "j", "name": "j",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"overrides": null,
"parameters": "parameters":
{ {
"id": 1, "id": 1,

View File

@ -8,8 +8,7 @@
[ [
6 6
] ]
}, }
"license": null
}, },
"children": "children":
[ [
@ -26,7 +25,6 @@
null null
], ],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"linearizedBaseContracts": "linearizedBaseContracts":
[ [
@ -40,7 +38,6 @@
{ {
"attributes": "attributes":
{ {
"documentation": null,
"functionSelector": "b582ec5f", "functionSelector": "b582ec5f",
"implemented": true, "implemented": true,
"isConstructor": false, "isConstructor": false,
@ -50,7 +47,6 @@
null null
], ],
"name": "j", "name": "j",
"overrides": null,
"scope": 6, "scope": 6,
"stateMutability": "nonpayable", "stateMutability": "nonpayable",
"virtual": false, "virtual": false,

View File

@ -8,7 +8,6 @@
] ]
}, },
"id": 7, "id": 7,
"license": null,
"nodeType": "SourceUnit", "nodeType": "SourceUnit",
"nodes": "nodes":
[ [
@ -17,7 +16,6 @@
"baseContracts": [], "baseContracts": [],
"contractDependencies": [], "contractDependencies": [],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"id": 6, "id": 6,
"linearizedBaseContracts": "linearizedBaseContracts":
@ -58,7 +56,6 @@
} }
] ]
}, },
"documentation": null,
"functionSelector": "e2179b8e", "functionSelector": "e2179b8e",
"id": 5, "id": 5,
"implemented": true, "implemented": true,
@ -66,7 +63,6 @@
"modifiers": [], "modifiers": [],
"name": "g", "name": "g",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"overrides": null,
"parameters": "parameters":
{ {
"id": 1, "id": 1,

View File

@ -8,8 +8,7 @@
[ [
6 6
] ]
}, }
"license": null
}, },
"children": "children":
[ [
@ -26,7 +25,6 @@
null null
], ],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"linearizedBaseContracts": "linearizedBaseContracts":
[ [
@ -40,7 +38,6 @@
{ {
"attributes": "attributes":
{ {
"documentation": null,
"functionSelector": "e2179b8e", "functionSelector": "e2179b8e",
"implemented": true, "implemented": true,
"isConstructor": false, "isConstructor": false,
@ -50,7 +47,6 @@
null null
], ],
"name": "g", "name": "g",
"overrides": null,
"scope": 6, "scope": 6,
"stateMutability": "view", "stateMutability": "view",
"virtual": false, "virtual": false,

View File

@ -8,7 +8,6 @@
] ]
}, },
"id": 7, "id": 7,
"license": null,
"nodeType": "SourceUnit", "nodeType": "SourceUnit",
"nodes": "nodes":
[ [
@ -17,7 +16,6 @@
"baseContracts": [], "baseContracts": [],
"contractDependencies": [], "contractDependencies": [],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"id": 6, "id": 6,
"linearizedBaseContracts": "linearizedBaseContracts":
@ -120,7 +118,6 @@
} }
] ]
}, },
"documentation": null,
"functionSelector": "b8c9d365", "functionSelector": "b8c9d365",
"id": 5, "id": 5,
"implemented": true, "implemented": true,
@ -128,7 +125,6 @@
"modifiers": [], "modifiers": [],
"name": "h", "name": "h",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"overrides": null,
"parameters": "parameters":
{ {
"id": 1, "id": 1,

View File

@ -8,8 +8,7 @@
[ [
6 6
] ]
}, }
"license": null
}, },
"children": "children":
[ [
@ -26,7 +25,6 @@
null null
], ],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"linearizedBaseContracts": "linearizedBaseContracts":
[ [
@ -40,7 +38,6 @@
{ {
"attributes": "attributes":
{ {
"documentation": null,
"functionSelector": "b8c9d365", "functionSelector": "b8c9d365",
"implemented": true, "implemented": true,
"isConstructor": false, "isConstructor": false,
@ -50,7 +47,6 @@
null null
], ],
"name": "h", "name": "h",
"overrides": null,
"scope": 6, "scope": 6,
"stateMutability": "view", "stateMutability": "view",
"virtual": false, "virtual": false,

View File

@ -8,7 +8,6 @@
] ]
}, },
"id": 7, "id": 7,
"license": null,
"nodeType": "SourceUnit", "nodeType": "SourceUnit",
"nodes": "nodes":
[ [
@ -17,7 +16,6 @@
"baseContracts": [], "baseContracts": [],
"contractDependencies": [], "contractDependencies": [],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"id": 6, "id": 6,
"linearizedBaseContracts": "linearizedBaseContracts":
@ -70,7 +68,6 @@
} }
] ]
}, },
"documentation": null,
"functionSelector": "ece866b9", "functionSelector": "ece866b9",
"id": 5, "id": 5,
"implemented": true, "implemented": true,
@ -78,7 +75,6 @@
"modifiers": [], "modifiers": [],
"name": "l", "name": "l",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"overrides": null,
"parameters": "parameters":
{ {
"id": 1, "id": 1,

View File

@ -8,8 +8,7 @@
[ [
6 6
] ]
}, }
"license": null
}, },
"children": "children":
[ [
@ -26,7 +25,6 @@
null null
], ],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"linearizedBaseContracts": "linearizedBaseContracts":
[ [
@ -40,7 +38,6 @@
{ {
"attributes": "attributes":
{ {
"documentation": null,
"functionSelector": "ece866b9", "functionSelector": "ece866b9",
"implemented": true, "implemented": true,
"isConstructor": false, "isConstructor": false,
@ -50,7 +47,6 @@
null null
], ],
"name": "l", "name": "l",
"overrides": null,
"scope": 6, "scope": 6,
"stateMutability": "nonpayable", "stateMutability": "nonpayable",
"virtual": false, "virtual": false,

View File

@ -8,7 +8,6 @@
] ]
}, },
"id": 7, "id": 7,
"license": null,
"nodeType": "SourceUnit", "nodeType": "SourceUnit",
"nodes": "nodes":
[ [
@ -17,7 +16,6 @@
"baseContracts": [], "baseContracts": [],
"contractDependencies": [], "contractDependencies": [],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"id": 6, "id": 6,
"linearizedBaseContracts": "linearizedBaseContracts":
@ -133,7 +131,6 @@
} }
] ]
}, },
"documentation": null,
"functionSelector": "e2179b8e", "functionSelector": "e2179b8e",
"id": 5, "id": 5,
"implemented": true, "implemented": true,
@ -141,7 +138,6 @@
"modifiers": [], "modifiers": [],
"name": "g", "name": "g",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"overrides": null,
"parameters": "parameters":
{ {
"id": 1, "id": 1,

View File

@ -8,8 +8,7 @@
[ [
6 6
] ]
}, }
"license": null
}, },
"children": "children":
[ [
@ -26,7 +25,6 @@
null null
], ],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"linearizedBaseContracts": "linearizedBaseContracts":
[ [
@ -40,7 +38,6 @@
{ {
"attributes": "attributes":
{ {
"documentation": null,
"functionSelector": "e2179b8e", "functionSelector": "e2179b8e",
"implemented": true, "implemented": true,
"isConstructor": false, "isConstructor": false,
@ -50,7 +47,6 @@
null null
], ],
"name": "g", "name": "g",
"overrides": null,
"scope": 6, "scope": 6,
"stateMutability": "view", "stateMutability": "view",
"virtual": false, "virtual": false,

View File

@ -8,7 +8,6 @@
] ]
}, },
"id": 9, "id": 9,
"license": null,
"nodeType": "SourceUnit", "nodeType": "SourceUnit",
"nodes": "nodes":
[ [
@ -17,7 +16,6 @@
"baseContracts": [], "baseContracts": [],
"contractDependencies": [], "contractDependencies": [],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"id": 8, "id": 8,
"linearizedBaseContracts": "linearizedBaseContracts":
@ -97,7 +95,6 @@
} }
] ]
}, },
"documentation": null,
"functionSelector": "26121ff0", "functionSelector": "26121ff0",
"id": 7, "id": 7,
"implemented": true, "implemented": true,
@ -105,7 +102,6 @@
"modifiers": [], "modifiers": [],
"name": "f", "name": "f",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"overrides": null,
"parameters": "parameters":
{ {
"id": 1, "id": 1,
@ -125,29 +121,19 @@
"mutability": "mutable", "mutability": "mutable",
"name": "x", "name": "x",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"overrides": null,
"scope": 7, "scope": 7,
"src": "49:6:1", "src": "49:6:1",
"stateVariable": false, "stateVariable": false,
"storageLocation": "default", "storageLocation": "default",
"typeDescriptions": "typeDescriptions": {},
{
"typeIdentifier": null,
"typeString": null
},
"typeName": "typeName":
{ {
"id": 2, "id": 2,
"name": "uint", "name": "uint",
"nodeType": "ElementaryTypeName", "nodeType": "ElementaryTypeName",
"src": "49:4:1", "src": "49:4:1",
"typeDescriptions": "typeDescriptions": {}
{
"typeIdentifier": null,
"typeString": null
}
}, },
"value": null,
"visibility": "internal" "visibility": "internal"
} }
], ],

View File

@ -8,8 +8,7 @@
[ [
8 8
] ]
}, }
"license": null
}, },
"children": "children":
[ [
@ -26,7 +25,6 @@
null null
], ],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"linearizedBaseContracts": "linearizedBaseContracts":
[ [
@ -40,7 +38,6 @@
{ {
"attributes": "attributes":
{ {
"documentation": null,
"functionSelector": "26121ff0", "functionSelector": "26121ff0",
"implemented": true, "implemented": true,
"isConstructor": false, "isConstructor": false,
@ -50,7 +47,6 @@
null null
], ],
"name": "f", "name": "f",
"overrides": null,
"scope": 8, "scope": 8,
"stateMutability": "pure", "stateMutability": "pure",
"virtual": false, "virtual": false,
@ -80,12 +76,9 @@
"constant": false, "constant": false,
"mutability": "mutable", "mutability": "mutable",
"name": "x", "name": "x",
"overrides": null,
"scope": 7, "scope": 7,
"stateVariable": false, "stateVariable": false,
"storageLocation": "default", "storageLocation": "default",
"type": null,
"value": null,
"visibility": "internal" "visibility": "internal"
}, },
"children": "children":
@ -93,8 +86,7 @@
{ {
"attributes": "attributes":
{ {
"name": "uint", "name": "uint"
"type": null
}, },
"id": 2, "id": 2,
"name": "ElementaryTypeName", "name": "ElementaryTypeName",

View File

@ -8,7 +8,6 @@
] ]
}, },
"id": 12, "id": 12,
"license": null,
"nodeType": "SourceUnit", "nodeType": "SourceUnit",
"nodes": "nodes":
[ [
@ -17,7 +16,6 @@
"baseContracts": [], "baseContracts": [],
"contractDependencies": [], "contractDependencies": [],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"id": 11, "id": 11,
"linearizedBaseContracts": "linearizedBaseContracts":
@ -39,7 +37,6 @@
"mutability": "mutable", "mutability": "mutable",
"name": "x", "name": "x",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"overrides": null,
"scope": 3, "scope": 3,
"src": "28:6:1", "src": "28:6:1",
"stateVariable": false, "stateVariable": false,
@ -61,7 +58,6 @@
"typeString": "uint256" "typeString": "uint256"
} }
}, },
"value": null,
"visibility": "internal" "visibility": "internal"
} }
], ],
@ -77,7 +73,6 @@
"mutability": "mutable", "mutability": "mutable",
"name": "s", "name": "s",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"overrides": null,
"scope": 11, "scope": 11,
"src": "42:3:1", "src": "42:3:1",
"stateVariable": true, "stateVariable": true,
@ -89,7 +84,6 @@
}, },
"typeName": "typeName":
{ {
"contractScope": null,
"id": 4, "id": 4,
"name": "S", "name": "S",
"nodeType": "UserDefinedTypeName", "nodeType": "UserDefinedTypeName",
@ -101,7 +95,6 @@
"typeString": "struct C.S" "typeString": "struct C.S"
} }
}, },
"value": null,
"visibility": "internal" "visibility": "internal"
}, },
{ {
@ -203,7 +196,6 @@
} }
] ]
}, },
"documentation": null,
"functionSelector": "ffae15ba", "functionSelector": "ffae15ba",
"id": 10, "id": 10,
"implemented": true, "implemented": true,
@ -211,7 +203,6 @@
"modifiers": [], "modifiers": [],
"name": "e", "name": "e",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"overrides": null,
"parameters": "parameters":
{ {
"id": 6, "id": 6,

View File

@ -8,8 +8,7 @@
[ [
11 11
] ]
}, }
"license": null
}, },
"children": "children":
[ [
@ -26,7 +25,6 @@
null null
], ],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"linearizedBaseContracts": "linearizedBaseContracts":
[ [
@ -53,12 +51,10 @@
"constant": false, "constant": false,
"mutability": "mutable", "mutability": "mutable",
"name": "x", "name": "x",
"overrides": null,
"scope": 3, "scope": 3,
"stateVariable": false, "stateVariable": false,
"storageLocation": "default", "storageLocation": "default",
"type": "uint256", "type": "uint256",
"value": null,
"visibility": "internal" "visibility": "internal"
}, },
"children": "children":
@ -89,12 +85,10 @@
"constant": false, "constant": false,
"mutability": "mutable", "mutability": "mutable",
"name": "s", "name": "s",
"overrides": null,
"scope": 11, "scope": 11,
"stateVariable": true, "stateVariable": true,
"storageLocation": "default", "storageLocation": "default",
"type": "struct C.S", "type": "struct C.S",
"value": null,
"visibility": "internal" "visibility": "internal"
}, },
"children": "children":
@ -102,7 +96,6 @@
{ {
"attributes": "attributes":
{ {
"contractScope": null,
"name": "S", "name": "S",
"referencedDeclaration": 3, "referencedDeclaration": 3,
"type": "struct C.S" "type": "struct C.S"
@ -119,7 +112,6 @@
{ {
"attributes": "attributes":
{ {
"documentation": null,
"functionSelector": "ffae15ba", "functionSelector": "ffae15ba",
"implemented": true, "implemented": true,
"isConstructor": false, "isConstructor": false,
@ -129,7 +121,6 @@
null null
], ],
"name": "e", "name": "e",
"overrides": null,
"scope": 11, "scope": 11,
"stateMutability": "pure", "stateMutability": "pure",
"virtual": false, "virtual": false,

View File

@ -8,7 +8,6 @@
] ]
}, },
"id": 7, "id": 7,
"license": null,
"nodeType": "SourceUnit", "nodeType": "SourceUnit",
"nodes": "nodes":
[ [
@ -17,7 +16,6 @@
"baseContracts": [], "baseContracts": [],
"contractDependencies": [], "contractDependencies": [],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"id": 6, "id": 6,
"linearizedBaseContracts": "linearizedBaseContracts":
@ -74,7 +72,6 @@
} }
] ]
}, },
"documentation": null,
"functionSelector": "5a2ee019", "functionSelector": "5a2ee019",
"id": 5, "id": 5,
"implemented": true, "implemented": true,
@ -82,7 +79,6 @@
"modifiers": [], "modifiers": [],
"name": "m", "name": "m",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"overrides": null,
"parameters": "parameters":
{ {
"id": 1, "id": 1,

View File

@ -8,8 +8,7 @@
[ [
6 6
] ]
}, }
"license": null
}, },
"children": "children":
[ [
@ -26,7 +25,6 @@
null null
], ],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"linearizedBaseContracts": "linearizedBaseContracts":
[ [
@ -40,7 +38,6 @@
{ {
"attributes": "attributes":
{ {
"documentation": null,
"functionSelector": "5a2ee019", "functionSelector": "5a2ee019",
"implemented": true, "implemented": true,
"isConstructor": false, "isConstructor": false,
@ -50,7 +47,6 @@
null null
], ],
"name": "m", "name": "m",
"overrides": null,
"scope": 6, "scope": 6,
"stateMutability": "nonpayable", "stateMutability": "nonpayable",
"virtual": false, "virtual": false,

View File

@ -8,7 +8,6 @@
] ]
}, },
"id": 7, "id": 7,
"license": null,
"nodeType": "SourceUnit", "nodeType": "SourceUnit",
"nodes": "nodes":
[ [
@ -17,7 +16,6 @@
"baseContracts": [], "baseContracts": [],
"contractDependencies": [], "contractDependencies": [],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"id": 6, "id": 6,
"linearizedBaseContracts": "linearizedBaseContracts":
@ -182,7 +180,6 @@
} }
] ]
}, },
"documentation": null,
"functionSelector": "26121ff0", "functionSelector": "26121ff0",
"id": 5, "id": 5,
"implemented": true, "implemented": true,
@ -190,7 +187,6 @@
"modifiers": [], "modifiers": [],
"name": "f", "name": "f",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"overrides": null,
"parameters": "parameters":
{ {
"id": 1, "id": 1,

View File

@ -8,7 +8,6 @@
] ]
}, },
"id": 7, "id": 7,
"license": null,
"nodeType": "SourceUnit", "nodeType": "SourceUnit",
"nodes": "nodes":
[ [
@ -17,7 +16,6 @@
"baseContracts": [], "baseContracts": [],
"contractDependencies": [], "contractDependencies": [],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"id": 6, "id": 6,
"linearizedBaseContracts": "linearizedBaseContracts":
@ -79,7 +77,6 @@
} }
] ]
}, },
"documentation": null,
"functionSelector": "e2179b8e", "functionSelector": "e2179b8e",
"id": 5, "id": 5,
"implemented": true, "implemented": true,
@ -87,7 +84,6 @@
"modifiers": [], "modifiers": [],
"name": "g", "name": "g",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"overrides": null,
"parameters": "parameters":
{ {
"id": 1, "id": 1,

View File

@ -8,8 +8,7 @@
[ [
6 6
] ]
}, }
"license": null
}, },
"children": "children":
[ [
@ -26,7 +25,6 @@
null null
], ],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"linearizedBaseContracts": "linearizedBaseContracts":
[ [
@ -40,7 +38,6 @@
{ {
"attributes": "attributes":
{ {
"documentation": null,
"functionSelector": "e2179b8e", "functionSelector": "e2179b8e",
"implemented": true, "implemented": true,
"isConstructor": false, "isConstructor": false,
@ -50,7 +47,6 @@
null null
], ],
"name": "g", "name": "g",
"overrides": null,
"scope": 6, "scope": 6,
"stateMutability": "view", "stateMutability": "view",
"virtual": false, "virtual": false,

View File

@ -8,8 +8,7 @@
[ [
6 6
] ]
}, }
"license": null
}, },
"children": "children":
[ [
@ -26,7 +25,6 @@
null null
], ],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"linearizedBaseContracts": "linearizedBaseContracts":
[ [
@ -40,7 +38,6 @@
{ {
"attributes": "attributes":
{ {
"documentation": null,
"functionSelector": "26121ff0", "functionSelector": "26121ff0",
"implemented": true, "implemented": true,
"isConstructor": false, "isConstructor": false,
@ -50,7 +47,6 @@
null null
], ],
"name": "f", "name": "f",
"overrides": null,
"scope": 6, "scope": 6,
"stateMutability": "pure", "stateMutability": "pure",
"virtual": false, "virtual": false,

View File

@ -8,7 +8,6 @@
] ]
}, },
"id": 10, "id": 10,
"license": null,
"nodeType": "SourceUnit", "nodeType": "SourceUnit",
"nodes": "nodes":
[ [
@ -17,7 +16,6 @@
"baseContracts": [], "baseContracts": [],
"contractDependencies": [], "contractDependencies": [],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"id": 9, "id": 9,
"linearizedBaseContracts": "linearizedBaseContracts":
@ -49,7 +47,6 @@
"mutability": "mutable", "mutability": "mutable",
"name": "x", "name": "x",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"overrides": null,
"scope": 7, "scope": 7,
"src": "52:6:1", "src": "52:6:1",
"stateVariable": false, "stateVariable": false,
@ -71,12 +68,10 @@
"typeString": "uint256" "typeString": "uint256"
} }
}, },
"value": null,
"visibility": "internal" "visibility": "internal"
} }
], ],
"id": 5, "id": 5,
"initialValue": null,
"nodeType": "VariableDeclarationStatement", "nodeType": "VariableDeclarationStatement",
"src": "52:6:1" "src": "52:6:1"
}, },
@ -126,7 +121,6 @@
} }
] ]
}, },
"documentation": null,
"functionSelector": "26121ff0", "functionSelector": "26121ff0",
"id": 8, "id": 8,
"implemented": true, "implemented": true,
@ -134,7 +128,6 @@
"modifiers": [], "modifiers": [],
"name": "f", "name": "f",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"overrides": null,
"parameters": "parameters":
{ {
"id": 1, "id": 1,

View File

@ -8,8 +8,7 @@
[ [
9 9
] ]
}, }
"license": null
}, },
"children": "children":
[ [
@ -26,7 +25,6 @@
null null
], ],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"linearizedBaseContracts": "linearizedBaseContracts":
[ [
@ -40,7 +38,6 @@
{ {
"attributes": "attributes":
{ {
"documentation": null,
"functionSelector": "26121ff0", "functionSelector": "26121ff0",
"implemented": true, "implemented": true,
"isConstructor": false, "isConstructor": false,
@ -50,7 +47,6 @@
null null
], ],
"name": "f", "name": "f",
"overrides": null,
"scope": 9, "scope": 9,
"stateMutability": "pure", "stateMutability": "pure",
"virtual": false, "virtual": false,
@ -93,8 +89,7 @@
"assignments": "assignments":
[ [
4 4
], ]
"initialValue": null
}, },
"children": "children":
[ [
@ -104,12 +99,10 @@
"constant": false, "constant": false,
"mutability": "mutable", "mutability": "mutable",
"name": "x", "name": "x",
"overrides": null,
"scope": 7, "scope": 7,
"stateVariable": false, "stateVariable": false,
"storageLocation": "default", "storageLocation": "default",
"type": "uint256", "type": "uint256",
"value": null,
"visibility": "internal" "visibility": "internal"
}, },
"children": "children":

View File

@ -8,7 +8,6 @@
] ]
}, },
"id": 6, "id": 6,
"license": null,
"nodeType": "SourceUnit", "nodeType": "SourceUnit",
"nodes": "nodes":
[ [
@ -17,7 +16,6 @@
"baseContracts": [], "baseContracts": [],
"contractDependencies": [], "contractDependencies": [],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"id": 5, "id": 5,
"linearizedBaseContracts": "linearizedBaseContracts":
@ -36,14 +34,12 @@
"src": "35:4:1", "src": "35:4:1",
"statements": [] "statements": []
}, },
"documentation": null,
"id": 4, "id": 4,
"implemented": true, "implemented": true,
"kind": "constructor", "kind": "constructor",
"modifiers": [], "modifiers": [],
"name": "", "name": "",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"overrides": null,
"parameters": "parameters":
{ {
"id": 1, "id": 1,

View File

@ -8,8 +8,7 @@
[ [
5 5
] ]
}, }
"license": null
}, },
"children": "children":
[ [
@ -26,7 +25,6 @@
null null
], ],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"linearizedBaseContracts": "linearizedBaseContracts":
[ [
@ -40,7 +38,6 @@
{ {
"attributes": "attributes":
{ {
"documentation": null,
"implemented": true, "implemented": true,
"isConstructor": true, "isConstructor": true,
"kind": "constructor", "kind": "constructor",
@ -49,7 +46,6 @@
null null
], ],
"name": "", "name": "",
"overrides": null,
"scope": 5, "scope": 5,
"stateMutability": "nonpayable", "stateMutability": "nonpayable",
"virtual": false, "virtual": false,

View File

@ -24,7 +24,6 @@
] ]
}, },
"id": 14, "id": 14,
"license": null,
"nodeType": "SourceUnit", "nodeType": "SourceUnit",
"nodes": "nodes":
[ [
@ -33,7 +32,6 @@
"baseContracts": [], "baseContracts": [],
"contractDependencies": [], "contractDependencies": [],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"id": 1, "id": 1,
"linearizedBaseContracts": "linearizedBaseContracts":
@ -51,10 +49,8 @@
"baseContracts": "baseContracts":
[ [
{ {
"arguments": null,
"baseName": "baseName":
{ {
"contractScope": null,
"id": 2, "id": 2,
"name": "A", "name": "A",
"nodeType": "UserDefinedTypeName", "nodeType": "UserDefinedTypeName",
@ -76,7 +72,6 @@
1 1
], ],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"id": 4, "id": 4,
"linearizedBaseContracts": "linearizedBaseContracts":
@ -95,10 +90,8 @@
"baseContracts": "baseContracts":
[ [
{ {
"arguments": null,
"baseName": "baseName":
{ {
"contractScope": null,
"id": 5, "id": 5,
"name": "B", "name": "B",
"nodeType": "UserDefinedTypeName", "nodeType": "UserDefinedTypeName",
@ -121,7 +114,6 @@
4 4
], ],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"id": 7, "id": 7,
"linearizedBaseContracts": "linearizedBaseContracts":
@ -141,10 +133,8 @@
"baseContracts": "baseContracts":
[ [
{ {
"arguments": null,
"baseName": "baseName":
{ {
"contractScope": null,
"id": 8, "id": 8,
"name": "C", "name": "C",
"nodeType": "UserDefinedTypeName", "nodeType": "UserDefinedTypeName",
@ -168,7 +158,6 @@
7 7
], ],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"id": 10, "id": 10,
"linearizedBaseContracts": "linearizedBaseContracts":
@ -189,10 +178,8 @@
"baseContracts": "baseContracts":
[ [
{ {
"arguments": null,
"baseName": "baseName":
{ {
"contractScope": null,
"id": 11, "id": 11,
"name": "D", "name": "D",
"nodeType": "UserDefinedTypeName", "nodeType": "UserDefinedTypeName",
@ -217,7 +204,6 @@
10 10
], ],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"id": 13, "id": 13,
"linearizedBaseContracts": "linearizedBaseContracts":

View File

@ -24,8 +24,7 @@
[ [
13 13
] ]
}, }
"license": null
}, },
"children": "children":
[ [
@ -42,7 +41,6 @@
null null
], ],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"linearizedBaseContracts": "linearizedBaseContracts":
[ [
@ -68,7 +66,6 @@
1 1
], ],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"linearizedBaseContracts": "linearizedBaseContracts":
[ [
@ -85,16 +82,12 @@
"children": "children":
[ [
{ {
"attributes": "attributes": {},
{
"arguments": null
},
"children": "children":
[ [
{ {
"attributes": "attributes":
{ {
"contractScope": null,
"name": "A", "name": "A",
"referencedDeclaration": 1, "referencedDeclaration": 1,
"type": "contract A" "type": "contract A"
@ -123,7 +116,6 @@
4 4
], ],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"linearizedBaseContracts": "linearizedBaseContracts":
[ [
@ -141,16 +133,12 @@
"children": "children":
[ [
{ {
"attributes": "attributes": {},
{
"arguments": null
},
"children": "children":
[ [
{ {
"attributes": "attributes":
{ {
"contractScope": null,
"name": "B", "name": "B",
"referencedDeclaration": 4, "referencedDeclaration": 4,
"type": "contract B" "type": "contract B"
@ -180,7 +168,6 @@
7 7
], ],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"linearizedBaseContracts": "linearizedBaseContracts":
[ [
@ -199,16 +186,12 @@
"children": "children":
[ [
{ {
"attributes": "attributes": {},
{
"arguments": null
},
"children": "children":
[ [
{ {
"attributes": "attributes":
{ {
"contractScope": null,
"name": "C", "name": "C",
"referencedDeclaration": 7, "referencedDeclaration": 7,
"type": "contract C" "type": "contract C"
@ -239,7 +222,6 @@
10 10
], ],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"linearizedBaseContracts": "linearizedBaseContracts":
[ [
@ -259,16 +241,12 @@
"children": "children":
[ [
{ {
"attributes": "attributes": {},
{
"arguments": null
},
"children": "children":
[ [
{ {
"attributes": "attributes":
{ {
"contractScope": null,
"name": "D", "name": "D",
"referencedDeclaration": 10, "referencedDeclaration": 10,
"type": "contract D" "type": "contract D"

View File

@ -9,7 +9,6 @@
] ]
}, },
"id": 3, "id": 3,
"license": null,
"nodeType": "SourceUnit", "nodeType": "SourceUnit",
"nodes": "nodes":
[ [
@ -50,7 +49,6 @@
] ]
}, },
"id": 6, "id": 6,
"license": null,
"nodeType": "SourceUnit", "nodeType": "SourceUnit",
"nodes": "nodes":
[ [
@ -91,7 +89,6 @@
] ]
}, },
"id": 21, "id": 21,
"license": null,
"nodeType": "SourceUnit", "nodeType": "SourceUnit",
"nodes": "nodes":
[ [
@ -100,7 +97,6 @@
"baseContracts": [], "baseContracts": [],
"contractDependencies": [], "contractDependencies": [],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"id": 20, "id": 20,
"linearizedBaseContracts": "linearizedBaseContracts":
@ -157,7 +153,6 @@
"id": 14, "id": 14,
"name": "mod", "name": "mod",
"nodeType": "ModifierDefinition", "nodeType": "ModifierDefinition",
"overrides": null,
"parameters": "parameters":
{ {
"id": 11, "id": 11,
@ -191,7 +186,6 @@
"modifiers": [], "modifiers": [],
"name": "fn", "name": "fn",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"overrides": null,
"parameters": "parameters":
{ {
"id": 16, "id": 16,

View File

@ -8,8 +8,7 @@
[ [
20 20
] ]
}, }
"license": null
}, },
"children": "children":
[ [
@ -26,7 +25,6 @@
null null
], ],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"linearizedBaseContracts": "linearizedBaseContracts":
[ [
@ -76,7 +74,6 @@
"attributes": "attributes":
{ {
"name": "mod", "name": "mod",
"overrides": null,
"virtual": false, "virtual": false,
"visibility": "internal" "visibility": "internal"
}, },
@ -134,7 +131,6 @@
null null
], ],
"name": "fn", "name": "fn",
"overrides": null,
"scope": 20, "scope": 20,
"stateMutability": "nonpayable", "stateMutability": "nonpayable",
"virtual": false, "virtual": false,

View File

@ -8,7 +8,6 @@
] ]
}, },
"id": 5, "id": 5,
"license": null,
"nodeType": "SourceUnit", "nodeType": "SourceUnit",
"nodes": "nodes":
[ [
@ -17,7 +16,6 @@
"baseContracts": [], "baseContracts": [],
"contractDependencies": [], "contractDependencies": [],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"id": 4, "id": 4,
"linearizedBaseContracts": "linearizedBaseContracts":

View File

@ -8,8 +8,7 @@
[ [
4 4
] ]
}, }
"license": null
}, },
"children": "children":
[ [
@ -26,7 +25,6 @@
null null
], ],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"linearizedBaseContracts": "linearizedBaseContracts":
[ [

View File

@ -8,7 +8,6 @@
] ]
}, },
"id": 4, "id": 4,
"license": null,
"nodeType": "SourceUnit", "nodeType": "SourceUnit",
"nodes": "nodes":
[ [
@ -17,7 +16,6 @@
"baseContracts": [], "baseContracts": [],
"contractDependencies": [], "contractDependencies": [],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"id": 3, "id": 3,
"linearizedBaseContracts": "linearizedBaseContracts":
@ -30,7 +28,6 @@
[ [
{ {
"anonymous": false, "anonymous": false,
"documentation": null,
"id": 2, "id": 2,
"name": "E", "name": "E",
"nodeType": "EventDefinition", "nodeType": "EventDefinition",

View File

@ -8,8 +8,7 @@
[ [
3 3
] ]
}, }
"license": null
}, },
"children": "children":
[ [
@ -26,7 +25,6 @@
null null
], ],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"linearizedBaseContracts": "linearizedBaseContracts":
[ [
@ -41,7 +39,6 @@
"attributes": "attributes":
{ {
"anonymous": false, "anonymous": false,
"documentation": null,
"name": "E" "name": "E"
}, },
"children": "children":

View File

@ -8,7 +8,6 @@
] ]
}, },
"id": 6, "id": 6,
"license": null,
"nodeType": "SourceUnit", "nodeType": "SourceUnit",
"nodes": "nodes":
[ [
@ -17,7 +16,6 @@
"baseContracts": [], "baseContracts": [],
"contractDependencies": [], "contractDependencies": [],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"id": 5, "id": 5,
"linearizedBaseContracts": "linearizedBaseContracts":
@ -36,14 +34,12 @@
"src": "43:5:1", "src": "43:5:1",
"statements": [] "statements": []
}, },
"documentation": null,
"id": 4, "id": 4,
"implemented": true, "implemented": true,
"kind": "fallback", "kind": "fallback",
"modifiers": [], "modifiers": [],
"name": "", "name": "",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"overrides": null,
"parameters": "parameters":
{ {
"id": 1, "id": 1,

View File

@ -8,7 +8,6 @@
] ]
}, },
"id": 10, "id": 10,
"license": null,
"nodeType": "SourceUnit", "nodeType": "SourceUnit",
"nodes": "nodes":
[ [
@ -17,7 +16,6 @@
"baseContracts": [], "baseContracts": [],
"contractDependencies": [], "contractDependencies": [],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"id": 9, "id": 9,
"linearizedBaseContracts": "linearizedBaseContracts":
@ -36,14 +34,12 @@
"src": "42:5:1", "src": "42:5:1",
"statements": [] "statements": []
}, },
"documentation": null,
"id": 4, "id": 4,
"implemented": true, "implemented": true,
"kind": "receive", "kind": "receive",
"modifiers": [], "modifiers": [],
"name": "", "name": "",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"overrides": null,
"parameters": "parameters":
{ {
"id": 1, "id": 1,
@ -72,14 +68,12 @@
"src": "78:5:1", "src": "78:5:1",
"statements": [] "statements": []
}, },
"documentation": null,
"id": 8, "id": 8,
"implemented": true, "implemented": true,
"kind": "fallback", "kind": "fallback",
"modifiers": [], "modifiers": [],
"name": "", "name": "",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"overrides": null,
"parameters": "parameters":
{ {
"id": 5, "id": 5,

View File

@ -8,8 +8,7 @@
[ [
9 9
] ]
}, }
"license": null
}, },
"children": "children":
[ [
@ -26,7 +25,6 @@
null null
], ],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"linearizedBaseContracts": "linearizedBaseContracts":
[ [
@ -40,7 +38,6 @@
{ {
"attributes": "attributes":
{ {
"documentation": null,
"implemented": true, "implemented": true,
"isConstructor": false, "isConstructor": false,
"kind": "receive", "kind": "receive",
@ -49,7 +46,6 @@
null null
], ],
"name": "", "name": "",
"overrides": null,
"scope": 9, "scope": 9,
"stateMutability": "payable", "stateMutability": "payable",
"virtual": false, "virtual": false,
@ -104,7 +100,6 @@
{ {
"attributes": "attributes":
{ {
"documentation": null,
"implemented": true, "implemented": true,
"isConstructor": false, "isConstructor": false,
"kind": "fallback", "kind": "fallback",
@ -113,7 +108,6 @@
null null
], ],
"name": "", "name": "",
"overrides": null,
"scope": 9, "scope": 9,
"stateMutability": "payable", "stateMutability": "payable",
"virtual": false, "virtual": false,

View File

@ -8,8 +8,7 @@
[ [
5 5
] ]
}, }
"license": null
}, },
"children": "children":
[ [
@ -26,7 +25,6 @@
null null
], ],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"linearizedBaseContracts": "linearizedBaseContracts":
[ [
@ -40,7 +38,6 @@
{ {
"attributes": "attributes":
{ {
"documentation": null,
"implemented": true, "implemented": true,
"isConstructor": false, "isConstructor": false,
"kind": "fallback", "kind": "fallback",
@ -49,7 +46,6 @@
null null
], ],
"name": "", "name": "",
"overrides": null,
"scope": 5, "scope": 5,
"stateMutability": "payable", "stateMutability": "payable",
"virtual": false, "virtual": false,

View File

@ -8,7 +8,6 @@
] ]
}, },
"id": 6, "id": 6,
"license": null,
"nodeType": "SourceUnit", "nodeType": "SourceUnit",
"nodes": "nodes":
[ [
@ -17,7 +16,6 @@
"baseContracts": [], "baseContracts": [],
"contractDependencies": [], "contractDependencies": [],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"id": 5, "id": 5,
"linearizedBaseContracts": "linearizedBaseContracts":
@ -36,14 +34,12 @@
"src": "34:2:1", "src": "34:2:1",
"statements": [] "statements": []
}, },
"documentation": null,
"id": 4, "id": 4,
"implemented": true, "implemented": true,
"kind": "fallback", "kind": "fallback",
"modifiers": [], "modifiers": [],
"name": "", "name": "",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"overrides": null,
"parameters": "parameters":
{ {
"id": 1, "id": 1,

View File

@ -8,8 +8,7 @@
[ [
5 5
] ]
}, }
"license": null
}, },
"children": "children":
[ [
@ -26,7 +25,6 @@
null null
], ],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"linearizedBaseContracts": "linearizedBaseContracts":
[ [
@ -40,7 +38,6 @@
{ {
"attributes": "attributes":
{ {
"documentation": null,
"implemented": true, "implemented": true,
"isConstructor": false, "isConstructor": false,
"kind": "fallback", "kind": "fallback",
@ -49,7 +46,6 @@
null null
], ],
"name": "", "name": "",
"overrides": null,
"scope": 5, "scope": 5,
"stateMutability": "nonpayable", "stateMutability": "nonpayable",
"virtual": false, "virtual": false,

View File

@ -8,7 +8,6 @@
] ]
}, },
"id": 18, "id": 18,
"license": null,
"nodeType": "SourceUnit", "nodeType": "SourceUnit",
"nodes": "nodes":
[ [
@ -17,7 +16,6 @@
"baseContracts": [], "baseContracts": [],
"contractDependencies": [], "contractDependencies": [],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"id": 17, "id": 17,
"linearizedBaseContracts": "linearizedBaseContracts":
@ -36,7 +34,6 @@
"src": "120:2:1", "src": "120:2:1",
"statements": [] "statements": []
}, },
"documentation": null,
"functionSelector": "d6cd4974", "functionSelector": "d6cd4974",
"id": 16, "id": 16,
"implemented": true, "implemented": true,
@ -44,7 +41,6 @@
"modifiers": [], "modifiers": [],
"name": "f", "name": "f",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"overrides": null,
"parameters": "parameters":
{ {
"id": 7, "id": 7,
@ -57,7 +53,6 @@
"mutability": "mutable", "mutability": "mutable",
"name": "x", "name": "x",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"overrides": null,
"scope": 16, "scope": 16,
"src": "24:44:1", "src": "24:44:1",
"stateVariable": false, "stateVariable": false,
@ -90,7 +85,6 @@
"mutability": "mutable", "mutability": "mutable",
"name": "", "name": "",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"overrides": null,
"scope": 5, "scope": 5,
"src": "61:4:1", "src": "61:4:1",
"stateVariable": false, "stateVariable": false,
@ -112,7 +106,6 @@
"typeString": "uint256" "typeString": "uint256"
} }
}, },
"value": null,
"visibility": "internal" "visibility": "internal"
} }
], ],
@ -127,7 +120,6 @@
}, },
"visibility": "external" "visibility": "external"
}, },
"value": null,
"visibility": "internal" "visibility": "internal"
} }
], ],
@ -145,7 +137,6 @@
"mutability": "mutable", "mutability": "mutable",
"name": "", "name": "",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"overrides": null,
"scope": 16, "scope": 16,
"src": "79:40:1", "src": "79:40:1",
"stateVariable": false, "stateVariable": false,
@ -178,7 +169,6 @@
"mutability": "mutable", "mutability": "mutable",
"name": "", "name": "",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"overrides": null,
"scope": 12, "scope": 12,
"src": "113:4:1", "src": "113:4:1",
"stateVariable": false, "stateVariable": false,
@ -200,7 +190,6 @@
"typeString": "uint256" "typeString": "uint256"
} }
}, },
"value": null,
"visibility": "internal" "visibility": "internal"
} }
], ],
@ -215,7 +204,6 @@
}, },
"visibility": "external" "visibility": "external"
}, },
"value": null,
"visibility": "internal" "visibility": "internal"
} }
], ],

View File

@ -8,8 +8,7 @@
[ [
17 17
] ]
}, }
"license": null
}, },
"children": "children":
[ [
@ -26,7 +25,6 @@
null null
], ],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"linearizedBaseContracts": "linearizedBaseContracts":
[ [
@ -40,7 +38,6 @@
{ {
"attributes": "attributes":
{ {
"documentation": null,
"functionSelector": "d6cd4974", "functionSelector": "d6cd4974",
"implemented": true, "implemented": true,
"isConstructor": false, "isConstructor": false,
@ -50,7 +47,6 @@
null null
], ],
"name": "f", "name": "f",
"overrides": null,
"scope": 17, "scope": 17,
"stateMutability": "nonpayable", "stateMutability": "nonpayable",
"virtual": false, "virtual": false,
@ -67,12 +63,10 @@
"constant": false, "constant": false,
"mutability": "mutable", "mutability": "mutable",
"name": "x", "name": "x",
"overrides": null,
"scope": 16, "scope": 16,
"stateVariable": false, "stateVariable": false,
"storageLocation": "default", "storageLocation": "default",
"type": "function () payable external returns (uint256)", "type": "function () payable external returns (uint256)",
"value": null,
"visibility": "internal" "visibility": "internal"
}, },
"children": "children":
@ -108,12 +102,10 @@
"constant": false, "constant": false,
"mutability": "mutable", "mutability": "mutable",
"name": "", "name": "",
"overrides": null,
"scope": 5, "scope": 5,
"stateVariable": false, "stateVariable": false,
"storageLocation": "default", "storageLocation": "default",
"type": "uint256", "type": "uint256",
"value": null,
"visibility": "internal" "visibility": "internal"
}, },
"children": "children":
@ -162,12 +154,10 @@
"constant": false, "constant": false,
"mutability": "mutable", "mutability": "mutable",
"name": "", "name": "",
"overrides": null,
"scope": 16, "scope": 16,
"stateVariable": false, "stateVariable": false,
"storageLocation": "default", "storageLocation": "default",
"type": "function () view external returns (uint256)", "type": "function () view external returns (uint256)",
"value": null,
"visibility": "internal" "visibility": "internal"
}, },
"children": "children":
@ -203,12 +193,10 @@
"constant": false, "constant": false,
"mutability": "mutable", "mutability": "mutable",
"name": "", "name": "",
"overrides": null,
"scope": 12, "scope": 12,
"stateVariable": false, "stateVariable": false,
"storageLocation": "default", "storageLocation": "default",
"type": "uint256", "type": "uint256",
"value": null,
"visibility": "internal" "visibility": "internal"
}, },
"children": "children":

View File

@ -8,7 +8,6 @@
] ]
}, },
"id": 3, "id": 3,
"license": null,
"nodeType": "SourceUnit", "nodeType": "SourceUnit",
"nodes": "nodes":
[ [

View File

@ -8,8 +8,7 @@
[ [
2 2
] ]
}, }
"license": null
}, },
"children": "children":
[ [

View File

@ -8,7 +8,6 @@
] ]
}, },
"id": 4, "id": 4,
"license": null,
"nodeType": "SourceUnit", "nodeType": "SourceUnit",
"nodes": "nodes":
[ [
@ -23,7 +22,6 @@
"mutability": "mutable", "mutability": "mutable",
"name": "a", "name": "a",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"overrides": null,
"scope": 3, "scope": 3,
"src": "11:9:1", "src": "11:9:1",
"stateVariable": false, "stateVariable": false,
@ -45,7 +43,6 @@
"typeString": "uint256" "typeString": "uint256"
} }
}, },
"value": null,
"visibility": "internal" "visibility": "internal"
} }
], ],

View File

@ -8,8 +8,7 @@
[ [
3 3
] ]
}, }
"license": null
}, },
"children": "children":
[ [
@ -29,12 +28,10 @@
"constant": false, "constant": false,
"mutability": "mutable", "mutability": "mutable",
"name": "a", "name": "a",
"overrides": null,
"scope": 3, "scope": 3,
"stateVariable": false, "stateVariable": false,
"storageLocation": "default", "storageLocation": "default",
"type": "uint256", "type": "uint256",
"value": null,
"visibility": "internal" "visibility": "internal"
}, },
"children": "children":

View File

@ -12,7 +12,6 @@
] ]
}, },
"id": 5, "id": 5,
"license": null,
"nodeType": "SourceUnit", "nodeType": "SourceUnit",
"nodes": "nodes":
[ [
@ -21,7 +20,6 @@
"baseContracts": [], "baseContracts": [],
"contractDependencies": [], "contractDependencies": [],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"id": 1, "id": 1,
"linearizedBaseContracts": "linearizedBaseContracts":
@ -39,10 +37,8 @@
"baseContracts": "baseContracts":
[ [
{ {
"arguments": null,
"baseName": "baseName":
{ {
"contractScope": null,
"id": 2, "id": 2,
"name": "C1", "name": "C1",
"nodeType": "UserDefinedTypeName", "nodeType": "UserDefinedTypeName",
@ -64,7 +60,6 @@
1 1
], ],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"id": 4, "id": 4,
"linearizedBaseContracts": "linearizedBaseContracts":

View File

@ -12,8 +12,7 @@
[ [
4 4
] ]
}, }
"license": null
}, },
"children": "children":
[ [
@ -30,7 +29,6 @@
null null
], ],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"linearizedBaseContracts": "linearizedBaseContracts":
[ [
@ -56,7 +54,6 @@
1 1
], ],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"linearizedBaseContracts": "linearizedBaseContracts":
[ [
@ -73,16 +70,12 @@
"children": "children":
[ [
{ {
"attributes": "attributes": {},
{
"arguments": null
},
"children": "children":
[ [
{ {
"attributes": "attributes":
{ {
"contractScope": null,
"name": "C1", "name": "C1",
"referencedDeclaration": 1, "referencedDeclaration": 1,
"type": "contract C1" "type": "contract C1"

View File

@ -17,7 +17,6 @@
"baseContracts": [], "baseContracts": [],
"contractDependencies": [], "contractDependencies": [],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"id": 1, "id": 1,
"linearizedBaseContracts": "linearizedBaseContracts":

View File

@ -26,7 +26,6 @@
null null
], ],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"linearizedBaseContracts": "linearizedBaseContracts":
[ [

View File

@ -8,7 +8,6 @@
] ]
}, },
"id": 12, "id": 12,
"license": null,
"nodeType": "SourceUnit", "nodeType": "SourceUnit",
"nodes": "nodes":
[ [
@ -17,7 +16,6 @@
"baseContracts": [], "baseContracts": [],
"contractDependencies": [], "contractDependencies": [],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"id": 11, "id": 11,
"linearizedBaseContracts": "linearizedBaseContracts":
@ -49,7 +47,6 @@
"mutability": "mutable", "mutability": "mutable",
"name": "a", "name": "a",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"overrides": null,
"scope": 9, "scope": 9,
"src": "35:6:1", "src": "35:6:1",
"stateVariable": false, "stateVariable": false,
@ -71,14 +68,12 @@
"typeString": "uint256" "typeString": "uint256"
} }
}, },
"value": null,
"visibility": "internal" "visibility": "internal"
} }
], ],
"id": 8, "id": 8,
"initialValue": "initialValue":
{ {
"argumentTypes": null,
"commonType": "commonType":
{ {
"typeIdentifier": "t_rational_5_by_1", "typeIdentifier": "t_rational_5_by_1",
@ -91,7 +86,6 @@
"lValueRequested": false, "lValueRequested": false,
"leftExpression": "leftExpression":
{ {
"argumentTypes": null,
"hexValue": "32", "hexValue": "32",
"id": 5, "id": 5,
"isConstant": false, "isConstant": false,
@ -101,7 +95,6 @@
"lValueRequested": false, "lValueRequested": false,
"nodeType": "Literal", "nodeType": "Literal",
"src": "44:1:1", "src": "44:1:1",
"subdenomination": null,
"typeDescriptions": "typeDescriptions":
{ {
"typeIdentifier": "t_rational_2_by_1", "typeIdentifier": "t_rational_2_by_1",
@ -113,7 +106,6 @@
"operator": "+", "operator": "+",
"rightExpression": "rightExpression":
{ {
"argumentTypes": null,
"hexValue": "33", "hexValue": "33",
"id": 6, "id": 6,
"isConstant": false, "isConstant": false,
@ -123,7 +115,6 @@
"lValueRequested": false, "lValueRequested": false,
"nodeType": "Literal", "nodeType": "Literal",
"src": "48:1:1", "src": "48:1:1",
"subdenomination": null,
"typeDescriptions": "typeDescriptions":
{ {
"typeIdentifier": "t_rational_3_by_1", "typeIdentifier": "t_rational_3_by_1",
@ -143,7 +134,6 @@
} }
] ]
}, },
"documentation": null,
"functionSelector": "26121ff0", "functionSelector": "26121ff0",
"id": 10, "id": 10,
"implemented": true, "implemented": true,
@ -151,7 +141,6 @@
"modifiers": [], "modifiers": [],
"name": "f", "name": "f",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"overrides": null,
"parameters": "parameters":
{ {
"id": 1, "id": 1,

View File

@ -8,8 +8,7 @@
[ [
11 11
] ]
}, }
"license": null
}, },
"children": "children":
[ [
@ -26,7 +25,6 @@
null null
], ],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"linearizedBaseContracts": "linearizedBaseContracts":
[ [
@ -40,7 +38,6 @@
{ {
"attributes": "attributes":
{ {
"documentation": null,
"functionSelector": "26121ff0", "functionSelector": "26121ff0",
"implemented": true, "implemented": true,
"isConstructor": false, "isConstructor": false,
@ -50,7 +47,6 @@
null null
], ],
"name": "f", "name": "f",
"overrides": null,
"scope": 11, "scope": 11,
"stateMutability": "nonpayable", "stateMutability": "nonpayable",
"virtual": false, "virtual": false,
@ -103,12 +99,10 @@
"constant": false, "constant": false,
"mutability": "mutable", "mutability": "mutable",
"name": "a", "name": "a",
"overrides": null,
"scope": 9, "scope": 9,
"stateVariable": false, "stateVariable": false,
"storageLocation": "default", "storageLocation": "default",
"type": "uint256", "type": "uint256",
"value": null,
"visibility": "internal" "visibility": "internal"
}, },
"children": "children":
@ -131,7 +125,6 @@
{ {
"attributes": "attributes":
{ {
"argumentTypes": null,
"commonType": "commonType":
{ {
"typeIdentifier": "t_rational_5_by_1", "typeIdentifier": "t_rational_5_by_1",
@ -149,13 +142,11 @@
{ {
"attributes": "attributes":
{ {
"argumentTypes": null,
"hexvalue": "32", "hexvalue": "32",
"isConstant": false, "isConstant": false,
"isLValue": false, "isLValue": false,
"isPure": true, "isPure": true,
"lValueRequested": false, "lValueRequested": false,
"subdenomination": null,
"token": "number", "token": "number",
"type": "int_const 2", "type": "int_const 2",
"value": "2" "value": "2"
@ -167,13 +158,11 @@
{ {
"attributes": "attributes":
{ {
"argumentTypes": null,
"hexvalue": "33", "hexvalue": "33",
"isConstant": false, "isConstant": false,
"isLValue": false, "isLValue": false,
"isPure": true, "isPure": true,
"lValueRequested": false, "lValueRequested": false,
"subdenomination": null,
"token": "number", "token": "number",
"type": "int_const 3", "type": "int_const 3",
"value": "3" "value": "3"

View File

@ -8,7 +8,6 @@
] ]
}, },
"id": 16, "id": 16,
"license": null,
"nodeType": "SourceUnit", "nodeType": "SourceUnit",
"nodes": "nodes":
[ [
@ -17,7 +16,6 @@
"baseContracts": [], "baseContracts": [],
"contractDependencies": [], "contractDependencies": [],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"id": 15, "id": 15,
"linearizedBaseContracts": "linearizedBaseContracts":
@ -34,7 +32,6 @@
"mutability": "mutable", "mutability": "mutable",
"name": "a", "name": "a",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"overrides": null,
"scope": 15, "scope": 15,
"src": "13:8:1", "src": "13:8:1",
"stateVariable": true, "stateVariable": true,
@ -59,7 +56,6 @@
} }
}, },
"id": 2, "id": 2,
"length": null,
"nodeType": "ArrayTypeName", "nodeType": "ArrayTypeName",
"src": "13:6:1", "src": "13:6:1",
"typeDescriptions": "typeDescriptions":
@ -68,7 +64,6 @@
"typeString": "uint256[]" "typeString": "uint256[]"
} }
}, },
"value": null,
"visibility": "internal" "visibility": "internal"
}, },
{ {
@ -92,7 +87,6 @@
"mutability": "mutable", "mutability": "mutable",
"name": "b", "name": "b",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"overrides": null,
"scope": 13, "scope": 13,
"src": "45:16:1", "src": "45:16:1",
"stateVariable": false, "stateVariable": false,
@ -117,7 +111,6 @@
} }
}, },
"id": 9, "id": 9,
"length": null,
"nodeType": "ArrayTypeName", "nodeType": "ArrayTypeName",
"src": "45:6:1", "src": "45:6:1",
"typeDescriptions": "typeDescriptions":
@ -126,14 +119,12 @@
"typeString": "uint256[]" "typeString": "uint256[]"
} }
}, },
"value": null,
"visibility": "internal" "visibility": "internal"
} }
], ],
"id": 12, "id": 12,
"initialValue": "initialValue":
{ {
"argumentTypes": null,
"id": 11, "id": 11,
"name": "a", "name": "a",
"nodeType": "Identifier", "nodeType": "Identifier",
@ -151,7 +142,6 @@
} }
] ]
}, },
"documentation": null,
"functionSelector": "26121ff0", "functionSelector": "26121ff0",
"id": 14, "id": 14,
"implemented": true, "implemented": true,
@ -159,7 +149,6 @@
"modifiers": [], "modifiers": [],
"name": "f", "name": "f",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"overrides": null,
"parameters": "parameters":
{ {
"id": 4, "id": 4,

View File

@ -8,8 +8,7 @@
[ [
15 15
] ]
}, }
"license": null
}, },
"children": "children":
[ [
@ -26,7 +25,6 @@
null null
], ],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"linearizedBaseContracts": "linearizedBaseContracts":
[ [
@ -43,12 +41,10 @@
"constant": false, "constant": false,
"mutability": "mutable", "mutability": "mutable",
"name": "a", "name": "a",
"overrides": null,
"scope": 15, "scope": 15,
"stateVariable": true, "stateVariable": true,
"storageLocation": "default", "storageLocation": "default",
"type": "uint256[]", "type": "uint256[]",
"value": null,
"visibility": "internal" "visibility": "internal"
}, },
"children": "children":
@ -56,7 +52,6 @@
{ {
"attributes": "attributes":
{ {
"length": null,
"type": "uint256[]" "type": "uint256[]"
}, },
"children": "children":
@ -84,7 +79,6 @@
{ {
"attributes": "attributes":
{ {
"documentation": null,
"functionSelector": "26121ff0", "functionSelector": "26121ff0",
"implemented": true, "implemented": true,
"isConstructor": false, "isConstructor": false,
@ -94,7 +88,6 @@
null null
], ],
"name": "f", "name": "f",
"overrides": null,
"scope": 15, "scope": 15,
"stateMutability": "nonpayable", "stateMutability": "nonpayable",
"virtual": false, "virtual": false,
@ -147,12 +140,10 @@
"constant": false, "constant": false,
"mutability": "mutable", "mutability": "mutable",
"name": "b", "name": "b",
"overrides": null,
"scope": 13, "scope": 13,
"stateVariable": false, "stateVariable": false,
"storageLocation": "storage", "storageLocation": "storage",
"type": "uint256[]", "type": "uint256[]",
"value": null,
"visibility": "internal" "visibility": "internal"
}, },
"children": "children":
@ -160,7 +151,6 @@
{ {
"attributes": "attributes":
{ {
"length": null,
"type": "uint256[]" "type": "uint256[]"
}, },
"children": "children":
@ -188,7 +178,6 @@
{ {
"attributes": "attributes":
{ {
"argumentTypes": null,
"overloadedDeclarations": "overloadedDeclarations":
[ [
null null

View File

@ -8,7 +8,6 @@
] ]
}, },
"id": 18, "id": 18,
"license": null,
"nodeType": "SourceUnit", "nodeType": "SourceUnit",
"nodes": "nodes":
[ [
@ -17,7 +16,6 @@
"baseContracts": [], "baseContracts": [],
"contractDependencies": [], "contractDependencies": [],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"id": 17, "id": 17,
"linearizedBaseContracts": "linearizedBaseContracts":
@ -62,7 +60,6 @@
"mutability": "mutable", "mutability": "mutable",
"name": "a", "name": "a",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"overrides": null,
"scope": 17, "scope": 17,
"src": "40:20:1", "src": "40:20:1",
"stateVariable": true, "stateVariable": true,
@ -77,7 +74,6 @@
"id": 7, "id": 7,
"keyType": "keyType":
{ {
"contractScope": null,
"id": 5, "id": 5,
"name": "C", "name": "C",
"nodeType": "UserDefinedTypeName", "nodeType": "UserDefinedTypeName",
@ -109,7 +105,6 @@
} }
} }
}, },
"value": null,
"visibility": "internal" "visibility": "internal"
}, },
{ {
@ -118,7 +113,6 @@
"mutability": "mutable", "mutability": "mutable",
"name": "b", "name": "b",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"overrides": null,
"scope": 17, "scope": 17,
"src": "66:26:1", "src": "66:26:1",
"stateVariable": true, "stateVariable": true,
@ -163,7 +157,6 @@
} }
} }
}, },
"value": null,
"visibility": "internal" "visibility": "internal"
}, },
{ {
@ -172,7 +165,6 @@
"mutability": "mutable", "mutability": "mutable",
"name": "c", "name": "c",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"overrides": null,
"scope": 17, "scope": 17,
"src": "98:20:1", "src": "98:20:1",
"stateVariable": true, "stateVariable": true,
@ -187,7 +179,6 @@
"id": 15, "id": 15,
"keyType": "keyType":
{ {
"contractScope": null,
"id": 13, "id": 13,
"name": "E", "name": "E",
"nodeType": "UserDefinedTypeName", "nodeType": "UserDefinedTypeName",
@ -219,7 +210,6 @@
} }
} }
}, },
"value": null,
"visibility": "internal" "visibility": "internal"
} }
], ],

View File

@ -8,8 +8,7 @@
[ [
17 17
] ]
}, }
"license": null
}, },
"children": "children":
[ [
@ -26,7 +25,6 @@
null null
], ],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"linearizedBaseContracts": "linearizedBaseContracts":
[ [
@ -83,12 +81,10 @@
"constant": false, "constant": false,
"mutability": "mutable", "mutability": "mutable",
"name": "a", "name": "a",
"overrides": null,
"scope": 17, "scope": 17,
"stateVariable": true, "stateVariable": true,
"storageLocation": "default", "storageLocation": "default",
"type": "mapping(contract C => bool)", "type": "mapping(contract C => bool)",
"value": null,
"visibility": "internal" "visibility": "internal"
}, },
"children": "children":
@ -103,7 +99,6 @@
{ {
"attributes": "attributes":
{ {
"contractScope": null,
"name": "C", "name": "C",
"referencedDeclaration": 17, "referencedDeclaration": 17,
"type": "contract C" "type": "contract C"
@ -138,12 +133,10 @@
"constant": false, "constant": false,
"mutability": "mutable", "mutability": "mutable",
"name": "b", "name": "b",
"overrides": null,
"scope": 17, "scope": 17,
"stateVariable": true, "stateVariable": true,
"storageLocation": "default", "storageLocation": "default",
"type": "mapping(address => bool)", "type": "mapping(address => bool)",
"value": null,
"visibility": "internal" "visibility": "internal"
}, },
"children": "children":
@ -191,12 +184,10 @@
"constant": false, "constant": false,
"mutability": "mutable", "mutability": "mutable",
"name": "c", "name": "c",
"overrides": null,
"scope": 17, "scope": 17,
"stateVariable": true, "stateVariable": true,
"storageLocation": "default", "storageLocation": "default",
"type": "mapping(enum C.E => bool)", "type": "mapping(enum C.E => bool)",
"value": null,
"visibility": "internal" "visibility": "internal"
}, },
"children": "children":
@ -211,7 +202,6 @@
{ {
"attributes": "attributes":
{ {
"contractScope": null,
"name": "E", "name": "E",
"referencedDeclaration": 4, "referencedDeclaration": 4,
"type": "enum C.E" "type": "enum C.E"

View File

@ -8,7 +8,6 @@
] ]
}, },
"id": 15, "id": 15,
"license": null,
"nodeType": "SourceUnit", "nodeType": "SourceUnit",
"nodes": "nodes":
[ [
@ -17,7 +16,6 @@
"baseContracts": [], "baseContracts": [],
"contractDependencies": [], "contractDependencies": [],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"id": 14, "id": 14,
"linearizedBaseContracts": "linearizedBaseContracts":
@ -43,11 +41,9 @@
} }
] ]
}, },
"documentation": null,
"id": 6, "id": 6,
"name": "M", "name": "M",
"nodeType": "ModifierDefinition", "nodeType": "ModifierDefinition",
"overrides": null,
"parameters": "parameters":
{ {
"id": 3, "id": 3,
@ -60,7 +56,6 @@
"mutability": "mutable", "mutability": "mutable",
"name": "i", "name": "i",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"overrides": null,
"scope": 6, "scope": 6,
"src": "24:6:1", "src": "24:6:1",
"stateVariable": false, "stateVariable": false,
@ -82,7 +77,6 @@
"typeString": "uint256" "typeString": "uint256"
} }
}, },
"value": null,
"visibility": "internal" "visibility": "internal"
} }
], ],
@ -100,7 +94,6 @@
"src": "64:2:1", "src": "64:2:1",
"statements": [] "statements": []
}, },
"documentation": null,
"functionSelector": "28811f59", "functionSelector": "28811f59",
"id": 13, "id": 13,
"implemented": true, "implemented": true,
@ -111,7 +104,6 @@
"arguments": "arguments":
[ [
{ {
"argumentTypes": null,
"hexValue": "31", "hexValue": "31",
"id": 9, "id": 9,
"isConstant": false, "isConstant": false,
@ -121,7 +113,6 @@
"lValueRequested": false, "lValueRequested": false,
"nodeType": "Literal", "nodeType": "Literal",
"src": "54:1:1", "src": "54:1:1",
"subdenomination": null,
"typeDescriptions": "typeDescriptions":
{ {
"typeIdentifier": "t_rational_1_by_1", "typeIdentifier": "t_rational_1_by_1",
@ -133,7 +124,6 @@
"id": 10, "id": 10,
"modifierName": "modifierName":
{ {
"argumentTypes": null,
"id": 8, "id": 8,
"name": "M", "name": "M",
"nodeType": "Identifier", "nodeType": "Identifier",
@ -152,7 +142,6 @@
], ],
"name": "F", "name": "F",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"overrides": null,
"parameters": "parameters":
{ {
"id": 7, "id": 7,

View File

@ -8,8 +8,7 @@
[ [
14 14
] ]
}, }
"license": null
}, },
"children": "children":
[ [
@ -26,7 +25,6 @@
null null
], ],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"linearizedBaseContracts": "linearizedBaseContracts":
[ [
@ -40,9 +38,7 @@
{ {
"attributes": "attributes":
{ {
"documentation": null,
"name": "M", "name": "M",
"overrides": null,
"virtual": false, "virtual": false,
"visibility": "internal" "visibility": "internal"
}, },
@ -57,12 +53,10 @@
"constant": false, "constant": false,
"mutability": "mutable", "mutability": "mutable",
"name": "i", "name": "i",
"overrides": null,
"scope": 6, "scope": 6,
"stateVariable": false, "stateVariable": false,
"storageLocation": "default", "storageLocation": "default",
"type": "uint256", "type": "uint256",
"value": null,
"visibility": "internal" "visibility": "internal"
}, },
"children": "children":
@ -108,13 +102,11 @@
{ {
"attributes": "attributes":
{ {
"documentation": null,
"functionSelector": "28811f59", "functionSelector": "28811f59",
"implemented": true, "implemented": true,
"isConstructor": false, "isConstructor": false,
"kind": "function", "kind": "function",
"name": "F", "name": "F",
"overrides": null,
"scope": 14, "scope": 14,
"stateMutability": "nonpayable", "stateMutability": "nonpayable",
"virtual": false, "virtual": false,
@ -154,7 +146,6 @@
{ {
"attributes": "attributes":
{ {
"argumentTypes": null,
"overloadedDeclarations": "overloadedDeclarations":
[ [
null null
@ -170,13 +161,11 @@
{ {
"attributes": "attributes":
{ {
"argumentTypes": null,
"hexvalue": "31", "hexvalue": "31",
"isConstant": false, "isConstant": false,
"isLValue": false, "isLValue": false,
"isPure": true, "isPure": true,
"lValueRequested": false, "lValueRequested": false,
"subdenomination": null,
"token": "number", "token": "number",
"type": "int_const 1", "type": "int_const 1",
"value": "1" "value": "1"

View File

@ -8,7 +8,6 @@
] ]
}, },
"id": 15, "id": 15,
"license": null,
"nodeType": "SourceUnit", "nodeType": "SourceUnit",
"nodes": "nodes":
[ [
@ -17,7 +16,6 @@
"baseContracts": [], "baseContracts": [],
"contractDependencies": [], "contractDependencies": [],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"id": 14, "id": 14,
"linearizedBaseContracts": "linearizedBaseContracts":
@ -43,11 +41,9 @@
} }
] ]
}, },
"documentation": null,
"id": 6, "id": 6,
"name": "M", "name": "M",
"nodeType": "ModifierDefinition", "nodeType": "ModifierDefinition",
"overrides": null,
"parameters": "parameters":
{ {
"id": 3, "id": 3,
@ -60,7 +56,6 @@
"mutability": "mutable", "mutability": "mutable",
"name": "i", "name": "i",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"overrides": null,
"scope": 6, "scope": 6,
"src": "24:6:1", "src": "24:6:1",
"stateVariable": false, "stateVariable": false,
@ -82,7 +77,6 @@
"typeString": "uint256" "typeString": "uint256"
} }
}, },
"value": null,
"visibility": "internal" "visibility": "internal"
} }
], ],
@ -100,7 +94,6 @@
"src": "64:2:1", "src": "64:2:1",
"statements": [] "statements": []
}, },
"documentation": null,
"functionSelector": "28811f59", "functionSelector": "28811f59",
"id": 13, "id": 13,
"implemented": true, "implemented": true,
@ -111,7 +104,6 @@
"arguments": "arguments":
[ [
{ {
"argumentTypes": null,
"hexValue": "31", "hexValue": "31",
"id": 9, "id": 9,
"isConstant": false, "isConstant": false,
@ -121,7 +113,6 @@
"lValueRequested": false, "lValueRequested": false,
"nodeType": "Literal", "nodeType": "Literal",
"src": "54:1:1", "src": "54:1:1",
"subdenomination": null,
"typeDescriptions": "typeDescriptions":
{ {
"typeIdentifier": "t_rational_1_by_1", "typeIdentifier": "t_rational_1_by_1",
@ -133,7 +124,6 @@
"id": 10, "id": 10,
"modifierName": "modifierName":
{ {
"argumentTypes": null,
"id": 8, "id": 8,
"name": "M", "name": "M",
"nodeType": "Identifier", "nodeType": "Identifier",
@ -152,7 +142,6 @@
], ],
"name": "F", "name": "F",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"overrides": null,
"parameters": "parameters":
{ {
"id": 7, "id": 7,

View File

@ -8,8 +8,7 @@
[ [
14 14
] ]
}, }
"license": null
}, },
"children": "children":
[ [
@ -26,7 +25,6 @@
null null
], ],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"linearizedBaseContracts": "linearizedBaseContracts":
[ [
@ -40,9 +38,7 @@
{ {
"attributes": "attributes":
{ {
"documentation": null,
"name": "M", "name": "M",
"overrides": null,
"virtual": false, "virtual": false,
"visibility": "internal" "visibility": "internal"
}, },
@ -57,12 +53,10 @@
"constant": false, "constant": false,
"mutability": "mutable", "mutability": "mutable",
"name": "i", "name": "i",
"overrides": null,
"scope": 6, "scope": 6,
"stateVariable": false, "stateVariable": false,
"storageLocation": "default", "storageLocation": "default",
"type": "uint256", "type": "uint256",
"value": null,
"visibility": "internal" "visibility": "internal"
}, },
"children": "children":
@ -108,13 +102,11 @@
{ {
"attributes": "attributes":
{ {
"documentation": null,
"functionSelector": "28811f59", "functionSelector": "28811f59",
"implemented": true, "implemented": true,
"isConstructor": false, "isConstructor": false,
"kind": "function", "kind": "function",
"name": "F", "name": "F",
"overrides": null,
"scope": 14, "scope": 14,
"stateMutability": "nonpayable", "stateMutability": "nonpayable",
"virtual": false, "virtual": false,
@ -154,7 +146,6 @@
{ {
"attributes": "attributes":
{ {
"argumentTypes": null,
"overloadedDeclarations": "overloadedDeclarations":
[ [
null null
@ -170,13 +161,11 @@
{ {
"attributes": "attributes":
{ {
"argumentTypes": null,
"hexvalue": "31", "hexvalue": "31",
"isConstant": false, "isConstant": false,
"isLValue": false, "isLValue": false,
"isPure": true, "isPure": true,
"lValueRequested": false, "lValueRequested": false,
"subdenomination": null,
"token": "number", "token": "number",
"type": "int_const 1", "type": "int_const 1",
"value": "1" "value": "1"

View File

@ -8,7 +8,6 @@
] ]
}, },
"id": 11, "id": 11,
"license": null,
"nodeType": "SourceUnit", "nodeType": "SourceUnit",
"nodes": "nodes":
[ [
@ -17,7 +16,6 @@
"baseContracts": [], "baseContracts": [],
"contractDependencies": [], "contractDependencies": [],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"id": 10, "id": 10,
"linearizedBaseContracts": "linearizedBaseContracts":
@ -35,7 +33,6 @@
"mutability": "immutable", "mutability": "immutable",
"name": "a", "name": "a",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"overrides": null,
"scope": 10, "scope": 10,
"src": "17:27:1", "src": "17:27:1",
"stateVariable": true, "stateVariable": true,
@ -59,7 +56,6 @@
}, },
"value": "value":
{ {
"argumentTypes": null,
"hexValue": "34", "hexValue": "34",
"id": 2, "id": 2,
"isConstant": false, "isConstant": false,
@ -69,7 +65,6 @@
"lValueRequested": false, "lValueRequested": false,
"nodeType": "Literal", "nodeType": "Literal",
"src": "43:1:1", "src": "43:1:1",
"subdenomination": null,
"typeDescriptions": "typeDescriptions":
{ {
"typeIdentifier": "t_rational_4_by_1", "typeIdentifier": "t_rational_4_by_1",
@ -86,7 +81,6 @@
"mutability": "constant", "mutability": "constant",
"name": "b", "name": "b",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"overrides": null,
"scope": 10, "scope": 10,
"src": "50:26:1", "src": "50:26:1",
"stateVariable": true, "stateVariable": true,
@ -110,7 +104,6 @@
}, },
"value": "value":
{ {
"argumentTypes": null,
"hexValue": "32", "hexValue": "32",
"id": 5, "id": 5,
"isConstant": false, "isConstant": false,
@ -120,7 +113,6 @@
"lValueRequested": false, "lValueRequested": false,
"nodeType": "Literal", "nodeType": "Literal",
"src": "75:1:1", "src": "75:1:1",
"subdenomination": null,
"typeDescriptions": "typeDescriptions":
{ {
"typeIdentifier": "t_rational_2_by_1", "typeIdentifier": "t_rational_2_by_1",
@ -137,7 +129,6 @@
"mutability": "mutable", "mutability": "mutable",
"name": "c", "name": "c",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"overrides": null,
"scope": 10, "scope": 10,
"src": "82:17:1", "src": "82:17:1",
"stateVariable": true, "stateVariable": true,
@ -161,7 +152,6 @@
}, },
"value": "value":
{ {
"argumentTypes": null,
"hexValue": "33", "hexValue": "33",
"id": 8, "id": 8,
"isConstant": false, "isConstant": false,
@ -171,7 +161,6 @@
"lValueRequested": false, "lValueRequested": false,
"nodeType": "Literal", "nodeType": "Literal",
"src": "98:1:1", "src": "98:1:1",
"subdenomination": null,
"typeDescriptions": "typeDescriptions":
{ {
"typeIdentifier": "t_rational_3_by_1", "typeIdentifier": "t_rational_3_by_1",

View File

@ -8,8 +8,7 @@
[ [
10 10
] ]
}, }
"license": null
}, },
"children": "children":
[ [
@ -26,7 +25,6 @@
null null
], ],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"linearizedBaseContracts": "linearizedBaseContracts":
[ [
@ -44,7 +42,6 @@
"functionSelector": "0dbe671f", "functionSelector": "0dbe671f",
"mutability": "immutable", "mutability": "immutable",
"name": "a", "name": "a",
"overrides": null,
"scope": 10, "scope": 10,
"stateVariable": true, "stateVariable": true,
"storageLocation": "default", "storageLocation": "default",
@ -66,13 +63,11 @@
{ {
"attributes": "attributes":
{ {
"argumentTypes": null,
"hexvalue": "34", "hexvalue": "34",
"isConstant": false, "isConstant": false,
"isLValue": false, "isLValue": false,
"isPure": true, "isPure": true,
"lValueRequested": false, "lValueRequested": false,
"subdenomination": null,
"token": "number", "token": "number",
"type": "int_const 4", "type": "int_const 4",
"value": "4" "value": "4"
@ -93,7 +88,6 @@
"functionSelector": "4df7e3d0", "functionSelector": "4df7e3d0",
"mutability": "constant", "mutability": "constant",
"name": "b", "name": "b",
"overrides": null,
"scope": 10, "scope": 10,
"stateVariable": true, "stateVariable": true,
"storageLocation": "default", "storageLocation": "default",
@ -115,13 +109,11 @@
{ {
"attributes": "attributes":
{ {
"argumentTypes": null,
"hexvalue": "32", "hexvalue": "32",
"isConstant": false, "isConstant": false,
"isLValue": false, "isLValue": false,
"isPure": true, "isPure": true,
"lValueRequested": false, "lValueRequested": false,
"subdenomination": null,
"token": "number", "token": "number",
"type": "int_const 2", "type": "int_const 2",
"value": "2" "value": "2"
@ -142,7 +134,6 @@
"functionSelector": "c3da42b8", "functionSelector": "c3da42b8",
"mutability": "mutable", "mutability": "mutable",
"name": "c", "name": "c",
"overrides": null,
"scope": 10, "scope": 10,
"stateVariable": true, "stateVariable": true,
"storageLocation": "default", "storageLocation": "default",
@ -164,13 +155,11 @@
{ {
"attributes": "attributes":
{ {
"argumentTypes": null,
"hexvalue": "33", "hexvalue": "33",
"isConstant": false, "isConstant": false,
"isLValue": false, "isLValue": false,
"isPure": true, "isPure": true,
"lValueRequested": false, "lValueRequested": false,
"subdenomination": null,
"token": "number", "token": "number",
"type": "int_const 3", "type": "int_const 3",
"value": "3" "value": "3"

View File

@ -8,7 +8,6 @@
] ]
}, },
"id": 9, "id": 9,
"license": null,
"nodeType": "SourceUnit", "nodeType": "SourceUnit",
"nodes": "nodes":
[ [
@ -17,7 +16,6 @@
"baseContracts": [], "baseContracts": [],
"contractDependencies": [], "contractDependencies": [],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"id": 8, "id": 8,
"linearizedBaseContracts": "linearizedBaseContracts":
@ -49,7 +47,6 @@
"mutability": "mutable", "mutability": "mutable",
"name": "x", "name": "x",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"overrides": null,
"scope": 6, "scope": 6,
"src": "35:5:1", "src": "35:5:1",
"stateVariable": false, "stateVariable": false,
@ -59,15 +56,12 @@
"typeIdentifier": "t_string_memory_ptr", "typeIdentifier": "t_string_memory_ptr",
"typeString": "string" "typeString": "string"
}, },
"typeName": null,
"value": null,
"visibility": "internal" "visibility": "internal"
} }
], ],
"id": 5, "id": 5,
"initialValue": "initialValue":
{ {
"argumentTypes": null,
"hexValue": "ff", "hexValue": "ff",
"id": 4, "id": 4,
"isConstant": false, "isConstant": false,
@ -77,20 +71,17 @@
"lValueRequested": false, "lValueRequested": false,
"nodeType": "Literal", "nodeType": "Literal",
"src": "43:7:1", "src": "43:7:1",
"subdenomination": null,
"typeDescriptions": "typeDescriptions":
{ {
"typeIdentifier": "t_stringliteral_8b1a944cf13a9a1c08facb2c9e98623ef3254d2ddb48113885c3e8e97fec8db9", "typeIdentifier": "t_stringliteral_8b1a944cf13a9a1c08facb2c9e98623ef3254d2ddb48113885c3e8e97fec8db9",
"typeString": "literal_string (contains invalid UTF-8 sequence at position 0)" "typeString": "literal_string (contains invalid UTF-8 sequence at position 0)"
}, }
"value": null
}, },
"nodeType": "VariableDeclarationStatement", "nodeType": "VariableDeclarationStatement",
"src": "35:15:1" "src": "35:15:1"
} }
] ]
}, },
"documentation": null,
"functionSelector": "26121ff0", "functionSelector": "26121ff0",
"id": 7, "id": 7,
"implemented": true, "implemented": true,
@ -98,7 +89,6 @@
"modifiers": [], "modifiers": [],
"name": "f", "name": "f",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"overrides": null,
"parameters": "parameters":
{ {
"id": 1, "id": 1,

View File

@ -8,8 +8,7 @@
[ [
8 8
] ]
}, }
"license": null
}, },
"children": "children":
[ [
@ -26,7 +25,6 @@
null null
], ],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"linearizedBaseContracts": "linearizedBaseContracts":
[ [
@ -40,7 +38,6 @@
{ {
"attributes": "attributes":
{ {
"documentation": null,
"functionSelector": "26121ff0", "functionSelector": "26121ff0",
"implemented": true, "implemented": true,
"isConstructor": false, "isConstructor": false,
@ -50,7 +47,6 @@
null null
], ],
"name": "f", "name": "f",
"overrides": null,
"scope": 8, "scope": 8,
"stateMutability": "nonpayable", "stateMutability": "nonpayable",
"virtual": false, "virtual": false,
@ -103,13 +99,10 @@
"constant": false, "constant": false,
"mutability": "mutable", "mutability": "mutable",
"name": "x", "name": "x",
"overrides": null,
"scope": 6, "scope": 6,
"stateVariable": false, "stateVariable": false,
"storageLocation": "default", "storageLocation": "default",
"type": "string", "type": "string",
"typeName": null,
"value": null,
"visibility": "internal" "visibility": "internal"
}, },
"children": [], "children": [],
@ -120,16 +113,13 @@
{ {
"attributes": "attributes":
{ {
"argumentTypes": null,
"hexvalue": "ff", "hexvalue": "ff",
"isConstant": false, "isConstant": false,
"isLValue": false, "isLValue": false,
"isPure": true, "isPure": true,
"lValueRequested": false, "lValueRequested": false,
"subdenomination": null,
"token": "string", "token": "string",
"type": "literal_string (contains invalid UTF-8 sequence at position 0)", "type": "literal_string (contains invalid UTF-8 sequence at position 0)"
"value": null
}, },
"id": 4, "id": 4,
"name": "Literal", "name": "Literal",

View File

@ -16,7 +16,6 @@
] ]
}, },
"id": 32, "id": 32,
"license": null,
"nodeType": "SourceUnit", "nodeType": "SourceUnit",
"nodes": "nodes":
[ [
@ -25,7 +24,6 @@
"baseContracts": [], "baseContracts": [],
"contractDependencies": [], "contractDependencies": [],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"id": 5, "id": 5,
"linearizedBaseContracts": "linearizedBaseContracts":
@ -44,7 +42,6 @@
"src": "36:2:1", "src": "36:2:1",
"statements": [] "statements": []
}, },
"documentation": null,
"functionSelector": "a399b6a2", "functionSelector": "a399b6a2",
"id": 4, "id": 4,
"implemented": true, "implemented": true,
@ -52,7 +49,6 @@
"modifiers": [], "modifiers": [],
"name": "faa", "name": "faa",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"overrides": null,
"parameters": "parameters":
{ {
"id": 1, "id": 1,
@ -82,10 +78,8 @@
"baseContracts": "baseContracts":
[ [
{ {
"arguments": null,
"baseName": "baseName":
{ {
"contractScope": null,
"id": 6, "id": 6,
"name": "A", "name": "A",
"nodeType": "UserDefinedTypeName", "nodeType": "UserDefinedTypeName",
@ -107,7 +101,6 @@
5 5
], ],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": false, "fullyImplemented": false,
"id": 16, "id": 16,
"linearizedBaseContracts": "linearizedBaseContracts":
@ -120,8 +113,6 @@
"nodes": "nodes":
[ [
{ {
"body": null,
"documentation": null,
"functionSelector": "c2985578", "functionSelector": "c2985578",
"id": 10, "id": 10,
"implemented": false, "implemented": false,
@ -129,7 +120,6 @@
"modifiers": [], "modifiers": [],
"name": "foo", "name": "foo",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"overrides": null,
"parameters": "parameters":
{ {
"id": 8, "id": 8,
@ -162,7 +152,6 @@
"src": "115:2:1", "src": "115:2:1",
"statements": [] "statements": []
}, },
"documentation": null,
"functionSelector": "a399b6a2", "functionSelector": "a399b6a2",
"id": 15, "id": 15,
"implemented": true, "implemented": true,
@ -206,10 +195,8 @@
"baseContracts": "baseContracts":
[ [
{ {
"arguments": null,
"baseName": "baseName":
{ {
"contractScope": null,
"id": 17, "id": 17,
"name": "B", "name": "B",
"nodeType": "UserDefinedTypeName", "nodeType": "UserDefinedTypeName",
@ -232,7 +219,6 @@
16 16
], ],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"id": 31, "id": 31,
"linearizedBaseContracts": "linearizedBaseContracts":
@ -257,7 +243,6 @@
"src": "170:3:1", "src": "170:3:1",
"statements": [] "statements": []
}, },
"documentation": null,
"functionSelector": "c2985578", "functionSelector": "c2985578",
"id": 23, "id": 23,
"implemented": true, "implemented": true,
@ -304,7 +289,6 @@
"src": "212:2:1", "src": "212:2:1",
"statements": [] "statements": []
}, },
"documentation": null,
"functionSelector": "a399b6a2", "functionSelector": "a399b6a2",
"id": 30, "id": 30,
"implemented": true, "implemented": true,
@ -319,7 +303,6 @@
"overrides": "overrides":
[ [
{ {
"contractScope": null,
"id": 25, "id": 25,
"name": "A", "name": "A",
"nodeType": "UserDefinedTypeName", "nodeType": "UserDefinedTypeName",
@ -332,7 +315,6 @@
} }
}, },
{ {
"contractScope": null,
"id": 26, "id": 26,
"name": "B", "name": "B",
"nodeType": "UserDefinedTypeName", "nodeType": "UserDefinedTypeName",

View File

@ -16,8 +16,7 @@
[ [
31 31
] ]
}, }
"license": null
}, },
"children": "children":
[ [
@ -34,7 +33,6 @@
null null
], ],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"linearizedBaseContracts": "linearizedBaseContracts":
[ [
@ -48,7 +46,6 @@
{ {
"attributes": "attributes":
{ {
"documentation": null,
"functionSelector": "a399b6a2", "functionSelector": "a399b6a2",
"implemented": true, "implemented": true,
"isConstructor": false, "isConstructor": false,
@ -58,7 +55,6 @@
null null
], ],
"name": "faa", "name": "faa",
"overrides": null,
"scope": 5, "scope": 5,
"stateMutability": "nonpayable", "stateMutability": "nonpayable",
"virtual": false, "virtual": false,
@ -124,7 +120,6 @@
5 5
], ],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": false, "fullyImplemented": false,
"linearizedBaseContracts": "linearizedBaseContracts":
[ [
@ -137,16 +132,12 @@
"children": "children":
[ [
{ {
"attributes": "attributes": {},
{
"arguments": null
},
"children": "children":
[ [
{ {
"attributes": "attributes":
{ {
"contractScope": null,
"name": "A", "name": "A",
"referencedDeclaration": 5, "referencedDeclaration": 5,
"type": "contract A" "type": "contract A"
@ -163,8 +154,6 @@
{ {
"attributes": "attributes":
{ {
"body": null,
"documentation": null,
"functionSelector": "c2985578", "functionSelector": "c2985578",
"implemented": false, "implemented": false,
"isConstructor": false, "isConstructor": false,
@ -174,7 +163,6 @@
null null
], ],
"name": "foo", "name": "foo",
"overrides": null,
"scope": 16, "scope": 16,
"stateMutability": "nonpayable", "stateMutability": "nonpayable",
"virtual": false, "virtual": false,
@ -220,7 +208,6 @@
[ [
4 4
], ],
"documentation": null,
"functionSelector": "a399b6a2", "functionSelector": "a399b6a2",
"implemented": true, "implemented": true,
"isConstructor": false, "isConstructor": false,
@ -308,7 +295,6 @@
16 16
], ],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"linearizedBaseContracts": "linearizedBaseContracts":
[ [
@ -322,16 +308,12 @@
"children": "children":
[ [
{ {
"attributes": "attributes": {},
{
"arguments": null
},
"children": "children":
[ [
{ {
"attributes": "attributes":
{ {
"contractScope": null,
"name": "B", "name": "B",
"referencedDeclaration": 16, "referencedDeclaration": 16,
"type": "contract B" "type": "contract B"
@ -352,7 +334,6 @@
[ [
10 10
], ],
"documentation": null,
"functionSelector": "c2985578", "functionSelector": "c2985578",
"implemented": true, "implemented": true,
"isConstructor": false, "isConstructor": false,
@ -432,7 +413,6 @@
[ [
15 15
], ],
"documentation": null,
"functionSelector": "a399b6a2", "functionSelector": "a399b6a2",
"implemented": true, "implemented": true,
"isConstructor": false, "isConstructor": false,
@ -455,7 +435,6 @@
{ {
"attributes": "attributes":
{ {
"contractScope": null,
"name": "A", "name": "A",
"referencedDeclaration": 5, "referencedDeclaration": 5,
"type": "contract A" "type": "contract A"
@ -467,7 +446,6 @@
{ {
"attributes": "attributes":
{ {
"contractScope": null,
"name": "B", "name": "B",
"referencedDeclaration": 16, "referencedDeclaration": 16,
"type": "contract B" "type": "contract B"

View File

@ -8,7 +8,6 @@
] ]
}, },
"id": 6, "id": 6,
"license": null,
"nodeType": "SourceUnit", "nodeType": "SourceUnit",
"nodes": "nodes":
[ [
@ -17,7 +16,6 @@
"baseContracts": [], "baseContracts": [],
"contractDependencies": [], "contractDependencies": [],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"id": 5, "id": 5,
"linearizedBaseContracts": "linearizedBaseContracts":
@ -43,11 +41,9 @@
} }
] ]
}, },
"documentation": null,
"id": 4, "id": 4,
"name": "M", "name": "M",
"nodeType": "ModifierDefinition", "nodeType": "ModifierDefinition",
"overrides": null,
"parameters": "parameters":
{ {
"id": 1, "id": 1,

View File

@ -8,8 +8,7 @@
[ [
5 5
] ]
}, }
"license": null
}, },
"children": "children":
[ [
@ -26,7 +25,6 @@
null null
], ],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"linearizedBaseContracts": "linearizedBaseContracts":
[ [
@ -40,9 +38,7 @@
{ {
"attributes": "attributes":
{ {
"documentation": null,
"name": "M", "name": "M",
"overrides": null,
"virtual": false, "virtual": false,
"visibility": "internal" "visibility": "internal"
}, },

View File

@ -8,7 +8,6 @@
] ]
}, },
"id": 6, "id": 6,
"license": null,
"nodeType": "SourceUnit", "nodeType": "SourceUnit",
"nodes": "nodes":
[ [
@ -17,7 +16,6 @@
"baseContracts": [], "baseContracts": [],
"contractDependencies": [], "contractDependencies": [],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"id": 5, "id": 5,
"linearizedBaseContracts": "linearizedBaseContracts":
@ -36,14 +34,12 @@
"src": "42:5:1", "src": "42:5:1",
"statements": [] "statements": []
}, },
"documentation": null,
"id": 4, "id": 4,
"implemented": true, "implemented": true,
"kind": "receive", "kind": "receive",
"modifiers": [], "modifiers": [],
"name": "", "name": "",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"overrides": null,
"parameters": "parameters":
{ {
"id": 1, "id": 1,

View File

@ -8,8 +8,7 @@
[ [
5 5
] ]
}, }
"license": null
}, },
"children": "children":
[ [
@ -26,7 +25,6 @@
null null
], ],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"linearizedBaseContracts": "linearizedBaseContracts":
[ [
@ -40,7 +38,6 @@
{ {
"attributes": "attributes":
{ {
"documentation": null,
"implemented": true, "implemented": true,
"isConstructor": false, "isConstructor": false,
"kind": "receive", "kind": "receive",
@ -49,7 +46,6 @@
null null
], ],
"name": "", "name": "",
"overrides": null,
"scope": 5, "scope": 5,
"stateMutability": "payable", "stateMutability": "payable",
"virtual": false, "virtual": false,

View File

@ -8,7 +8,6 @@
] ]
}, },
"id": 12, "id": 12,
"license": null,
"nodeType": "SourceUnit", "nodeType": "SourceUnit",
"nodes": "nodes":
[ [
@ -17,7 +16,6 @@
"baseContracts": [], "baseContracts": [],
"contractDependencies": [], "contractDependencies": [],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"id": 11, "id": 11,
"linearizedBaseContracts": "linearizedBaseContracts":
@ -49,7 +47,6 @@
"mutability": "mutable", "mutability": "mutable",
"name": "x", "name": "x",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"overrides": null,
"scope": 9, "scope": 9,
"src": "35:15:1", "src": "35:15:1",
"stateVariable": false, "stateVariable": false,
@ -74,7 +71,6 @@
} }
}, },
"id": 6, "id": 6,
"length": null,
"nodeType": "ArrayTypeName", "nodeType": "ArrayTypeName",
"src": "35:6:1", "src": "35:6:1",
"typeDescriptions": "typeDescriptions":
@ -83,18 +79,15 @@
"typeString": "uint256[]" "typeString": "uint256[]"
} }
}, },
"value": null,
"visibility": "internal" "visibility": "internal"
} }
], ],
"id": 8, "id": 8,
"initialValue": null,
"nodeType": "VariableDeclarationStatement", "nodeType": "VariableDeclarationStatement",
"src": "35:15:1" "src": "35:15:1"
} }
] ]
}, },
"documentation": null,
"functionSelector": "26121ff0", "functionSelector": "26121ff0",
"id": 10, "id": 10,
"implemented": true, "implemented": true,
@ -102,7 +95,6 @@
"modifiers": [], "modifiers": [],
"name": "f", "name": "f",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"overrides": null,
"parameters": "parameters":
{ {
"id": 1, "id": 1,

View File

@ -8,8 +8,7 @@
[ [
11 11
] ]
}, }
"license": null
}, },
"children": "children":
[ [
@ -26,7 +25,6 @@
null null
], ],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"linearizedBaseContracts": "linearizedBaseContracts":
[ [
@ -40,7 +38,6 @@
{ {
"attributes": "attributes":
{ {
"documentation": null,
"functionSelector": "26121ff0", "functionSelector": "26121ff0",
"implemented": true, "implemented": true,
"isConstructor": false, "isConstructor": false,
@ -50,7 +47,6 @@
null null
], ],
"name": "f", "name": "f",
"overrides": null,
"scope": 11, "scope": 11,
"stateMutability": "nonpayable", "stateMutability": "nonpayable",
"virtual": false, "virtual": false,
@ -93,8 +89,7 @@
"assignments": "assignments":
[ [
7 7
], ]
"initialValue": null
}, },
"children": "children":
[ [
@ -104,12 +99,10 @@
"constant": false, "constant": false,
"mutability": "mutable", "mutability": "mutable",
"name": "x", "name": "x",
"overrides": null,
"scope": 9, "scope": 9,
"stateVariable": false, "stateVariable": false,
"storageLocation": "memory", "storageLocation": "memory",
"type": "uint256[]", "type": "uint256[]",
"value": null,
"visibility": "internal" "visibility": "internal"
}, },
"children": "children":
@ -117,7 +110,6 @@
{ {
"attributes": "attributes":
{ {
"length": null,
"type": "uint256[]" "type": "uint256[]"
}, },
"children": "children":

View File

@ -8,7 +8,6 @@
] ]
}, },
"id": 13, "id": 13,
"license": null,
"nodeType": "SourceUnit", "nodeType": "SourceUnit",
"nodes": "nodes":
[ [
@ -17,7 +16,6 @@
"baseContracts": [], "baseContracts": [],
"contractDependencies": [], "contractDependencies": [],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"id": 12, "id": 12,
"linearizedBaseContracts": "linearizedBaseContracts":
@ -49,7 +47,6 @@
"mutability": "mutable", "mutability": "mutable",
"name": "rows", "name": "rows",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"overrides": null,
"scope": 10, "scope": 10,
"src": "35:20:1", "src": "35:20:1",
"stateVariable": false, "stateVariable": false,
@ -76,7 +73,6 @@
} }
}, },
"id": 6, "id": 6,
"length": null,
"nodeType": "ArrayTypeName", "nodeType": "ArrayTypeName",
"src": "35:6:1", "src": "35:6:1",
"typeDescriptions": "typeDescriptions":
@ -86,7 +82,6 @@
} }
}, },
"id": 7, "id": 7,
"length": null,
"nodeType": "ArrayTypeName", "nodeType": "ArrayTypeName",
"src": "35:8:1", "src": "35:8:1",
"typeDescriptions": "typeDescriptions":
@ -95,18 +90,15 @@
"typeString": "uint256[][]" "typeString": "uint256[][]"
} }
}, },
"value": null,
"visibility": "internal" "visibility": "internal"
} }
], ],
"id": 9, "id": 9,
"initialValue": null,
"nodeType": "VariableDeclarationStatement", "nodeType": "VariableDeclarationStatement",
"src": "35:20:1" "src": "35:20:1"
} }
] ]
}, },
"documentation": null,
"functionSelector": "26121ff0", "functionSelector": "26121ff0",
"id": 11, "id": 11,
"implemented": true, "implemented": true,
@ -114,7 +106,6 @@
"modifiers": [], "modifiers": [],
"name": "f", "name": "f",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"overrides": null,
"parameters": "parameters":
{ {
"id": 1, "id": 1,

View File

@ -8,8 +8,7 @@
[ [
12 12
] ]
}, }
"license": null
}, },
"children": "children":
[ [
@ -26,7 +25,6 @@
null null
], ],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"linearizedBaseContracts": "linearizedBaseContracts":
[ [
@ -40,7 +38,6 @@
{ {
"attributes": "attributes":
{ {
"documentation": null,
"functionSelector": "26121ff0", "functionSelector": "26121ff0",
"implemented": true, "implemented": true,
"isConstructor": false, "isConstructor": false,
@ -50,7 +47,6 @@
null null
], ],
"name": "f", "name": "f",
"overrides": null,
"scope": 12, "scope": 12,
"stateMutability": "nonpayable", "stateMutability": "nonpayable",
"virtual": false, "virtual": false,
@ -93,8 +89,7 @@
"assignments": "assignments":
[ [
8 8
], ]
"initialValue": null
}, },
"children": "children":
[ [
@ -104,12 +99,10 @@
"constant": false, "constant": false,
"mutability": "mutable", "mutability": "mutable",
"name": "rows", "name": "rows",
"overrides": null,
"scope": 10, "scope": 10,
"stateVariable": false, "stateVariable": false,
"storageLocation": "memory", "storageLocation": "memory",
"type": "uint256[][]", "type": "uint256[][]",
"value": null,
"visibility": "internal" "visibility": "internal"
}, },
"children": "children":
@ -117,7 +110,6 @@
{ {
"attributes": "attributes":
{ {
"length": null,
"type": "uint256[][]" "type": "uint256[][]"
}, },
"children": "children":
@ -125,7 +117,6 @@
{ {
"attributes": "attributes":
{ {
"length": null,
"type": "uint256[]" "type": "uint256[]"
}, },
"children": "children":

View File

@ -8,7 +8,6 @@
] ]
}, },
"id": 2, "id": 2,
"license": null,
"nodeType": "SourceUnit", "nodeType": "SourceUnit",
"nodes": "nodes":
[ [
@ -17,7 +16,6 @@
"baseContracts": [], "baseContracts": [],
"contractDependencies": [], "contractDependencies": [],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"id": 1, "id": 1,
"linearizedBaseContracts": "linearizedBaseContracts":

View File

@ -8,8 +8,7 @@
[ [
1 1
] ]
}, }
"license": null
}, },
"children": "children":
[ [
@ -26,7 +25,6 @@
null null
], ],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"linearizedBaseContracts": "linearizedBaseContracts":
[ [

View File

@ -8,7 +8,6 @@
] ]
}, },
"id": 12, "id": 12,
"license": null,
"nodeType": "SourceUnit", "nodeType": "SourceUnit",
"nodes": "nodes":
[ [
@ -17,7 +16,6 @@
"baseContracts": [], "baseContracts": [],
"contractDependencies": [], "contractDependencies": [],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"id": 11, "id": 11,
"linearizedBaseContracts": "linearizedBaseContracts":
@ -49,7 +47,6 @@
"mutability": "mutable", "mutability": "mutable",
"name": "x", "name": "x",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"overrides": null,
"scope": 9, "scope": 9,
"src": "28:5:1", "src": "28:5:1",
"stateVariable": false, "stateVariable": false,
@ -59,15 +56,12 @@
"typeIdentifier": "t_uint8", "typeIdentifier": "t_uint8",
"typeString": "uint8" "typeString": "uint8"
}, },
"typeName": null,
"value": null,
"visibility": "internal" "visibility": "internal"
} }
], ],
"id": 5, "id": 5,
"initialValue": "initialValue":
{ {
"argumentTypes": null,
"hexValue": "32", "hexValue": "32",
"id": 4, "id": 4,
"isConstant": false, "isConstant": false,
@ -77,7 +71,6 @@
"lValueRequested": false, "lValueRequested": false,
"nodeType": "Literal", "nodeType": "Literal",
"src": "36:1:1", "src": "36:1:1",
"subdenomination": null,
"typeDescriptions": "typeDescriptions":
{ {
"typeIdentifier": "t_rational_2_by_1", "typeIdentifier": "t_rational_2_by_1",
@ -91,7 +84,6 @@
{ {
"expression": "expression":
{ {
"argumentTypes": null,
"id": 7, "id": 7,
"isConstant": false, "isConstant": false,
"isLValue": false, "isLValue": false,
@ -103,7 +95,6 @@
"src": "39:3:1", "src": "39:3:1",
"subExpression": "subExpression":
{ {
"argumentTypes": null,
"id": 6, "id": 6,
"name": "x", "name": "x",
"nodeType": "Identifier", "nodeType": "Identifier",
@ -128,7 +119,6 @@
} }
] ]
}, },
"documentation": null,
"functionSelector": "26121ff0", "functionSelector": "26121ff0",
"id": 10, "id": 10,
"implemented": true, "implemented": true,
@ -136,7 +126,6 @@
"modifiers": [], "modifiers": [],
"name": "f", "name": "f",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"overrides": null,
"parameters": "parameters":
{ {
"id": 1, "id": 1,

View File

@ -8,8 +8,7 @@
[ [
11 11
] ]
}, }
"license": null
}, },
"children": "children":
[ [
@ -26,7 +25,6 @@
null null
], ],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"linearizedBaseContracts": "linearizedBaseContracts":
[ [
@ -40,7 +38,6 @@
{ {
"attributes": "attributes":
{ {
"documentation": null,
"functionSelector": "26121ff0", "functionSelector": "26121ff0",
"implemented": true, "implemented": true,
"isConstructor": false, "isConstructor": false,
@ -50,7 +47,6 @@
null null
], ],
"name": "f", "name": "f",
"overrides": null,
"scope": 11, "scope": 11,
"stateMutability": "nonpayable", "stateMutability": "nonpayable",
"virtual": false, "virtual": false,
@ -103,13 +99,10 @@
"constant": false, "constant": false,
"mutability": "mutable", "mutability": "mutable",
"name": "x", "name": "x",
"overrides": null,
"scope": 9, "scope": 9,
"stateVariable": false, "stateVariable": false,
"storageLocation": "default", "storageLocation": "default",
"type": "uint8", "type": "uint8",
"typeName": null,
"value": null,
"visibility": "internal" "visibility": "internal"
}, },
"children": [], "children": [],
@ -120,13 +113,11 @@
{ {
"attributes": "attributes":
{ {
"argumentTypes": null,
"hexvalue": "32", "hexvalue": "32",
"isConstant": false, "isConstant": false,
"isLValue": false, "isLValue": false,
"isPure": true, "isPure": true,
"lValueRequested": false, "lValueRequested": false,
"subdenomination": null,
"token": "number", "token": "number",
"type": "int_const 2", "type": "int_const 2",
"value": "2" "value": "2"
@ -146,7 +137,6 @@
{ {
"attributes": "attributes":
{ {
"argumentTypes": null,
"isConstant": false, "isConstant": false,
"isLValue": false, "isLValue": false,
"isPure": false, "isPure": false,
@ -160,7 +150,6 @@
{ {
"attributes": "attributes":
{ {
"argumentTypes": null,
"overloadedDeclarations": "overloadedDeclarations":
[ [
null null

View File

@ -16,7 +16,6 @@
] ]
}, },
"id": 23, "id": 23,
"license": null,
"nodeType": "SourceUnit", "nodeType": "SourceUnit",
"nodes": "nodes":
[ [
@ -25,7 +24,6 @@
"baseContracts": [], "baseContracts": [],
"contractDependencies": [], "contractDependencies": [],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"id": 5, "id": 5,
"linearizedBaseContracts": "linearizedBaseContracts":
@ -44,7 +42,6 @@
"src": "45:2:1", "src": "45:2:1",
"statements": [] "statements": []
}, },
"documentation": null,
"functionSelector": "26121ff0", "functionSelector": "26121ff0",
"id": 4, "id": 4,
"implemented": true, "implemented": true,
@ -52,7 +49,6 @@
"modifiers": [], "modifiers": [],
"name": "f", "name": "f",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"overrides": null,
"parameters": "parameters":
{ {
"id": 1, "id": 1,
@ -82,7 +78,6 @@
"baseContracts": [], "baseContracts": [],
"contractDependencies": [], "contractDependencies": [],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"id": 10, "id": 10,
"linearizedBaseContracts": "linearizedBaseContracts":
@ -101,7 +96,6 @@
"src": "95:2:1", "src": "95:2:1",
"statements": [] "statements": []
}, },
"documentation": null,
"functionSelector": "26121ff0", "functionSelector": "26121ff0",
"id": 9, "id": 9,
"implemented": true, "implemented": true,
@ -109,7 +103,6 @@
"modifiers": [], "modifiers": [],
"name": "f", "name": "f",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"overrides": null,
"parameters": "parameters":
{ {
"id": 6, "id": 6,
@ -139,10 +132,8 @@
"baseContracts": "baseContracts":
[ [
{ {
"arguments": null,
"baseName": "baseName":
{ {
"contractScope": null,
"id": 11, "id": 11,
"name": "A", "name": "A",
"nodeType": "UserDefinedTypeName", "nodeType": "UserDefinedTypeName",
@ -159,10 +150,8 @@
"src": "114:1:1" "src": "114:1:1"
}, },
{ {
"arguments": null,
"baseName": "baseName":
{ {
"contractScope": null,
"id": 13, "id": 13,
"name": "B", "name": "B",
"nodeType": "UserDefinedTypeName", "nodeType": "UserDefinedTypeName",
@ -185,7 +174,6 @@
10 10
], ],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"id": 22, "id": 22,
"linearizedBaseContracts": "linearizedBaseContracts":
@ -211,7 +199,6 @@
"src": "160:2:1", "src": "160:2:1",
"statements": [] "statements": []
}, },
"documentation": null,
"functionSelector": "26121ff0", "functionSelector": "26121ff0",
"id": 21, "id": 21,
"implemented": true, "implemented": true,
@ -226,7 +213,6 @@
"overrides": "overrides":
[ [
{ {
"contractScope": null,
"id": 16, "id": 16,
"name": "A", "name": "A",
"nodeType": "UserDefinedTypeName", "nodeType": "UserDefinedTypeName",
@ -239,7 +225,6 @@
} }
}, },
{ {
"contractScope": null,
"id": 17, "id": 17,
"name": "B", "name": "B",
"nodeType": "UserDefinedTypeName", "nodeType": "UserDefinedTypeName",

View File

@ -16,8 +16,7 @@
[ [
22 22
] ]
}, }
"license": null
}, },
"children": "children":
[ [
@ -34,7 +33,6 @@
null null
], ],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"linearizedBaseContracts": "linearizedBaseContracts":
[ [
@ -48,7 +46,6 @@
{ {
"attributes": "attributes":
{ {
"documentation": null,
"functionSelector": "26121ff0", "functionSelector": "26121ff0",
"implemented": true, "implemented": true,
"isConstructor": false, "isConstructor": false,
@ -58,7 +55,6 @@
null null
], ],
"name": "f", "name": "f",
"overrides": null,
"scope": 5, "scope": 5,
"stateMutability": "nonpayable", "stateMutability": "nonpayable",
"virtual": true, "virtual": true,
@ -128,7 +124,6 @@
null null
], ],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"linearizedBaseContracts": "linearizedBaseContracts":
[ [
@ -142,7 +137,6 @@
{ {
"attributes": "attributes":
{ {
"documentation": null,
"functionSelector": "26121ff0", "functionSelector": "26121ff0",
"implemented": true, "implemented": true,
"isConstructor": false, "isConstructor": false,
@ -152,7 +146,6 @@
null null
], ],
"name": "f", "name": "f",
"overrides": null,
"scope": 10, "scope": 10,
"stateMutability": "nonpayable", "stateMutability": "nonpayable",
"virtual": true, "virtual": true,
@ -219,7 +212,6 @@
10 10
], ],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"linearizedBaseContracts": "linearizedBaseContracts":
[ [
@ -233,16 +225,12 @@
"children": "children":
[ [
{ {
"attributes": "attributes": {},
{
"arguments": null
},
"children": "children":
[ [
{ {
"attributes": "attributes":
{ {
"contractScope": null,
"name": "A", "name": "A",
"referencedDeclaration": 5, "referencedDeclaration": 5,
"type": "contract A" "type": "contract A"
@ -257,16 +245,12 @@
"src": "114:1:1" "src": "114:1:1"
}, },
{ {
"attributes": "attributes": {},
{
"arguments": null
},
"children": "children":
[ [
{ {
"attributes": "attributes":
{ {
"contractScope": null,
"name": "B", "name": "B",
"referencedDeclaration": 10, "referencedDeclaration": 10,
"type": "contract B" "type": "contract B"
@ -288,7 +272,6 @@
4, 4,
9 9
], ],
"documentation": null,
"functionSelector": "26121ff0", "functionSelector": "26121ff0",
"implemented": true, "implemented": true,
"isConstructor": false, "isConstructor": false,
@ -311,7 +294,6 @@
{ {
"attributes": "attributes":
{ {
"contractScope": null,
"name": "A", "name": "A",
"referencedDeclaration": 5, "referencedDeclaration": 5,
"type": "contract A" "type": "contract A"
@ -323,7 +305,6 @@
{ {
"attributes": "attributes":
{ {
"contractScope": null,
"name": "B", "name": "B",
"referencedDeclaration": 10, "referencedDeclaration": 10,
"type": "contract B" "type": "contract B"

View File

@ -12,7 +12,6 @@
] ]
}, },
"id": 6, "id": 6,
"license": null,
"nodeType": "SourceUnit", "nodeType": "SourceUnit",
"nodes": "nodes":
[ [
@ -21,7 +20,6 @@
"baseContracts": [], "baseContracts": [],
"contractDependencies": [], "contractDependencies": [],
"contractKind": "library", "contractKind": "library",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"id": 1, "id": 1,
"linearizedBaseContracts": "linearizedBaseContracts":
@ -39,7 +37,6 @@
"baseContracts": [], "baseContracts": [],
"contractDependencies": [], "contractDependencies": [],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"id": 5, "id": 5,
"linearizedBaseContracts": "linearizedBaseContracts":
@ -54,7 +51,6 @@
"id": 4, "id": 4,
"libraryName": "libraryName":
{ {
"contractScope": null,
"id": 2, "id": 2,
"name": "L", "name": "L",
"nodeType": "UserDefinedTypeName", "nodeType": "UserDefinedTypeName",

View File

@ -12,8 +12,7 @@
[ [
1 1
] ]
}, }
"license": null
}, },
"children": "children":
[ [
@ -30,7 +29,6 @@
null null
], ],
"contractKind": "library", "contractKind": "library",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"linearizedBaseContracts": "linearizedBaseContracts":
[ [
@ -60,7 +58,6 @@
null null
], ],
"contractKind": "contract", "contractKind": "contract",
"documentation": null,
"fullyImplemented": true, "fullyImplemented": true,
"linearizedBaseContracts": "linearizedBaseContracts":
[ [
@ -77,7 +74,6 @@
{ {
"attributes": "attributes":
{ {
"contractScope": null,
"name": "L", "name": "L",
"referencedDeclaration": 1, "referencedDeclaration": 1,
"type": "library L" "type": "library L"

View File

@ -119,7 +119,7 @@ ostream& phaser::operator<<(ostream& _stream, Program const& _program)
string Program::toJson() const string Program::toJson() const
{ {
Json::Value serializedAst = AsmJsonConverter(0)(*m_ast); Json::Value serializedAst = AsmJsonConverter(0)(*m_ast);
return jsonPrettyPrint(serializedAst); return jsonPrettyPrint(removeNullMembers(std::move(serializedAst)));
} }
variant<unique_ptr<Block>, ErrorList> Program::parseObject(Dialect const& _dialect, CharStream _source) variant<unique_ptr<Block>, ErrorList> Program::parseObject(Dialect const& _dialect, CharStream _source)