Regular, repeating, interaction between an oracle and a smart contract
问题 This is just an example. I'm building this dapp where I have a start date and an end date and every day I want to get a random number from an oracle. If at some point the sum of the numbers I get every day exceeds a threshold then an OK message returns to my backend. Let's assume we have a range of 7 days. Day 1: My backend sends a request to the "smart contract Number" and calls the requestOk () method. The smart contract Number calls the gethNumber () method of the oracle smart contract and