Files
contract/lib_sol8/v3-periphery/contracts/interfaces/IERC20Metadata.sol
2023-10-25 08:14:19 -07:00

20 lines
629 B
Solidity

// SPDX-License-Identifier: UNLICENSED
pragma solidity >=0.8.0;
//pragma solidity ^0.7.0;
import '@openzeppelin/contracts/token/ERC20/IERC20.sol';
/// @title IERC20Metadata
/// @title Interface for ERC20 Metadata
/// @notice Extension to IERC20 that includes token metadata
interface IERC20Metadata is IERC20 {
/// @return The name of the token
function name() external view returns (string memory);
/// @return The symbol of the token
function symbol() external view returns (string memory);
/// @return The number of decimal places the token has
function decimals() external view returns (uint8);
}