示例#1
0
        public Task <TransactionReceipt> SafeTransferFromRequestAndWaitForReceiptAsync(string From, string To, BigInteger TokenId, CancellationTokenSource CancellationToken = null)
        {
            var SafeTransferFromFunction = new SafeTransferFromFunction {
                From = From, To = To, TokenId = TokenId
            };

            return(ContractHandler.SendRequestAndWaitForReceiptAsync(SafeTransferFromFunction, CancellationToken));
        }
示例#2
0
        public Task <string> SafeTransferFromRequestAsync(string From, string To, BigInteger TokenId)
        {
            var SafeTransferFromFunction = new SafeTransferFromFunction {
                From = From, To = To, TokenId = TokenId
            };

            return(ContractHandler.SendRequestAsync(SafeTransferFromFunction));
        }
 public Task<TransactionReceipt> SafeTransferFromRequestAndWaitForReceiptAsync(string from, string to, BigInteger tokenId, CancellationTokenSource cancellationToken = null)
 {
     var safeTransferFromFunction = new SafeTransferFromFunction();
         safeTransferFromFunction.From = from;
         safeTransferFromFunction.To = to;
         safeTransferFromFunction.TokenId = tokenId;
     
      return ContractHandler.SendRequestAndWaitForReceiptAsync(safeTransferFromFunction, cancellationToken);
 }
 public Task<string> SafeTransferFromRequestAsync(string from, string to, BigInteger tokenId)
 {
     var safeTransferFromFunction = new SafeTransferFromFunction();
         safeTransferFromFunction.From = from;
         safeTransferFromFunction.To = to;
         safeTransferFromFunction.TokenId = tokenId;
     
      return ContractHandler.SendRequestAsync(safeTransferFromFunction);
 }
示例#5
0
        public Task <string> SafeTransferFromRequestAsync(string From, string To, BigInteger TokenId, byte[] Data)
        {
            var SafeTransferFromFunction = new SafeTransferFromFunction();

            SafeTransferFromFunction.From    = From;
            SafeTransferFromFunction.To      = To;
            SafeTransferFromFunction.TokenId = TokenId;
            SafeTransferFromFunction.Data    = Data;

            return(ContractHandler.SendRequestAsync(SafeTransferFromFunction));
        }
        public Task <TransactionReceipt> SafeTransferFromRequestAndWaitForReceiptAsync(string from, string to, BigInteger id, BigInteger amount, byte[] data, CancellationTokenSource cancellationToken = null)
        {
            var safeTransferFromFunction = new SafeTransferFromFunction();

            safeTransferFromFunction.From   = from;
            safeTransferFromFunction.To     = to;
            safeTransferFromFunction.Id     = id;
            safeTransferFromFunction.Amount = amount;
            safeTransferFromFunction.Data   = data;

            return(ContractHandler.SendRequestAndWaitForReceiptAsync(safeTransferFromFunction, cancellationToken));
        }
        public Task <string> SafeTransferFromRequestAsync(string from, string to, BigInteger id, BigInteger amount, byte[] data)
        {
            var safeTransferFromFunction = new SafeTransferFromFunction();

            safeTransferFromFunction.From   = from;
            safeTransferFromFunction.To     = to;
            safeTransferFromFunction.Id     = id;
            safeTransferFromFunction.Amount = amount;
            safeTransferFromFunction.Data   = data;

            return(ContractHandler.SendRequestAsync(safeTransferFromFunction));
        }
 public Task <TransactionReceipt> SafeTransferFromRequestAndWaitForReceiptAsync(SafeTransferFromFunction safeTransferFromFunction, CancellationTokenSource cancellationToken = null)
 {
     return(ContractHandler.SendRequestAndWaitForReceiptAsync(safeTransferFromFunction, cancellationToken));
 }
 public Task <string> SafeTransferFromRequestAsync(SafeTransferFromFunction safeTransferFromFunction)
 {
     return(ContractHandler.SendRequestAsync(safeTransferFromFunction));
 }