Multicall.fromChain constructor

Multicall.fromChain(
  1. Chains chain,
  2. dynamic providerOrSigner
)

Implementation

factory Multicall.fromChain(Chains chain, providerOrSigner) {
  assert(chain.multicallAddress != null,
      'Multicall not supported on this chain');
  return Multicall(chain.multicallAddress!, providerOrSigner);
}