Skip to Content
Technical ReferencePeripheryInterfacesIERC20Metadata

IERC20Metadata

Source: https://docs.uniswap.org/contracts/v3/reference/periphery/interfaces/IERC20Metadata 

Extension to IERC20 that includes token metadata

Functions

name

function name( ) external returns (string)

Return Values:

TypeDescription
stringname of the token

symbol

function symbol( ) external returns (string)

Return Values:

TypeDescription
stringsymbol of the token

decimals

function decimals( ) external returns (uint8)

Return Values:

TypeDescription
uint8number of decimal places the token has