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