Expand description
Module containing a contract’s types and functions.
contract ERC20 {
function name() external view returns (string);
function symbol() external view returns (string);
function decimals() external view returns (uint8);
function balanceOf(address account) external view returns (uint256);
function allowance(address owner, address spender) external view returns (uint256);
function approve(address spender, uint256 amount) external returns (bool);
}Structs§
- ERC20
Instance - A
ERC20instance. - 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. - 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§
- ERC20
Calls - Container for all the
ERC20function calls.