public Task <TransactionReceipt> CastVoteWithReasonRequestAndWaitForReceiptAsync(BigInteger proposalId, byte support, string reason, CancellationTokenSource cancellationToken = null) { var castVoteWithReasonFunction = new CastVoteWithReasonFunction(); castVoteWithReasonFunction.ProposalId = proposalId; castVoteWithReasonFunction.Support = support; castVoteWithReasonFunction.Reason = reason; return(ContractHandler.SendRequestAndWaitForReceiptAsync(castVoteWithReasonFunction, cancellationToken)); }
public Task <string> CastVoteWithReasonRequestAsync(BigInteger proposalId, byte support, string reason) { var castVoteWithReasonFunction = new CastVoteWithReasonFunction(); castVoteWithReasonFunction.ProposalId = proposalId; castVoteWithReasonFunction.Support = support; castVoteWithReasonFunction.Reason = reason; return(ContractHandler.SendRequestAsync(castVoteWithReasonFunction)); }
public Task <TransactionReceipt> CastVoteWithReasonRequestAndWaitForReceiptAsync(CastVoteWithReasonFunction castVoteWithReasonFunction, CancellationTokenSource cancellationToken = null) { return(ContractHandler.SendRequestAndWaitForReceiptAsync(castVoteWithReasonFunction, cancellationToken)); }
public Task <string> CastVoteWithReasonRequestAsync(CastVoteWithReasonFunction castVoteWithReasonFunction) { return(ContractHandler.SendRequestAsync(castVoteWithReasonFunction)); }