Ejemplo n.º 1
0
        public Task <TransactionReceipt> SetPriceAtRequestAndWaitForReceiptAsync(ushort x, ushort y, byte tile, BigInteger price, CancellationTokenSource cancellationToken = null)
        {
            var setPriceAtFunction = new SetPriceAtFunction();

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

            return(ContractHandler.SendRequestAndWaitForReceiptAsync(setPriceAtFunction, cancellationToken));
        }
Ejemplo n.º 2
0
        public Task <string> SetPriceAtRequestAsync(ushort x, ushort y, byte tile, BigInteger price)
        {
            var setPriceAtFunction = new SetPriceAtFunction();

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

            return(ContractHandler.SendRequestAsync(setPriceAtFunction));
        }
Ejemplo n.º 3
0
 public Task <TransactionReceipt> SetPriceAtRequestAndWaitForReceiptAsync(SetPriceAtFunction setPriceAtFunction, CancellationTokenSource cancellationToken = null)
 {
     return(ContractHandler.SendRequestAndWaitForReceiptAsync(setPriceAtFunction, cancellationToken));
 }
Ejemplo n.º 4
0
 public Task <string> SetPriceAtRequestAsync(SetPriceAtFunction setPriceAtFunction)
 {
     return(ContractHandler.SendRequestAsync(setPriceAtFunction));
 }