This strategy simply deposits btc into ribbon's covered call strategy to earn yield(premium from selling options).
It imitates creating our own covered call strategy which could be done easily with opyn's perpetual vault template. The covered call strategy involves depositing btc as collateral into opyn vault and shorting btc call options (same with ribbon).
Due to the nature of withdrawals from the ribbon vault, the following function inplementations were changed to enable our strategy to remain compatible with badger:
_withdrawSome(amount)
-> This initiates a withdrawal from the ribbon vault which could be completed later in the future
_withdrawAll()
-> This completes an already initiated withdrawal from ribbon vault.
- do more research
- write tests for current strategy
- do a similiar strategy for stakedao