示例#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));
        }
示例#2
0
        public Task <string> WithdrawTokenRequestAsync(string token, BigInteger amount)
        {
            var withdrawTokenFunction = new WithdrawTokenFunction();

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

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