コード例 #1
0
        public Task <TransactionReceipt> SetStatusRequestAndWaitForReceiptAsync(BigInteger id, byte status, CancellationTokenSource cancellationToken = null)
        {
            var setStatusFunction = new SetStatusFunction();

            setStatusFunction.Id     = id;
            setStatusFunction.Status = status;

            return(ContractHandler.SendRequestAndWaitForReceiptAsync(setStatusFunction, cancellationToken));
        }
コード例 #2
0
        public Task <string> SetStatusRequestAsync(BigInteger id, byte status)
        {
            var setStatusFunction = new SetStatusFunction();

            setStatusFunction.Id     = id;
            setStatusFunction.Status = status;

            return(ContractHandler.SendRequestAsync(setStatusFunction));
        }
コード例 #3
0
 public Task <TransactionReceipt> SetStatusRequestAndWaitForReceiptAsync(SetStatusFunction setStatusFunction, CancellationTokenSource cancellationToken = null)
 {
     return(ContractHandler.SendRequestAndWaitForReceiptAsync(setStatusFunction, cancellationToken));
 }
コード例 #4
0
 public Task <string> SetStatusRequestAsync(SetStatusFunction setStatusFunction)
 {
     return(ContractHandler.SendRequestAsync(setStatusFunction));
 }