public static Task <string> DeployContractAsync(Nethereum.Web3.Web3 web3, Standard_TokenDeployment standard_TokenDeployment) { return(web3.Eth.GetContractDeploymentHandler <Standard_TokenDeployment>().SendRequestAsync(standard_TokenDeployment)); }
public static async Task <Standard_TokenService> DeployContractAndGetServiceAsync(Nethereum.Web3.Web3 web3, Standard_TokenDeployment standard_TokenDeployment, CancellationTokenSource cancellationTokenSource = null) { var receipt = await DeployContractAndWaitForReceiptAsync(web3, standard_TokenDeployment, cancellationTokenSource); return(new Standard_TokenService(web3, receipt.ContractAddress)); }
public static Task <TransactionReceipt> DeployContractAndWaitForReceiptAsync(Nethereum.Web3.Web3 web3, Standard_TokenDeployment standard_TokenDeployment, CancellationTokenSource cancellationTokenSource = null) { return(web3.Eth.GetContractDeploymentHandler <Standard_TokenDeployment>().SendRequestAndWaitForReceiptAsync(standard_TokenDeployment, cancellationTokenSource)); }