Ejemplo n.º 1
0
        public Task <TransactionReceipt> MoveCitizenRequestAndWaitForReceiptAsync(BigInteger id, byte tile, CancellationTokenSource cancellationToken = null)
        {
            var moveCitizenFunction = new MoveCitizenFunction();

            moveCitizenFunction.Id   = id;
            moveCitizenFunction.Tile = tile;

            return(ContractHandler.SendRequestAndWaitForReceiptAsync(moveCitizenFunction, cancellationToken));
        }
Ejemplo n.º 2
0
        public Task <string> MoveCitizenRequestAsync(BigInteger id, byte tile)
        {
            var moveCitizenFunction = new MoveCitizenFunction();

            moveCitizenFunction.Id   = id;
            moveCitizenFunction.Tile = tile;

            return(ContractHandler.SendRequestAsync(moveCitizenFunction));
        }
Ejemplo n.º 3
0
 public Task <TransactionReceipt> MoveCitizenRequestAndWaitForReceiptAsync(MoveCitizenFunction moveCitizenFunction, CancellationTokenSource cancellationToken = null)
 {
     return(ContractHandler.SendRequestAndWaitForReceiptAsync(moveCitizenFunction, cancellationToken));
 }
Ejemplo n.º 4
0
 public Task <string> MoveCitizenRequestAsync(MoveCitizenFunction moveCitizenFunction)
 {
     return(ContractHandler.SendRequestAsync(moveCitizenFunction));
 }