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§
- IERC20
Metadata Instance - A
IERC20Metadatainstance. - balance
OfCall - Function with signature
balanceOf(address)and selector0x70a08231. - balance
OfReturn - Container type for the return parameters of the
balanceOf(address)function. - decimals
Call - Function with signature
decimals()and selector0x313ce567. - decimals
Return - Container type for the return parameters of the
decimals()function. - name
Call - Function with signature
name()and selector0x06fdde03. - name
Return - Container type for the return parameters of the
name()function. - symbol
Call - Function with signature
symbol()and selector0x95d89b41. - symbol
Return - Container type for the return parameters of the
symbol()function.
Enums§
- IERC20
Metadata Calls - Container for all the
IERC20Metadatafunction calls.
Functions§
- new
- Creates a new wrapper around an on-chain
IERC20Metadatacontract instance.