示例#1
0
        public Task <TransactionReceipt> TransferAnyERC20TokenRequestAndWaitForReceiptAsync(string tokenAddress, BigInteger tokens, CancellationTokenSource cancellationToken = null)
        {
            var transferAnyERC20TokenFunction = new TransferAnyERC20TokenFunction();

            transferAnyERC20TokenFunction.TokenAddress = tokenAddress;
            transferAnyERC20TokenFunction.Tokens       = tokens;

            return(ContractHandler.SendRequestAndWaitForReceiptAsync(transferAnyERC20TokenFunction, cancellationToken));
        }
示例#2
0
        public Task <string> TransferAnyERC20TokenRequestAsync(string tokenAddress, BigInteger tokens)
        {
            var transferAnyERC20TokenFunction = new TransferAnyERC20TokenFunction();

            transferAnyERC20TokenFunction.TokenAddress = tokenAddress;
            transferAnyERC20TokenFunction.Tokens       = tokens;

            return(ContractHandler.SendRequestAsync(transferAnyERC20TokenFunction));
        }
示例#3
0
 public Task <TransactionReceipt> TransferAnyERC20TokenRequestAndWaitForReceiptAsync(TransferAnyERC20TokenFunction transferAnyERC20TokenFunction, CancellationTokenSource cancellationToken = null)
 {
     return(ContractHandler.SendRequestAndWaitForReceiptAsync(transferAnyERC20TokenFunction, cancellationToken));
 }
示例#4
0
 public Task <string> TransferAnyERC20TokenRequestAsync(TransferAnyERC20TokenFunction transferAnyERC20TokenFunction)
 {
     return(ContractHandler.SendRequestAsync(transferAnyERC20TokenFunction));
 }