Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
pragma solidity >=0.4.0 <0.6.0;

contract SimpleStorage {
    uint storedData;

    function set(uint x) public {
        storedData = x;
    }

    function get() public view returns (uint) {
        return storedData;
    }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment