Esempio n. 1
0
        public Task <TransactionReceipt> SetContractAtRequestAndWaitForReceiptAsync(ushort x, ushort y, byte tile, string address, CancellationTokenSource cancellationToken = null)
        {
            var setContractAtFunction = new SetContractAtFunction();

            setContractAtFunction.X       = x;
            setContractAtFunction.Y       = y;
            setContractAtFunction.Tile    = tile;
            setContractAtFunction.Address = address;

            return(ContractHandler.SendRequestAndWaitForReceiptAsync(setContractAtFunction, cancellationToken));
        }
Esempio n. 2
0
        public Task <string> SetContractAtRequestAsync(ushort x, ushort y, byte tile, string address)
        {
            var setContractAtFunction = new SetContractAtFunction();

            setContractAtFunction.X       = x;
            setContractAtFunction.Y       = y;
            setContractAtFunction.Tile    = tile;
            setContractAtFunction.Address = address;

            return(ContractHandler.SendRequestAsync(setContractAtFunction));
        }
Esempio n. 3
0
 public Task <TransactionReceipt> SetContractAtRequestAndWaitForReceiptAsync(SetContractAtFunction setContractAtFunction, CancellationTokenSource cancellationToken = null)
 {
     return(ContractHandler.SendRequestAndWaitForReceiptAsync(setContractAtFunction, cancellationToken));
 }
Esempio n. 4
0
 public Task <string> SetContractAtRequestAsync(SetContractAtFunction setContractAtFunction)
 {
     return(ContractHandler.SendRequestAsync(setContractAtFunction));
 }