Giter Site home page Giter Site logo

merndev0603 / forcedao-qi-strat Goto Github PK

View Code? Open in Web Editor NEW

This project forked from apoorvlathey/forcedao-qi-strat

0.0 0.0 0.0 930 KB

Farming Strategy for QI/MAI LP tokens that allows auto-compounding of Rewards and Earn high APYs!

JavaScript 65.67% TypeScript 11.23% HTML 5.21% Solidity 17.89%

forcedao-qi-strat's Introduction

QI Farming Strategy

Mai.finance is rewarding their governance token QI on staking the Quickswap LP token for QI/MAI Pair.

(Mai is a stablecoin pegged to $1)

Video Walkthrough: YouTube

Working of Strategy:

This strategy allows the user to deposit their QI/MAI LP tokens, or if they just have single token QI or MAI lying in their wallet, the contract automatically swaps and converts that into required LP token so users can deposit instantly without any hassle.

Here's the simple overview: infographic

Harvesting

Due to Polygon's low transaction fees, we can harvest the rewards every few minutes. Due to this the current APY is more than 300%!

Note: Mai's staking contract charges 0.5% on deposit, so it's advised for the user to not exit the pool instantly as they'll leave with less than what they deposited. Because of high APY this fees can be recovered in few days.

Deployment

The contract is deployed on Polygon Mainnet, you can interact with it via the UI hereπŸ‘‰ https://apoorvlathey.com/projects/qi-farming/

(Note: Use at your own risk, contract is not audited)

UI

The dashboard gives you all the necessary data about the strategy and allows to deposit/withdraw as shown:

UI Screenshot 1 UI Screenshot 2 UI Screenshot 3

Smart Contracts

The repository uses hardhat to run tests for Strategy using forked mainnet. You can run yarn test to get the following result:

Test Terminal Output

Note: You would need to configure variables in ./contracts/.env. Refer to ./contracts/.env.sample

forcedao-qi-strat's People

Contributors

apoorvlathey avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.