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

            changeDestinationFunction.NewDestination = newDestination;

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

            changeDestinationFunction.NewDestination = newDestination;

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