Created
November 4, 2018 23:02
-
-
Save linux08/5e6576262f52ba4dc05e90b995b59cc6 to your computer and use it in GitHub Desktop.
This file contains 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.0; | |
contract SaveAddress { | |
string ipfsHash; | |
function saveHash(string x) public { | |
ipfsHash = x; | |
} | |
function getHash( string y) public view returns ( string x) { | |
return ipfsHash; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment