remix-project mirror
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.
 
 
 
 
 
remix-project/remix-tests/tests/examples_5/contract/simple_storage.sol

22 lines
379 B

pragma solidity ^0.5.0;
import "../../examples_4/SafeMath.sol";
import "../lib/EvenOdd.sol";
contract SimpleStorage is EvenOdd{
using SafeMath for uint256;
uint public storedData;
constructor() public {
storedData = 100;
}
function set(uint x) public {
storedData = x;
}
function get() public view returns (uint retVal) {
return storedData;
}
}