2019-10-15 10:38:12 +00:00
|
|
|
{
|
|
|
|
"attributes":
|
|
|
|
{
|
|
|
|
"absolutePath": "a",
|
|
|
|
"exportedSymbols":
|
|
|
|
{
|
|
|
|
"C":
|
|
|
|
[
|
2020-08-31 15:37:03 +00:00
|
|
|
12
|
2019-10-15 10:38:12 +00:00
|
|
|
]
|
2020-04-27 08:28:54 +00:00
|
|
|
}
|
2019-10-15 10:38:12 +00:00
|
|
|
},
|
|
|
|
"children":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"attributes":
|
|
|
|
{
|
|
|
|
"abstract": false,
|
|
|
|
"baseContracts":
|
|
|
|
[
|
|
|
|
null
|
|
|
|
],
|
|
|
|
"contractDependencies":
|
|
|
|
[
|
|
|
|
null
|
|
|
|
],
|
|
|
|
"contractKind": "contract",
|
|
|
|
"fullyImplemented": true,
|
|
|
|
"linearizedBaseContracts":
|
|
|
|
[
|
2020-08-31 15:37:03 +00:00
|
|
|
12
|
2019-10-15 10:38:12 +00:00
|
|
|
],
|
|
|
|
"name": "C",
|
2020-08-31 15:37:03 +00:00
|
|
|
"scope": 13
|
2019-10-15 10:38:12 +00:00
|
|
|
},
|
|
|
|
"children":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"attributes":
|
|
|
|
{
|
|
|
|
"canonicalName": "C.S",
|
|
|
|
"name": "S",
|
2020-08-31 15:37:03 +00:00
|
|
|
"scope": 12,
|
2019-10-15 10:38:12 +00:00
|
|
|
"visibility": "public"
|
|
|
|
},
|
|
|
|
"children":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"attributes":
|
|
|
|
{
|
|
|
|
"constant": false,
|
2020-04-07 09:10:10 +00:00
|
|
|
"mutability": "mutable",
|
2019-10-15 10:38:12 +00:00
|
|
|
"name": "x",
|
|
|
|
"scope": 3,
|
|
|
|
"stateVariable": false,
|
|
|
|
"storageLocation": "default",
|
|
|
|
"type": "uint256",
|
|
|
|
"visibility": "internal"
|
|
|
|
},
|
|
|
|
"children":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"attributes":
|
|
|
|
{
|
|
|
|
"name": "uint",
|
|
|
|
"type": "uint256"
|
|
|
|
},
|
|
|
|
"id": 1,
|
|
|
|
"name": "ElementaryTypeName",
|
|
|
|
"src": "28:4:1"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"id": 2,
|
|
|
|
"name": "VariableDeclaration",
|
|
|
|
"src": "28:6:1"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"id": 3,
|
|
|
|
"name": "StructDefinition",
|
|
|
|
"src": "17:20:1"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"attributes":
|
|
|
|
{
|
|
|
|
"constant": false,
|
2020-04-07 09:10:10 +00:00
|
|
|
"mutability": "mutable",
|
2019-10-15 10:38:12 +00:00
|
|
|
"name": "s",
|
2020-08-31 15:37:03 +00:00
|
|
|
"scope": 12,
|
2019-10-15 10:38:12 +00:00
|
|
|
"stateVariable": true,
|
|
|
|
"storageLocation": "default",
|
|
|
|
"type": "struct C.S",
|
|
|
|
"visibility": "internal"
|
|
|
|
},
|
|
|
|
"children":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"attributes":
|
|
|
|
{
|
|
|
|
"referencedDeclaration": 3,
|
|
|
|
"type": "struct C.S"
|
|
|
|
},
|
2020-08-31 15:37:03 +00:00
|
|
|
"children":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"attributes":
|
|
|
|
{
|
|
|
|
"name": "S",
|
|
|
|
"referencedDeclaration": 3
|
|
|
|
},
|
|
|
|
"id": 4,
|
|
|
|
"name": "IdentifierPath",
|
|
|
|
"src": "42:1:1"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"id": 5,
|
2019-10-15 10:38:12 +00:00
|
|
|
"name": "UserDefinedTypeName",
|
|
|
|
"src": "42:1:1"
|
|
|
|
}
|
|
|
|
],
|
2020-08-31 15:37:03 +00:00
|
|
|
"id": 6,
|
2019-10-15 10:38:12 +00:00
|
|
|
"name": "VariableDeclaration",
|
|
|
|
"src": "42:3:1"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"attributes":
|
|
|
|
{
|
2019-12-09 00:26:48 +00:00
|
|
|
"functionSelector": "ffae15ba",
|
2019-10-15 10:38:12 +00:00
|
|
|
"implemented": true,
|
|
|
|
"isConstructor": false,
|
|
|
|
"kind": "function",
|
|
|
|
"modifiers":
|
|
|
|
[
|
|
|
|
null
|
|
|
|
],
|
|
|
|
"name": "e",
|
2020-08-31 15:37:03 +00:00
|
|
|
"scope": 12,
|
2019-10-15 10:38:12 +00:00
|
|
|
"stateMutability": "pure",
|
2019-11-21 14:47:10 +00:00
|
|
|
"virtual": false,
|
2019-10-15 10:38:12 +00:00
|
|
|
"visibility": "public"
|
|
|
|
},
|
|
|
|
"children":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"attributes":
|
|
|
|
{
|
|
|
|
"parameters":
|
|
|
|
[
|
|
|
|
null
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"children": [],
|
2020-08-31 15:37:03 +00:00
|
|
|
"id": 7,
|
2019-10-15 10:38:12 +00:00
|
|
|
"name": "ParameterList",
|
|
|
|
"src": "61:2:1"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"attributes":
|
|
|
|
{
|
|
|
|
"parameters":
|
|
|
|
[
|
|
|
|
null
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"children": [],
|
2020-08-31 15:37:03 +00:00
|
|
|
"id": 8,
|
2019-10-15 10:38:12 +00:00
|
|
|
"name": "ParameterList",
|
|
|
|
"src": "76:0:1"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"children":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"attributes":
|
|
|
|
{
|
2020-01-14 11:46:47 +00:00
|
|
|
"evmVersion": %EVMVERSION%,
|
2019-10-15 10:38:12 +00:00
|
|
|
"externalReferences":
|
|
|
|
[
|
|
|
|
{
|
2020-08-31 15:37:03 +00:00
|
|
|
"declaration": 6,
|
2019-10-15 10:38:12 +00:00
|
|
|
"isOffset": true,
|
|
|
|
"isSlot": false,
|
|
|
|
"src": "106:8:1",
|
|
|
|
"valueSize": 1
|
|
|
|
},
|
|
|
|
{
|
2020-08-31 15:37:03 +00:00
|
|
|
"declaration": 6,
|
2019-10-15 10:38:12 +00:00
|
|
|
"isOffset": false,
|
|
|
|
"isSlot": true,
|
|
|
|
"src": "128:6:1",
|
|
|
|
"valueSize": 1
|
|
|
|
}
|
|
|
|
],
|
2020-07-01 17:25:14 +00:00
|
|
|
"operations": "{\n let x := s.offset\n let y := mul(s.slot, 2)\n}"
|
2019-10-15 10:38:12 +00:00
|
|
|
},
|
|
|
|
"children": [],
|
2020-08-31 15:37:03 +00:00
|
|
|
"id": 9,
|
2019-10-15 10:38:12 +00:00
|
|
|
"name": "InlineAssembly",
|
|
|
|
"src": "86:54:1"
|
|
|
|
}
|
|
|
|
],
|
2020-08-31 15:37:03 +00:00
|
|
|
"id": 10,
|
2019-10-15 10:38:12 +00:00
|
|
|
"name": "Block",
|
|
|
|
"src": "76:70:1"
|
|
|
|
}
|
|
|
|
],
|
2020-08-31 15:37:03 +00:00
|
|
|
"id": 11,
|
2019-10-15 10:38:12 +00:00
|
|
|
"name": "FunctionDefinition",
|
|
|
|
"src": "51:95:1"
|
|
|
|
}
|
|
|
|
],
|
2020-08-31 15:37:03 +00:00
|
|
|
"id": 12,
|
2019-10-15 10:38:12 +00:00
|
|
|
"name": "ContractDefinition",
|
|
|
|
"src": "0:148:1"
|
|
|
|
}
|
|
|
|
],
|
2020-08-31 15:37:03 +00:00
|
|
|
"id": 13,
|
2019-10-15 10:38:12 +00:00
|
|
|
"name": "SourceUnit",
|
|
|
|
"src": "0:149:1"
|
|
|
|
}
|