beefyfinance / beefy-api

Simple API for BeefyFinance
https://api.beefy.finance
MIT License
117 stars 201 forks source link

getApyBreakdown tidy #1454

Closed ReflectiveChimp closed 2 months ago

ReflectiveChimp commented 3 months ago

Apply fee to clmApr Remove clmApr from vaultApy Return Number.MAX_SAFE_INTEGER instead of null for Infinity Set values to undefined/remove key instead of 0 if data not available

ReflectiveChimp commented 2 months ago

In https://github.com/beefyfinance/beefy-api/pull/1476 instead (outputting "Infinity" instead of max int)