VELODROME_SUPPORTED_LIQUIDITY_POOL_ADDRESSES
in ./constants.ts
Network: Optimism Mainnet (and networks where Velodrome has deployed liquidity pools)
Revenue Model: Velodrome generates revenue through trading fees on token swaps, with fees varying by pool
based on volatility and token pair characteristics. Revenue is shared between liquidity providers and the protocol.
Data Sources:
fetchTokenPrices
utilitygetBlockRange
utility for temporal filteringstring
User wallet address to calculate trading fee revenue for
Date
End of time window for revenue calculation (exclusive)
Date
Start of time window for revenue calculation (inclusive)
Promise
<KpiResult
<string
>>
Promise resolving to total trading fee revenue in USD generated by user’s activity