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