Add deprecation notice to protocol earnings
Closed this issue · 1 comments
jstashh commented
https://github.com/yearn/yearn-sdk/blob/master/src/interfaces/earnings.ts#L33
Should mark this function as deprecated since we're not able to accurately calculate protocol earnings from the subgraph. This function will be removed in a future version of the SDK