mirror of https://github.com/crytic/slither
Merge pull request #1848 from DarrenChangJR/dev
Bug Fix: Contract obj is_fully_implementedpull/1868/head
commit
4149f60341
@ -0,0 +1,9 @@ |
|||||||
|
pragma solidity ^0.8.0; |
||||||
|
|
||||||
|
contract Concrete { |
||||||
|
uint256 public value; |
||||||
|
|
||||||
|
function setValue(uint256 newValue) public { |
||||||
|
value = newValue; |
||||||
|
} |
||||||
|
} |
@ -0,0 +1,13 @@ |
|||||||
|
pragma solidity ^0.5.0; |
||||||
|
|
||||||
|
contract ConcreteOld { |
||||||
|
uint256 public myNumber; |
||||||
|
|
||||||
|
constructor(uint256 initialNumber) public { |
||||||
|
myNumber = initialNumber; |
||||||
|
} |
||||||
|
|
||||||
|
function setNumber(uint256 newNumber) public { |
||||||
|
myNumber = newNumber; |
||||||
|
} |
||||||
|
} |
Loading…
Reference in new issue