Skip to content

Instantly share code, notes, and snippets.

@thebalaa
Created November 17, 2016 06:30
Show Gist options
  • Save thebalaa/aec19b2072c2405a07d590bfeb38c0ca to your computer and use it in GitHub Desktop.
Save thebalaa/aec19b2072c2405a07d590bfeb38c0ca to your computer and use it in GitHub Desktop.
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