public static Task <string> DeployContractAsync(Nethereum.Web3.Web3 web3, ReentrancyGuardDeployment reentrancyGuardDeployment)
 {
     return(web3.Eth.GetContractDeploymentHandler <ReentrancyGuardDeployment>().SendRequestAsync(reentrancyGuardDeployment));
 }
        public static async Task <ReentrancyGuardService> DeployContractAndGetServiceAsync(Nethereum.Web3.Web3 web3, ReentrancyGuardDeployment reentrancyGuardDeployment, CancellationTokenSource cancellationTokenSource = null)
        {
            var receipt = await DeployContractAndWaitForReceiptAsync(web3, reentrancyGuardDeployment, cancellationTokenSource);

            return(new ReentrancyGuardService(web3, receipt.ContractAddress));
        }
 public static Task <TransactionReceipt> DeployContractAndWaitForReceiptAsync(Nethereum.Web3.Web3 web3, ReentrancyGuardDeployment reentrancyGuardDeployment, CancellationTokenSource cancellationTokenSource = null)
 {
     return(web3.Eth.GetContractDeploymentHandler <ReentrancyGuardDeployment>().SendRequestAndWaitForReceiptAsync(reentrancyGuardDeployment, cancellationTokenSource));
 }