IERC20Metadata.sol 688 B

12345678910111213141516171819202122232425262728
  1. // SPDX-License-Identifier: MIT
  2. // OpenZeppelin Contracts v4.4.0-rc.1 (token/ERC20/extensions/IERC20Metadata.sol)
  3. pragma solidity ^0.8.0;
  4. import "../IERC20.sol";
  5. /**
  6. * @dev Interface for the optional metadata functions from the ERC20 standard.
  7. *
  8. * _Available since v4.1._
  9. */
  10. interface IERC20Metadata is IERC20 {
  11. /**
  12. * @dev Returns the name of the token.
  13. */
  14. function name() external view returns (string memory);
  15. /**
  16. * @dev Returns the symbol of the token.
  17. */
  18. function symbol() external view returns (string memory);
  19. /**
  20. * @dev Returns the decimals places of the token.
  21. */
  22. function decimals() external view returns (uint8);
  23. }