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

15 lines
262 B
Solidity
Raw Normal View History

2015-07-10 02:51:51 +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;
}
}