Multicall constructor
Multicall(
- String multicallAddress,
- dynamic providerOrSigner
Implementation
Multicall(String multicallAddress, dynamic providerOrSigner)
: assert(providerOrSigner != null, 'providerOrSigner should not be null'),
assert(multicallAddress.isNotEmpty, 'address should not be empty'),
assert(EthUtils.isAddress(multicallAddress),
'address should be in address format'),
contract = Contract(multicallAddress, abi, providerOrSigner);