Static Analyzer for Solidity
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.
slither/tests/expected_json/pragma.0.4.24.pragma.json

70 lines
2.4 KiB

{
"success": true,
"error": null,
"results": {
"detectors": [
{
"elements": [
{
"type": "pragma",
"name": "^0.4.23",
"source_mapping": {
"start": 0,
"length": 24,
"filename_used": "/home/travis/build/crytic/slither/tests/pragma.0.4.23.sol",
"filename_relative": "tests/pragma.0.4.23.sol",
"filename_absolute": "/home/travis/build/crytic/slither/tests/pragma.0.4.23.sol",
"filename_short": "tests/pragma.0.4.23.sol",
"is_dependency": false,
"lines": [
1
],
"starting_column": 1,
"ending_column": 25
},
"type_specific_fields": {
"directive": [
"solidity",
"^",
"0.4",
".23"
]
}
},
{
"type": "pragma",
"name": "^0.4.24",
"source_mapping": {
"start": 0,
"length": 24,
"filename_used": "/home/travis/build/crytic/slither/tests/pragma.0.4.24.sol",
"filename_relative": "tests/pragma.0.4.24.sol",
"filename_absolute": "/home/travis/build/crytic/slither/tests/pragma.0.4.24.sol",
"filename_short": "tests/pragma.0.4.24.sol",
"is_dependency": false,
"lines": [
1
],
"starting_column": 1,
"ending_column": 25
},
"type_specific_fields": {
"directive": [
"solidity",
"^",
"0.4",
".24"
]
}
}
],
"description": "Different versions of Solidity is used in :\n\t- Version used: ['^0.4.23', '^0.4.24']\n\t- ^0.4.23 (tests/pragma.0.4.23.sol#1)\n\t- ^0.4.24 (tests/pragma.0.4.24.sol#1)\n",
"markdown": "Different versions of Solidity is used in :\n\t- Version used: ['^0.4.23', '^0.4.24']\n\t- [^0.4.23](tests/pragma.0.4.23.sol#L1)\n\t- [^0.4.24](tests/pragma.0.4.24.sol#L1)\n",
"id": "05e3d32f70e37f2745b5defe65910aaf477ed4eef1e8d3d6a22dcb14c0634cb4",
"check": "pragma",
"impact": "Informational",
"confidence": "High"
}
]
}
}