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

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