Skip to content

Instantly share code, notes, and snippets.

@percybolmer
Created May 12, 2021 20:50
Show Gist options
  • Save percybolmer/d9a99ba115338e89a18524e3749f7edd to your computer and use it in GitHub Desktop.
Save percybolmer/d9a99ba115338e89a18524e3749f7edd to your computer and use it in GitHub Desktop.
/**
* @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