This document provides an overview of the different generators used to create token and pool lists for our project.
Our generators are categorized based on their data collection method:
- API-based Generators (GenerationAPI)
- External List Generators (GenerationExternalList)
- Event-based Generators (GenerationEvents)
- Chain-specific Generators (GenerationChain)
- Static Generators (GenerationStatic)
These generators fetch data by calling external APIs:
- 1inch
- Bebop
- Blockscout
- CoinGecko
- Curve
- Etherscan (excluded due to Cloudflare scraping protection)
- Filecoin
- Inkypump
- Jupiter
- Lifi
- Messari
- Paraswap
- Portals
- Routescan
- SolanaFM
- Token Name Service (TNS)
- SushiSwap
- UniSwap
- Yearn
- Yearn Minimal
- ZKSync
These generators retrieve data from pre-existing lists or external sources:
- Consensys
- Cow Swap
- DefiLlama
- Ledger
- Optimism
- SmolAssets
These generators listen to on-chain events to gather information:
- SushiSwap (token pairs)
- SushiSwap (pools)
- UniSwap (pairs)
- UniSwap (pools)
These generators fetch data directly from on-chain contracts:
- Aerodrome
- Ajna
- Token Registry
- Velodrome
These generators use static, manually curated lists:
- Ajna (Static)
- Berachain (Static)
- Filecoin (Static)
- Sophon (Static)
Generators differ in several key aspects:
- Generation Method: API-based, External List, Event-based, Chain-specific, or Static.
- Generator Type:
- Token generators (GeneratorToken): Create lists of individual tokens.
- Pool generators (GeneratorPool): Create lists of liquidity pools or token pairs.
- Data Source: Platform-specific (e.g., 1inch, Curve) or aggregators (e.g., CoinGecko, DefiLlama).
- Scope: Chain-specific (e.g., Optimism, ZKSync) or multi-chain/chain-agnostic.
- Purpose: General token lists or specialized (e.g., Yearn's vault-focused lists).
- Curation: Automatically generated or manually curated ("static" lists).
- Inclusion/Exclusion: Some generators may be marked as excluded (e.g., Etherscan due to Cloudflare scraping protection).
These diverse generators ensure a comprehensive and up-to-date dataset for our project, covering various aspects of the DeFi ecosystem.
- Some previously used generators (e.g., ethereum-etherscan, polygon-zkevm) have been deprecated and replaced by more general or updated versions.
- The Etherscan generator is currently excluded due to Cloudflare scraping protection issues.