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