mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-18 01:33:05 +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;
|
|
}
|
|
}
|