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

10 lines
172 B
Solidity

contract SimpleStorage {
uint storedData;
function set(uint x) {
storedData = x;
}
function get() constant returns (uint retVal) {
return storedData;
}
}