I am approaching blockchain and smart contracts for the first time and I have trouble understanding some concepts. I read this article https://medium.com/decentlabs/building-your-first-ethereum-oracle-1ab4cccf0b31 and I have a question about Logging server.
- My smart contract needs data outside the blockchain, so my contract sends a request to an oracle smart contract.
- The oracle contract emit an event to catch the attention of the oracle service provider.
- The oracle's backend retrieves that information from external sources and sends a transaction to the oracle contract with the requested information.
After reading the article I guessed that the oracle contract logs events to a logging events server. Does my smart contract need to get the information from this server? If so, how? How does the interaction between the two contracts take place? Is the interaction asynchronous?