Read strategies metadata from api, fallback to reading from chain on error
Closed this issue · 0 comments
jstashh commented
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