Skip to content

Instantly share code, notes, and snippets.

@hadv
Created June 20, 2021 16:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hadv/484b0e70ee7a9a25e6c6684dc4f259a7 to your computer and use it in GitHub Desktop.
Save hadv/484b0e70ee7a9a25e6c6684dc4f259a7 to your computer and use it in GitHub Desktop.
pragma solidity ^0.5.8;
contract Storage {
uint public val;
constructor(uint v) public {
val = v;
}
function setValue(uint v) public {
val = v;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment