Created
February 28, 2017 10:17
-
-
Save izqui/082e77c33b21ce691ce7f378b989d43c to your computer and use it in GitHub Desktop.
KeybaseRegistryInterface.sol
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
contract KeybaseRegistryInterface { | |
// Lookup | |
function getAddress(string username) returns (address); // Lookup for an address given a username. | |
function getUsername(address ethAddress) returns (string username); // Reverse lookup of username for a given address | |
function myUsername() returns (string username); // Reverse lookup for sender | |
// Registering | |
function register(string username, address ethAddress) payable; // Starts registration for the provided address and username. | |
function registerSender(string username) payable; // Starts registration for tx sender for the provided username. | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment