YieldHero

YieldHero is a one-stop suite for managing for Aave yield. With YieldHero you can easily swap aTokens to get the best yield, and redirect your Aave yield to support awesome Ethereum builders.

YieldHero

Created At

HackMoney

Project Description

YieldHero currently consists of two main functions.

  1. An aToken pool powered by Balancer. Before this pool existed, swapping aTokens could be a very tedious process. You had to redeem your aToken into its underlying collateral via Aave, go to Uniswap or 1inch to swap to another asset, and then deposit that new asset back into Aave. With the Balancer pool created by YieldHero, now you just have to choose which assets you'd like to swap, and click Swap!

The Balancer pool also allows anyone to gain swap fees by becoming an aToken liquidity provider. So on top of interest gained from holding aTokens, you can also gain swap fees!

  1. An interest redirect UI. Aave has an aavesome feature that lets you redirect the aToken yield to stream in real-time to any Ethereum address. However, before this hackathon, there was no good UI for doing so. You had to use Etherscan or another smart contract interactor. Now YieldHero provides a great UI for redirecting your yield, with a list of open-source Ethereum builders as suggested recipients. There's also a leaderboard that shows who is redirecting the most! Open-source for the win!

How it's Made

The frontend is all built in NextJS, a great framework for React websites.

The aToken swapper uses a Balancer pool to manage the liquidity, and web3 to interact with the smart contracts.

The redirect yield feature leverages Aave's subgraph to query all the current redirects, a solidity smart contract to batch fetch all of the balances for each person listed, and uses web3 to interact with the Aave smart contract.

The redirect page also utilizes ENS's backwards resolve function to display ENS domains instead of ugly ETH addresses.

background image mobile

Join the mailing list

Get the latest news and updates