Compound V2 Liquidation Metrics
Note: This example is built on version 0.0.21 (current version is >= 0.0.36).
This repo contains an example Envio indexer built using TypeScript for the Compound V2 forks across multiple chains.
This repo was forked from the original indexer built by Joss Duff, one of Envio's first grantees.
LiquidateBorrow
event from the pool contracts of below Compound V2 forks are indexed, specifically storing the amount of tokens seized and liquidators.
Addresses of all the pool contracts are stored in the config.yaml
file.
Protocols indexed
- Compound V2 on Ethereum Mainnet
- Flux Finance on Ethereum Mainnet
- Iron Bank on Ethereum Mainnet
- Strike Finance on Ethereum Mainnet
- Iron Bank on Optimism
- Sonne Finance on Optimism
- Benqi Lending on Avalanche C-chain
- Iron Bank on Avalanche C-chain
- Venus on BSC
The indexer has been built using v0.0.21 of Envio.