IERC20Metadata.sol 576 B

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