← Back to home

Leverager

Leverage on AAVE using Flashloan and 1inch swap

Screenshots

Leverager screenshot 1

Problem Statement

This project aim to allow user create leveraged position in AAVE v2 via flashloan. With Leverager, user can easily create leverage trade (e.g. ETH against USDC trade) in 3 transaction (or 1 transaction if they already approved the contract). Available leverage depending on the specific pair and desired health ratio.

Solution

User approve the leverage asset to Leverager contractUser delegate credit to Leverager contractUser call Leverager contractLeverager draw a flashloan onbehalf of user to buy the leverage assetLeverager deposit the leverage asset onbehalf of userWe used AAVE with it's flashloan and credit delegation feature. The current submission is very minimal due to some unexpected personal matter. We hope to include a frontend UI, more asset support, 1inch integration, isolated margin (smart contract wallet), and more in the future.

Hackathon

MarketMake

2024