Exemplo n.º 1
0
        public Task <TransactionReceipt> WithdrawTokenRequestAndWaitForReceiptAsync(string token, BigInteger amount, CancellationTokenSource cancellationToken = null)
        {
            var withdrawTokenFunction = new WithdrawTokenFunction();

            withdrawTokenFunction.Token  = token;
            withdrawTokenFunction.Amount = amount;

            return(ContractHandler.SendRequestAndWaitForReceiptAsync(withdrawTokenFunction, cancellationToken));
        }
Exemplo n.º 2
0
        public Task <string> WithdrawTokenRequestAsync(string token, BigInteger amount)
        {
            var withdrawTokenFunction = new WithdrawTokenFunction();

            withdrawTokenFunction.Token  = token;
            withdrawTokenFunction.Amount = amount;

            return(ContractHandler.SendRequestAsync(withdrawTokenFunction));
        }
Exemplo n.º 3
0
 public Task <TransactionReceipt> WithdrawTokenRequestAndWaitForReceiptAsync(WithdrawTokenFunction withdrawTokenFunction, CancellationTokenSource cancellationToken = null)
 {
     return(ContractHandler.SendRequestAndWaitForReceiptAsync(withdrawTokenFunction, cancellationToken));
 }
Exemplo n.º 4
0
 public Task <string> WithdrawTokenRequestAsync(WithdrawTokenFunction withdrawTokenFunction)
 {
     return(ContractHandler.SendRequestAsync(withdrawTokenFunction));
 }