yearn/yearn-sdk

Read strategies metadata from api, fallback to reading from chain on error

Closed this issue · 0 comments

https://github.com/yearn/yearn-sdk/blob/master/src/interfaces/strategy.ts#L52

We should always use fetchMetadataFromApi for all chains. If that fails then fallback to fetchMetadataFromChain