Leverage trading bot that operates with Gearbox and Cowswap.
The idea of the project was to create leverage positions, utilising Gearbox and Cowswap. We weren't able to come up with the correct design of the protocol. We will continue pursuing the idea.
By utilizing credit account feature of Gearbox we could borrow funds and then execute swap on Cowswap. The problem is that the Cowswap swap is not whitelisted in Gearbox. Still need to figure out the correct protocol design.
Not finished yet. We spent a lot of time brainstorming and trying out different designs, but weren't able to figure out the correct one. We will continue pursuing the idea.
The front-end is fork of scaffold-eth. The protocol consists of smart contracts (Box is a smart contract that interact with Gearbox and Cowswap).