Simulating FunctionsHow to simulate function calls and read contract state without creating transactions.