Multicall constructor

Multicall(
  1. String multicallAddress,
  2. 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);