We created a yearn vault + strategy using the new Hegic protocol. More info about hegic:
The strategy takes care of gathering 888k hegic tokens which are used to buy a Hegic lot. All fees generated by Hegic are distributed across their lot owners.
The strategy takes care of claiming eth from Hegic and uses Uniswap to exchange profits for more Hegic.
We had to refactor the yearn code to use interfaces so the strategy dependencies code can be mocked.
With mocks, we could develop the strategy using TDD and we had a very stable code before testing in mainnet-fork.
We added several tests and we have enough coverage to do whatever refactor yearn core devs think it's necessary to deploy to prod.