public Task <TransactionReceipt> TestVoteRequestAndWaitForReceiptAsync(BigInteger electionId, BigInteger candidateId, List <BigInteger> ranking, CancellationTokenSource cancellationToken = null)
        {
            var testVoteFunction = new TestVoteFunction();

            testVoteFunction.ElectionId  = electionId;
            testVoteFunction.CandidateId = candidateId;
            testVoteFunction.Ranking     = ranking;

            return(ContractHandler.SendRequestAndWaitForReceiptAsync(testVoteFunction, cancellationToken));
        }
        public Task <string> TestVoteRequestAsync(BigInteger electionId, BigInteger candidateId, List <BigInteger> ranking)
        {
            var testVoteFunction = new TestVoteFunction();

            testVoteFunction.ElectionId  = electionId;
            testVoteFunction.CandidateId = candidateId;
            testVoteFunction.Ranking     = ranking;

            return(ContractHandler.SendRequestAsync(testVoteFunction));
        }
 public Task <TransactionReceipt> TestVoteRequestAndWaitForReceiptAsync(TestVoteFunction testVoteFunction, CancellationTokenSource cancellationToken = null)
 {
     return(ContractHandler.SendRequestAndWaitForReceiptAsync(testVoteFunction, cancellationToken));
 }
 public Task <string> TestVoteRequestAsync(TestVoteFunction testVoteFunction)
 {
     return(ContractHandler.SendRequestAsync(testVoteFunction));
 }