Margin Trading System
An easy way for traders and liquidity providers to take leverage.
Problem Statement
A margin trading system. Anyone can come to the platform and deposit margin and start leverage trading on multiple platforms. Anyone can come to the platform and deposit their money to their lending protocol of choice through us. This deposited money is also used to enable leveraged positions which are used to generate extra rewards on top of their platform returns.
Solution
We have created account manger contract to maintain margin calculation and liquidations. Along with that we have created AMM and LendingMarket adapters to connect with multiple supported platforms. We have used AAVE to enable deposits and credit delegation on the platform. And we have used uniswap to let people trade. Chain-link is used to calculate the margin and account value. And the frontend is deployed on Skynet.
Hackathon
ETHOnline 2021
2021