mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
28 lines
731 B
Solidity
28 lines
731 B
Solidity
// SPDX-License-Identifier: MIT
|
|
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)
|
|
|
|
pragma solidity ^0.7.0;
|
|
|
|
import { IERC20 } from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
|
|
|
|
/**
|
|
* @dev Interface for the optional metadata functions from the ERC20 standard.
|
|
*
|
|
* _Available since v4.1._
|
|
*/
|
|
interface IERC20Metadata is IERC20 {
|
|
/**
|
|
* @dev Returns the name of the token.
|
|
*/
|
|
function name() external view returns (string memory);
|
|
|
|
/**
|
|
* @dev Returns the symbol of the token.
|
|
*/
|
|
function symbol() external view returns (string memory);
|
|
|
|
/**
|
|
* @dev Returns the decimals places of the token.
|
|
*/
|
|
function decimals() external view returns (uint8);
|
|
} |