Beispiel #1
0
        public Task <TransactionReceipt> ChangeDestinationRequestAndWaitForReceiptAsync(string newDestination, CancellationTokenSource cancellationToken = null)
        {
            var changeDestinationFunction = new ChangeDestinationFunction();

            changeDestinationFunction.NewDestination = newDestination;

            return(ContractHandler.SendRequestAndWaitForReceiptAsync(changeDestinationFunction, cancellationToken));
        }
Beispiel #2
0
        public Task <string> ChangeDestinationRequestAsync(string newDestination)
        {
            var changeDestinationFunction = new ChangeDestinationFunction();

            changeDestinationFunction.NewDestination = newDestination;

            return(ContractHandler.SendRequestAsync(changeDestinationFunction));
        }
Beispiel #3
0
 public Task <TransactionReceipt> ChangeDestinationRequestAndWaitForReceiptAsync(ChangeDestinationFunction changeDestinationFunction, CancellationTokenSource cancellationToken = null)
 {
     return(ContractHandler.SendRequestAndWaitForReceiptAsync(changeDestinationFunction, cancellationToken));
 }
Beispiel #4
0
 public Task <string> ChangeDestinationRequestAsync(ChangeDestinationFunction changeDestinationFunction)
 {
     return(ContractHandler.SendRequestAsync(changeDestinationFunction));
 }