Leverage used to be complicated and risky. Gearbox introduces a cheap and low risk way to leverage your capital instantly and use it across Defi protocol. I developed leveraged Badger strategies, which earn yield through Compound/Yearn. I also developed Gearbox adaptors for multiple Defi protocol, such as Compound , Tempus, Voltz and Lyra .
First, I need to build the Gearbox adapters in order to use Defi protocols with the leveraged fund since the leveraged fund is managed through Gearbox CreditAccount contract. Inside the Badger Strategy, it will try to open a CreditAccount or add extra collateral if CreditAccount already exists. Then it will deposit leveraged funds into Compound/Yearn. The strategy will also harvest Reward tokens through CreditAccount.