GetUnite / investment-strategies

2 stars 1 forks source link

EURT CurveHarvest Strategy #13

Closed pentatonictritones closed 2 years ago

pentatonictritones commented 2 years ago

https://app.dework.xyz/alluo/alluo-smart-contra?taskId=e9d07b52-72b1-42b4-8c26-469831753c2b

Hi,

I had to create a mock folder to create a fake exchange + adapters for the strategy to work. I tried to follow the other strategies + tests as much as possible so that it looks similar.

Please note that you need to uncomment line27 and delete line 28 of CurveHarvestEurStrategy.sol when deploying to production. Also, there will be one test case that fails (checking the value of the constants) if this is uncommented but I note it down so it should be easy to see.

penta