tAAke five, an Interactive DeFi platform, dramatically improves DeFi investment UX. We empower users to make smarter, easier choices to invest. Liquidity Providers can execute multiple complex transactions in a SINGE CLICK to invest in UniswapV3 using Account Abstraction.
tAAke Five is a platform that recommends the best DeFi investments for you, regardless of your knowledge of DeFi, and makes it easy and simple to execute. It reduces the multiple transactions required to invest in a pool to a single transaction and pays for the gas, alleviating many of the difficulties users face when investing. This not only solves the inconvenience of those who have already invested in DeFi, but also breaks down the psychological barriers of those who have been hesitant or wary of investing in DeFi due to uncomfortable UX, and helps them to invest easily and comfortably through a consistent UI from recommendation to investment.
By asking a few questions, Uniswap V3 provides users with personalized investment recommendations from the pools that exist in Uniswap, while leveraging Biconomy's account abstraction to handle all transactions with a single click. This not only makes the complex and difficult simple and easy, but also gives you a sensible direction to start envisioning your own investments.
Also, through the telegram-bot which keeps track of your investment and gives you notifications, you do not need waste time on constantly tracking your position manually.
To give a simple example, if a risk-averse user selects the Arbitrum chain, Uniswap V3 will present a pool of Arbitrum-based stablecoins. After selecting the USDT-USDC pool and setting the price range, the user selects the $ARB they have and presses Invest to complete the investment as set by the user without any token authorization or swap transaction.
In conclusion, tAAke Five reduces the time spent learning, investing, managing DeFi investments through personalized recommendations and account abstraction to complete the investment process with a single click, a bot to automatically track your investment, making it easy for anyone, whether they are new or familiar to DeFi to invest in DeFi efficiently and at their own pace. We believe that tAAke Five will serve as a UX solution that makes investing in a decentralized space as comfortable as investing in stocks.
We supported @UniswapV3 as the protocol to implement the features mentioned above, and account abstraction via @Biconomy to maximize the convenience of the investment process. We supported five chains in this process: Ethereum, @Arbitrum, @Polygon, @Base, and @Gnosis. We collected and calculated UniswapV3 pool metadata (such as APR, TVL, Volumes) by using @TheGraph 's historical data. We implemented the telegram-bot which keeps tracking the onchain data of the user's investments through @TheGraph, Serverless framework.
For UniswapV3, Liquidity Providers suffer from three major problems:
[ 1. Too many transactions before investing ].
Investing in UniswapV3 requires at least 4~5 transactions.
This poses a significant entry barrier for newcomers to DeFi and it's a point of discomfort for many DeFi users. So we've introduced Account Abstraction provided by the biconomy SDK, enabling the batching of multiple transactions in a single userOperation tx. Additionally, we've incorporated the use of Paymasters to facilitate gas fee coverage, further lowering the entry barriers for DeFi newcomers.
[ 2. Prepare a pair of tokens with exact ratio required by UniswapV3 ].
To optimize investment, users have to calculate the exact amounts required by UniswapV3 and then swap one token to another token. However, since token prices change every second, the optimal ratio is non-deterministic. So, the only way to prepare the exact ratio of tokens is to execute 3 tasks in a single transaction: Calculate, Swap, and Invest(increaseLiquidity).
Calculating the optimal ratio was quite difficult because UniswapV3 has a very complex formula, so we used heuristic methods : Binary Search. We iterated through binary search 96 times to estimate the optimal swap amount. As a result, we were able to get the optimal value with an error of less than 10^-12.
[ 3. Too many options ].
DeFi newcomers often find themselves overwhelmed by the myriad options offered by Uniswap V3. We aim to alleviate this confusion by presenting all choices interactively and recommending investment options tailored to the user's risk preferences. To achieve this, we need to calculate metadata such as APR and TVL for each pool. Particularly challenging in UniswapV3 is that each position has its unique price range, leading to varying APRs. To address this, we utilized historical data from The Graph to conduct investment simulations, allowing us to calculate APRs for specific price ranges.