project screenshot 1
project screenshot 2
project screenshot 3

Yield Ape

YieldApe is your one-stop shop to access any yield strategy on any network with any starting token position.

Yield Ape

Created At

ETHGlobal New York

Winner of

trophy

💰 Mantle — Best DeFi

Project Description

The user connects their wallet, inputs an amount of USDC, and clicks submit. The frontend calls 1inch swap api to determine best route to swap axlUSDC into USDbC on Base. The frontend then calls the YieldApe contract on Mantle. The YieldApe contract wraps the user's USDC funds into axlUSDC from wallet. Using Axelar, the YieldApe contract bridges funds to the ApeZap Contract on Base with the swap route data as payload. With the payload, the ApeZap swaps USDC into USDbC and then deposits into Aave USDbC strategy using a Quicknode RPC. The ApeZap contract holds the receipt yield token. The receipt token can be returned to user on Base or bridged back on Mantle or can be held in the ApeZap contract as collateral to borrow against.

How it's Made

We used 1inch, Mantle, Axelar, Base, Quicknode, and Aave to demonstrate this proof of concept and used ThirdWeb to build a frontend interface. 1inch swap routing API is very robust and flexible to create the zapping experience that abstracts the need for a specific token away from the user. We used Axelar to both bridge as well as call contract functions on the destination chain from the source chain. Since 1inch routing requires off-chain compute due to gas prohibitive limits and both 1inch and Aave do not support Mantle currently, we had to call the API upfront and pass the routing data with the payload with Axelar's GMP.

MANTLE

  • Contract to fund the execution of the bridge: https://explorer.mantle.xyz/tx/0xe6148443535f13c7222e3482f8829e11f2262d73446e006dfe1174ffe9c6aa02
  • Contract to initiate the Axelar bridge https://explorer.mantle.xyz/tx/0x0356ade2549d3f178abe69c469a88ff263af8837bd92ea4d112893c0ac23c342

BASE Yield Contract - receives from Axelar, zaps tokens & deposits into Aave https://basescan.org/address/0xa233441c94b2e13eaa9147849c1ed7e774c03047

background image mobile

Join the mailing list

Get the latest news and updates