Beispiel #1
0
        public Task <string> ReserveRequestAsync(byte[] name)
        {
            var reserveFunction = new ReserveFunction();

            reserveFunction.Name = name;

            return(ContractHandler.SendRequestAsync(reserveFunction));
        }
Beispiel #2
0
        public Task <TransactionReceipt> ReserveRequestAndWaitForReceiptAsync(byte[] name, CancellationTokenSource cancellationToken = null)
        {
            var reserveFunction = new ReserveFunction();

            reserveFunction.Name = name;

            return(ContractHandler.SendRequestAndWaitForReceiptAsync(reserveFunction, cancellationToken));
        }
Beispiel #3
0
 public Task <string> ReserveRequestAsync(ReserveFunction reserveFunction)
 {
     return(ContractHandler.SendRequestAsync(reserveFunction));
 }
Beispiel #4
0
 public Task <TransactionReceipt> ReserveRequestAndWaitForReceiptAsync(ReserveFunction reserveFunction, CancellationTokenSource cancellationToken = null)
 {
     return(ContractHandler.SendRequestAndWaitForReceiptAsync(reserveFunction, cancellationToken));
 }