mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-14 17:24:58 +00:00
16 lines
245 B
Solidity
16 lines
245 B
Solidity
contract SimpleStorage {
|
|
uint public foo;
|
|
|
|
function SimpleStorage(uint y) {
|
|
foo = y;
|
|
}
|
|
|
|
uint storedData;
|
|
function set(uint x) {
|
|
storedData = x;
|
|
}
|
|
function get() constant returns (uint retVal) {
|
|
return storedData;
|
|
}
|
|
}
|