Skip to main content

Module IERC20Metadata

Module IERC20Metadata 

Source
Expand description

Module containing a contract’s types and functions.

interface IERC20Metadata {
    function name() external view returns (string);
    function symbol() external view returns (string);
    function decimals() external view returns (uint8);
    function balanceOf(address owner) external view returns (uint256 amount);
}

Structs§

IERC20MetadataInstance
A IERC20Metadata instance.
balanceOfCall
Function with signature balanceOf(address) and selector 0x70a08231.
balanceOfReturn
Container type for the return parameters of the balanceOf(address) function.
decimalsCall
Function with signature decimals() and selector 0x313ce567.
decimalsReturn
Container type for the return parameters of the decimals() function.
nameCall
Function with signature name() and selector 0x06fdde03.
nameReturn
Container type for the return parameters of the name() function.
symbolCall
Function with signature symbol() and selector 0x95d89b41.
symbolReturn
Container type for the return parameters of the symbol() function.

Enums§

IERC20MetadataCalls
Container for all the IERC20Metadata function calls.

Functions§

new
Creates a new wrapper around an on-chain IERC20Metadata contract instance.