infrastructure-upgrade/lib/v3-periphery/contracts/interfaces/IERC20Metadata.sol

19 lines
602 B
Solidity
Raw Permalink Normal View History

2023-04-08 18:46:18 +00:00
// SPDX-License-Identifier: UNLICENSED
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);
}