Skip to content

Commit

Permalink
ERC20Detailed's name(), symbol(), decimals() made external
Browse files Browse the repository at this point in the history
  • Loading branch information
utgarda committed Jan 31, 2019
1 parent 50bb518 commit c416a01
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions contracts/token/ERC20/ERC20Detailed.sol
Original file line number Diff line number Diff line change
Expand Up @@ -32,21 +32,21 @@ contract ERC20Detailed is ERC165, IERC20 {
/**
* @return the name of the token.
*/
function name() public view returns (string memory) {
function name() external view returns (string memory) {
return _name;
}

/**
* @return the symbol of the token.
*/
function symbol() public view returns (string memory) {
function symbol() external view returns (string memory) {
return _symbol;
}

/**
* @return the number of decimals of the token.
*/
function decimals() public view returns (uint8) {
function decimals() external view returns (uint8) {
return _decimals;
}
}

0 comments on commit c416a01

Please sign in to comment.