Created
May 12, 2021 20:50
-
-
Save percybolmer/d9a99ba115338e89a18524e3749f7edd 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
/** | |
* @notice decimals will return the number of decimal precision the Token is deployed with | |
*/ | |
function decimals() external view returns (uint8) { | |
return _decimals; | |
} | |
/** | |
* @notice symbol will return the Token's symbol | |
*/ | |
function symbol() external view returns (string memory){ | |
return _symbol; | |
} | |
/** | |
* @notice name will return the Token's symbol | |
*/ | |
function name() external view returns (string memory){ | |
return _name; | |
} | |
/** | |
* @notice totalSupply will return the tokens total supply of tokens | |
*/ | |
function totalSupply() external view returns (uint256){ | |
return _totalSupply; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment