Having access to data from events that is not stored on chain is very useful when it comes to rewarding users for their actions. However, current options out there are using the graph to build a snapshot of said events. However, without access to the Graph's code, we cannot fully call these awards trust-less corrupted information can be brought onchain if it's not verified by say, an oracle.

How it's made

Used and loved Scaffold-Eth!! Tried using Chainlink An API consumer will be deployed, upon requested it will use etherscan api to find event logs and report it back to the chainlink client. Although not the normal Oracle pattern, client is directly integrated with my main contract.

Technologies used