Example #1
0
        public Task <TransactionReceipt> OwnerSetStatusRequestAndWaitForReceiptAsync(BigInteger id, byte status, CancellationTokenSource cancellationToken = null)
        {
            var ownerSetStatusFunction = new OwnerSetStatusFunction();

            ownerSetStatusFunction.Id     = id;
            ownerSetStatusFunction.Status = status;

            return(ContractHandler.SendRequestAndWaitForReceiptAsync(ownerSetStatusFunction, cancellationToken));
        }
Example #2
0
        public Task <string> OwnerSetStatusRequestAsync(BigInteger id, byte status)
        {
            var ownerSetStatusFunction = new OwnerSetStatusFunction();

            ownerSetStatusFunction.Id     = id;
            ownerSetStatusFunction.Status = status;

            return(ContractHandler.SendRequestAsync(ownerSetStatusFunction));
        }
Example #3
0
 public Task <TransactionReceipt> OwnerSetStatusRequestAndWaitForReceiptAsync(OwnerSetStatusFunction ownerSetStatusFunction, CancellationTokenSource cancellationToken = null)
 {
     return(ContractHandler.SendRequestAndWaitForReceiptAsync(ownerSetStatusFunction, cancellationToken));
 }
Example #4
0
 public Task <string> OwnerSetStatusRequestAsync(OwnerSetStatusFunction ownerSetStatusFunction)
 {
     return(ContractHandler.SendRequestAsync(ownerSetStatusFunction));
 }