Code has been added to clipboard!

Solidity Smart Contracts

Example
pragma solidity ^0.4.7;

contract SimpleSample {
    uint stateVar;

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

    function get() public view returns (uint) {
        return stateVar;
    }
}