12 lines
223 B
Solidity
12 lines
223 B
Solidity
pragma solidity ^0.4.21;
|
|
|
|
contract SimpleStorage {
|
|
uint public storedData;
|
|
function set(uint x) {
|
|
storedData = x;
|
|
}
|
|
function get() constant returns (uint retVal) {
|
|
return storedData;
|
|
}
|
|
}
|