public Task <TransactionReceipt> ProposeRequestAndWaitForReceiptAsync(List <string> targets, List <BigInteger> values, List <byte[]> calldatas, string description, CancellationTokenSource cancellationToken = null) { var proposeFunction = new ProposeFunction(); proposeFunction.Targets = targets; proposeFunction.Values = values; proposeFunction.Calldatas = calldatas; proposeFunction.Description = description; return(ContractHandler.SendRequestAndWaitForReceiptAsync(proposeFunction, cancellationToken)); }
public Task <string> ProposeRequestAsync(List <string> targets, List <BigInteger> values, List <byte[]> calldatas, string description) { var proposeFunction = new ProposeFunction(); proposeFunction.Targets = targets; proposeFunction.Values = values; proposeFunction.Calldatas = calldatas; proposeFunction.Description = description; return(ContractHandler.SendRequestAsync(proposeFunction)); }
public Task <TransactionReceipt> ProposeRequestAndWaitForReceiptAsync(ProposeFunction proposeFunction, CancellationTokenSource cancellationToken = null) { return(ContractHandler.SendRequestAndWaitForReceiptAsync(proposeFunction, cancellationToken)); }
public Task <string> ProposeRequestAsync(ProposeFunction proposeFunction) { return(ContractHandler.SendRequestAsync(proposeFunction)); }