コード例 #1
0
        public Task <TransactionReceipt> SetPriceRequestAndWaitForReceiptAsync(string ipfsHash, BigInteger price, CancellationTokenSource cancellationToken = null)
        {
            var setPriceFunction = new SetPriceFunction();

            setPriceFunction.IpfsHash = ipfsHash;
            setPriceFunction.Price    = price;

            return(ContractHandler.SendRequestAndWaitForReceiptAsync(setPriceFunction, cancellationToken));
        }
コード例 #2
0
        public Task <string> SetPriceRequestAsync(string ipfsHash, BigInteger price)
        {
            var setPriceFunction = new SetPriceFunction();

            setPriceFunction.IpfsHash = ipfsHash;
            setPriceFunction.Price    = price;

            return(ContractHandler.SendRequestAsync(setPriceFunction));
        }
コード例 #3
0
        public Task <string> SetPriceRequestAsync(BigInteger id, BigInteger price)
        {
            var setPriceFunction = new SetPriceFunction();

            setPriceFunction.Id    = id;
            setPriceFunction.Price = price;

            return(ContractHandler.SendRequestAsync(setPriceFunction));
        }
コード例 #4
0
        public Task <TransactionReceipt> SetPriceRequestAndWaitForReceiptAsync(ushort x, ushort y, byte tile, BigInteger price, CancellationTokenSource cancellationToken = null)
        {
            var setPriceFunction = new SetPriceFunction();

            setPriceFunction.X     = x;
            setPriceFunction.Y     = y;
            setPriceFunction.Tile  = tile;
            setPriceFunction.Price = price;

            return(ContractHandler.SendRequestAndWaitForReceiptAsync(setPriceFunction, cancellationToken));
        }
コード例 #5
0
        public Task <string> SetPriceRequestAsync(ushort x, ushort y, byte tile, BigInteger price)
        {
            var setPriceFunction = new SetPriceFunction();

            setPriceFunction.X     = x;
            setPriceFunction.Y     = y;
            setPriceFunction.Tile  = tile;
            setPriceFunction.Price = price;

            return(ContractHandler.SendRequestAsync(setPriceFunction));
        }
コード例 #6
0
        public Task <string> SetPriceRequestAsync(ushort x, ushort y, byte tile, byte[] model, BigInteger amount)
        {
            var setPriceFunction = new SetPriceFunction();

            setPriceFunction.X      = x;
            setPriceFunction.Y      = y;
            setPriceFunction.Tile   = tile;
            setPriceFunction.Model  = model;
            setPriceFunction.Amount = amount;

            return(ContractHandler.SendRequestAsync(setPriceFunction));
        }
コード例 #7
0
 public Task <TransactionReceipt> SetPriceRequestAndWaitForReceiptAsync(SetPriceFunction setPriceFunction, CancellationTokenSource cancellationToken = null)
 {
     return(ContractHandler.SendRequestAndWaitForReceiptAsync(setPriceFunction, cancellationToken));
 }
コード例 #8
0
 public Task <string> SetPriceRequestAsync(SetPriceFunction setPriceFunction)
 {
     return(ContractHandler.SendRequestAsync(setPriceFunction));
 }