Created
December 27, 2020 21:07
-
-
Save reime005/4bcadbbd7cce2d7605dbc1be3f15cb35 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
/// @notice Retrieves the name for the sender's address | |
/// @dev Note that addressNames is public, so there is already a getter | |
/// @return name string at sender's address | |
function getAddressName() | |
external view | |
returns(string) { | |
return addressNames[msg.sender]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment