AirSwap
This subgraph indexes data from three smart contracts: SwapLightContract, LockerContract and PoolContract.
Each data source includes the contract's ABI, which defines the contract's methods and events, allowing the subgraph to capture relevant data.
Entities are defined for each contract to represent specific actions or events within those contracts. For example, "Cancel" and "Swap" entities for the SwapLightContract represent cancellation and swapping actions.
Event handlers are defined to capture events emitted by these contracts. For example, the "Cancel" event handler captures data when the "Cancel" event is triggered in the SwapLightContract.
It's important to note that the subgraph may be used for analytics, monitoring or data visualization purposes related to these Ethereum contracts.