justinyleong
Yield-Farming-Strategy-On-Polygon-And-AAVE
Solidity

No description available.

Last updated Feb 20, 2026
11
Stars
2
Forks
0
Issues
0
Stars/day
Attention Score
2
Language breakdown
Solidity 100.0%
โ–ธ Files click to expand
README

Yield-Farming-Strategy-On-Polygon-And-AAVE

Gitcoin Round 10 Hackathon

Follows the strategy as listed in the submission requirements.

Use

  • User deposits DAI and MATIC into the contract
  • Run the execute function
  • User can "tend" the farm periodically with the tend function
  • Run the harvest function to "harvest" all your tokens, which will be converted to DAI

Technical Specs

  • farm.sol is the main controller that uses the three functions execute, harvest, and tend to run the dapp
  • Deposits DAI into Aave and borrows against the deposit
  • Stakes borrowed DAI into Curve's aave pool
  • Whenever the user tends their "crops," the rewards from aave and curve will be swapped to DAI and the cycle will begin again
  • harvest allows the user to collect their "crops," thereby claiming rewards from all platforms, repaying all loans, and withdrawing from Aave

Note

Thank you so much for hosting this bounty! This was a great first introduction for me to defi, yield farming, and dapp development itself ๐Ÿ˜…. Learning everything in such a short time is something that I certainly won't forget.

Edit: 2022

Hi everyone! This project has not been touched for a while, so feel free to contact me if you wish to continue the work. Currently, the defi space is still rapidly expanding, so this is a good starter project for anyone interested. Here are some helpful links about the topic:

LINK

ยฉ 2026 GitRepoTrend ยท justinyleong/Yield-Farming-Strategy-On-Polygon-And-AAVE ยท Updated daily from GitHub