unshETH - Dependencies
IERC20Metadata.sol
This file defines an interface for metadata functions that are optional in the ERC20 standard. It extends the IERC20 interface. The interface includes functions to get the name, symbol and decimal places of the token.
IERC20Metadata
Interface for the optional metadata functions from the ERC20 standard.
name
function name() external view returns (string memory);
Returns the name of the token.
Return Values
- string: The name of the token.
symbol
function symbol() external view returns (string memory);
Returns the symbol of the token.
Return Values
- string: The symbol of the token.
decimals
function decimals() external view returns (uint8);
Returns the decimal places of the token.
Return Values
- uint8: The decimal places of the token.