Created
November 17, 2016 06:30
-
-
Save thebalaa/aec19b2072c2405a07d590bfeb38c0ca to your computer and use it in GitHub Desktop.
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.4; | |
contract suVerify { | |
mapping(uint256 => address) credentials; | |
function addCredential(uint256 hash, address owner){ | |
credentials[hash] = owner; | |
} | |
function getOwner(uint256 hash) returns (address owner){ | |
return credentials[hash]; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment