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

20 lines
313 B
Solidity
Raw Normal View History

2018-04-19 19:13:41 +00:00
pragma solidity ^0.4.7;
import "./ownable.sol";
2018-04-19 19:13:41 +00:00
contract SimpleStorage {
uint public storedData;
function SimpleStorage(uint initialValue) {
storedData = initialValue;
}
function set(uint x) {
storedData = x;
}
function get() constant returns (uint retVal) {
return storedData;
}
}