IERC20Metadata.sol 606 B

123456789101112131415161718192021222324252627
  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. * _Available since v4.1._
  8. */
  9. interface IERC20Metadata is IERC20 {
  10. /**
  11. * @dev Returns the name of the token.
  12. */
  13. function name() external view returns (string memory);
  14. /**
  15. * @dev Returns the symbol of the token.
  16. */
  17. function symbol() external view returns (string memory);
  18. /**
  19. * @dev Returns the decimals places of the token.
  20. */
  21. function decimals() external view returns (uint8);
  22. }