IERC20Metadata.sol 668 B

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