mirror of https://github.com/embarklabs/embark.git
15 lines
263 B
Solidity
15 lines
263 B
Solidity
|
contract SimpleStorage {
|
||
|
uint public storedData;
|
||
|
|
||
|
function SimpleStorage(uint initialValue) {
|
||
|
storedData2 = initialValue;
|
||
|
}
|
||
|
|
||
|
function set(uint x) {
|
||
|
storedData = x;
|
||
|
}
|
||
|
function get() constant returns (uint retVal) {
|
||
|
return storedData;
|
||
|
}
|
||
|
}
|