コード例 #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));
 }