tokenFaucet function

DeployedContract tokenFaucet(
  1. NetworkConfig config,
  2. EthereumAddress contractAddress
)

Implementation

DeployedContract tokenFaucet(
    NetworkConfig config, EthereumAddress contractAddress) {
  final abi = getTokenFaucetDataJson()['abi'];

  return DeployedContract(
      ContractAbi.fromJson(jsonEncode(abi), "TokenFaucet"), contractAddress);
}