Skip to content

Latest commit

 

History

History
240 lines (211 loc) · 7.04 KB

IERC20Metadata.md

File metadata and controls

240 lines (211 loc) · 7.04 KB

IERC20Metadata.sol

View Source: openzeppelin-solidity/contracts/token/ERC20/extensions/IERC20Metadata.sol

↗ Extends: IERC20 ↘ Derived Contracts: ERC20

IERC20Metadata

Interface for the optional metadata functions from the ERC20 standard. Available since v4.1.

Functions

name

Returns the name of the token.

function name() external view
returns(string)

Arguments

Name Type Description
Source Code
function name() external view returns (string memory);

symbol

Returns the symbol of the token.

function symbol() external view
returns(string)

Arguments

Name Type Description
Source Code
function symbol() external view returns (string memory);

decimals

Returns the decimals places of the token.

function decimals() external view
returns(uint8)

Arguments

Name Type Description
Source Code
function decimals() external view returns (uint8);

Contracts