mirror of https://github.com/crytic/slither
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
83 lines
1.1 KiB
83 lines
1.1 KiB
6 years ago
|
JSON AST:
|
||
|
|
||
|
|
||
|
======= solc_version_incorrect_05.sol =======
|
||
|
{
|
||
|
"attributes" :
|
||
|
{
|
||
|
"absolutePath" : "solc_version_incorrect_05.sol",
|
||
|
"exportedSymbols" :
|
||
|
{
|
||
|
"Contract" :
|
||
|
[
|
||
|
3
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"children" :
|
||
|
[
|
||
|
{
|
||
|
"attributes" :
|
||
|
{
|
||
|
"literals" :
|
||
|
[
|
||
|
"solidity",
|
||
|
"^",
|
||
|
"0.5",
|
||
|
".5"
|
||
|
]
|
||
|
},
|
||
|
"id" : 1,
|
||
|
"name" : "PragmaDirective",
|
||
|
"src" : "63:23:0"
|
||
|
},
|
||
|
{
|
||
|
"attributes" :
|
||
|
{
|
||
|
"literals" :
|
||
|
[
|
||
|
"solidity",
|
||
|
"0.5",
|
||
|
".7"
|
||
|
]
|
||
|
},
|
||
|
"id" : 2,
|
||
|
"name" : "PragmaDirective",
|
||
|
"src" : "87:22:0"
|
||
|
},
|
||
|
{
|
||
|
"attributes" :
|
||
|
{
|
||
|
"baseContracts" :
|
||
|
[
|
||
|
null
|
||
|
],
|
||
|
"contractDependencies" :
|
||
|
[
|
||
|
null
|
||
|
],
|
||
|
"contractKind" : "contract",
|
||
|
"documentation" : null,
|
||
|
"fullyImplemented" : true,
|
||
|
"linearizedBaseContracts" :
|
||
|
[
|
||
|
3
|
||
|
],
|
||
|
"name" : "Contract",
|
||
|
"nodes" :
|
||
|
[
|
||
|
null
|
||
|
],
|
||
|
"scope" : 4
|
||
|
},
|
||
|
"id" : 3,
|
||
|
"name" : "ContractDefinition",
|
||
|
"src" : "111:21:0"
|
||
|
}
|
||
|
],
|
||
|
"id" : 4,
|
||
|
"name" : "SourceUnit",
|
||
|
"src" : "63:70:0"
|
||
|
}
|
||
|
======= solc_version_incorrect_05.sol:Contract =======
|