yearn / yearn-protocol

Yearn smart contracts
https://yearn.finance
GNU Affero General Public License v3.0
441 stars 211 forks source link

Add claim to StrategyProxy #69

Closed banteg closed 3 years ago

banteg commented 3 years ago

This adds a feature allowing the yveCRV vault to claim 3Crv from Curve Fee Distributor.

0xalizk commented 3 years ago

If the claiming/havesting is abstracted (pushing the implementation to strategies themselves), there won't be a need to update StrategyProxy everytime, no?

banteg commented 3 years ago

Ideally we should want to adopt something like ds-guard so we can granularly give access to strategies without redeploying StrategyProxy and rewiring everything.