yearn-api-archived
yearn-api-archived copied to clipboard
Store daily TVL and expose it on TVL endpoint
Create a new /tvl/save endpoint to store daily tvl. the key for DB can be the timestamp.
On /tvl endpoint then extend the json output for include the daily TVl. Keeping as the TvlUSD the current (latest) TVL. Don't change the TvlUSD as this is already integrated in Defillama and changes could break their integration.