embark/demo/contracts/simple_storage.sol

10 lines
172 B
Solidity
Raw Normal View History

2015-05-24 13:07:19 +00:00
contract SimpleStorage {
uint storedData;
function set(uint x) {
storedData = x;
}
function get() constant returns (uint retVal) {
return storedData;
}
}