Restructured holdings endpoint to contain a key "type" where values can be "vault" or "earn". This is used to Sum up VaultHoldings and EarnHoldings.
Added keys in the holdings output object for totalVaultHoldings and totalEarnHoldings. With this we know exactly the holdings for each of the 2 big Yearn products.
Added uniquote support for pricing. No need of coingecko anymore. For stablecoins pricing I'm assuming price_usd = 1 as uniquote doesn't provide these prices.
TASK: Holdings/save should be called daily.
Work on /tvl and (new) /tvl/save endpoints
Created a /tvl/save endpoint which stores in a new table the values from final TVL calculation.
Modified /tvl so it reads from DB the most recent TVL stored.
Added a param "?historic=true" which delivers not only the latest TVL, but the full list of TVLs stored in DB.
Task: /tvl/save should be called daily right after /holdings/save
for the /holdings and /holdings/save endpoints
TASK: Holdings/save should be called daily.
Work on /tvl and (new) /tvl/save endpoints
Task: /tvl/save should be called daily right after /holdings/save