Skip to content

Instantly share code, notes, and snippets.

@vasa-develop
Created November 29, 2019 18:21
Show Gist options
  • Select an option

  • Save vasa-develop/111dc8cf528e71fa102e8f87d3d0842a to your computer and use it in GitHub Desktop.

Select an option

Save vasa-develop/111dc8cf528e71fa102e8f87d3d0842a to your computer and use it in GitHub Desktop.
pragma solidity ^0.5.11;
contract MyContract {
event Log(address addr);
constructor() public {
emit Log(address(this));
}
function add(uint256 a, uint256 b) public pure returns (uint256) {
return a + b;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment