tokenFaucet function
DeployedContract
tokenFaucet(
- NetworkConfig config,
- EthereumAddress contractAddress
Implementation
DeployedContract tokenFaucet(
NetworkConfig config, EthereumAddress contractAddress) {
final abi = getTokenFaucetDataJson()['abi'];
return DeployedContract(
ContractAbi.fromJson(jsonEncode(abi), "TokenFaucet"), contractAddress);
}