yearn / yearn-api-archived

Collection of serverless API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

add ySUSD to earn products in holdings endpoint

miguel567 opened this issue · comments

as flagged by dudesahn we are missing this EARN product: https://etherscan.io/address/0xF61718057901F84C4eEC4339EF8f0D86D2B45600

This will require to restructure holdings endpoint:

  • move all poolBalanceUSD into a EARN object containding address and poolBalanceUSD and symbol (it willbe like a very simple vault in the endpoint)
  • add to this new object the ySUSD
  • update the TVL endpoint to pick up correctly the new EARN object.