embark/test/contracts/contract_with_import.sol
Jonathan Rainville df5b647ecb fix and add tests
2018-04-19 15:25:27 -04:00

20 lines
315 B
Solidity

pragma solidity ^0.4.7;
contract SimpleStorage {
uint public storedData;
import "./ownable.sol";
function SimpleStorage(uint initialValue) {
storedData = initialValue;
}
function set(uint x) {
storedData = x;
}
function get() constant returns (uint retVal) {
return storedData;
}
}