Skip to content

Instantly share code, notes, and snippets.

@mseemann
Created January 6, 2022 15:45
Show Gist options
  • Save mseemann/a08e95dae9e8fbbfa8721b03958d6b72 to your computer and use it in GitHub Desktop.
Save mseemann/a08e95dae9e8fbbfa8721b03958d6b72 to your computer and use it in GitHub Desktop.
SampleContract
// SPDX-License-Identifier: MIT
pragma solidity >=0.4.22 <0.9.0;
contract SampleContract {
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