erc20 function

DeployedContract erc20(
  1. EthereumAddress contractAddress
)

Implementation

DeployedContract erc20(EthereumAddress contractAddress) {
  final abi = getErc20DataJson()['abi'];
  return DeployedContract(
    ContractAbi.fromJson(jsonEncode(abi), 'ERC20'),
    contractAddress,
  );
}