Skip to content

Instantly share code, notes, and snippets.

@TehilaFavourite
Last active May 5, 2023 08:02
Show Gist options
  • Save TehilaFavourite/b063f9419191fdc9397bdba80f51620c to your computer and use it in GitHub Desktop.
Save TehilaFavourite/b063f9419191fdc9397bdba80f51620c to your computer and use it in GitHub Desktop.
pragma solidity ^0.8.0;
contract MyContract {
uint public myNumber;
function setNumber(uint _number) public {
myNumber = _number;
}
}
pragma solidity ^0.8.0;
contract Function {
function add (uint _a, uint _b) external pure returns(uint) {
return _a + _b;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment