Created
November 23, 2017 12:00
-
-
Save lukehedger/eaf164a82a3de671c4e739545ae643ed to your computer and use it in GitHub Desktop.
Solidity contract that echoes a number
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.18; | |
contract Echo { | |
event Echoed(uint echoValue); | |
function echo(uint _value) public returns (uint) { | |
Echoed(_value); | |
return _value; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment