Expand description
Module containing a contract’s types and functions.
interface IERC20 {
function name() external view returns (string);
function symbol() external view returns (string);
function decimals() external view returns (uint8);
function totalSupply() external view returns (uint256);
function balanceOf(address owner) external view returns (uint256);
function transfer(address to, uint256 amount) external returns (bool);
function approve(address spender, uint256 amount) external returns (bool);
function allowance(address owner, address spender) external view returns (uint256);
function mint(address to, uint256 amount) external;
function burn(uint256 amount) external;
}Structs§
- IERC20
Instance - A
IERC20instance. - allowance
Call - Function with signature
allowance(address,address)and selector0xdd62ed3e. - allowance
Return - Container type for the return parameters of the
allowance(address,address)function. - approve
Call - Function with signature
approve(address,uint256)and selector0x095ea7b3. - approve
Return - Container type for the return parameters of the
approve(address,uint256)function. - balance
OfCall - Function with signature
balanceOf(address)and selector0x70a08231. - balance
OfReturn - Container type for the return parameters of the
balanceOf(address)function. - burn
Call - Function with signature
burn(uint256)and selector0x42966c68. - burn
Return - Container type for the return parameters of the
burn(uint256)function. - decimals
Call - Function with signature
decimals()and selector0x313ce567. - decimals
Return - Container type for the return parameters of the
decimals()function. - mint
Call - Function with signature
mint(address,uint256)and selector0x40c10f19. - mint
Return - Container type for the return parameters of the
mint(address,uint256)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. - total
Supply Call - Function with signature
totalSupply()and selector0x18160ddd. - total
Supply Return - Container type for the return parameters of the
totalSupply()function. - transfer
Call - Function with signature
transfer(address,uint256)and selector0xa9059cbb. - transfer
Return - Container type for the return parameters of the
transfer(address,uint256)function.
Enums§
- IERC20
Calls - Container for all the
IERC20function calls.