Giter Site home page Giter Site logo

joshim2021 / dyp-earn-vault Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dypfinance/dyp-earn-vault

1.0 0.0 0.0 2.13 MB

DYP Vaults with support for the following deposit tokens: ETH, WBTC, USDC, USDT, DAI

License: BSD 3-Clause "New" or "Revised" License

Solidity 100.00%

dyp-earn-vault's Introduction

DYP Earn Vault

  1. Support for the following deposit tokens: ETH, WBTC, USDC, USDT, DAI

  2. https://compound.finance/developers Compound Integration - users deposited funds are forwarded to compound for respective cTokens held by smart contract.

  3. Users may withdraw their cTokens back to their deposit + interest from compound assuming appropriate liquidity conditions. The setup assumes compound and uniswap has the appropriate amount of liquidity available for the whole setup to work properly.

  4. 0.3% withdrawal fee in respective token, 25% used to buy back DYP from uniswap and 75% distributed pro-rata among active vault users.

  5. ETH fee equivalent to 400k gas at current gwei gas price for deposits and withdraw, 25% used to buy back DYP from uniswap and 75% distributed pro-rata among active vault users.

  6. 5 different lockup durations / pools for each deposit token: 3, 30, 60, 90 and 120 days

  7. Fixed APY for each pool, in DYP according to uniswap price of DYP from WETH pool. - admin needs to supply the required amount of DYP to the contract, if the contract runs out of DYP, users cannot withdraw their pending DYP rewards.

  8. Uniswap Integration to periodically auto-buy DYP using above 25% fees and send to burn address.

  9. Additional Claim button for compound rewards.

  10. Re-Invest for DYP rewards with constant staking integration.

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.