embark-area-51/test/contracts/simple_storage.sol

21 lines
338 B
Solidity
Raw Normal View History

2017-01-06 21:48:38 -05:00
pragma solidity ^0.4.7;
contract SimpleStorage {
uint public storedData;
2018-04-18 16:32:51 -04:00
import "ownable.sol";
import "ownable2.sol";
function SimpleStorage(uint initialValue) {
storedData = initialValue;
}
function set(uint x) {
storedData = x;
}
function get() constant returns (uint retVal) {
return storedData;
}
}