The Graph API
Aave Flash Loans
Aave Credit Delegation
this project utilize aave flashloan and credit delegation and 1inch swap to let users leverage on their existing loans or they would be able to take a new leveraged loan. users can close their position and have a profit if the price of the collateral goes up! short feature will be added in the future!
How It's Made
this project takes flashloan as collateral equal to user's collateral * leverage and credit delegation to borrow based on LTV and 1inch to swap borrowed Tokens to collateral and it uses chainlink to avoid price manipulations. the data of the tokens and debts/deposits being fetched from thegraph.