Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building & Coding BTC Yield Strategy #5

Open
0xJohnnySilverhand opened this issue Jun 14, 2021 · 6 comments
Open

Building & Coding BTC Yield Strategy #5

0xJohnnySilverhand opened this issue Jun 14, 2021 · 6 comments
Labels

Comments

@0xJohnnySilverhand
Copy link
Member

Building & Coding BTC Yield strategy

Prize Bounty

🏆 600 PUNK (~$6,000USD)


Challenge Description

Punk Protocol aims to liberate people from the outdated pension system and empower their financial freedom. Our first product is the world's first decentralized annuity a.k.a "Saver", which is generating periodic cash flows using optimal yield strategies.

Anyone can invest through the Saver to earn automated cash flows periodically by setting custom conditions - i) When do you want to start receiving, ii) How regularly do you want to receive, iii) How many times do you want to receive.

From this Hackathon, you’re invited to build and code the safest and most profitable yield strategy for BTC based on ERC20. (e.g. wBTC, renBTC, tBTC, and sBTC)

  • Yield Strategy is a smart contract model, which operates to maximize the profits of the user's investments.
  • The Saver Forge contract will invest the user's investment automatically according to the yield strategy you've submitted.
  • You must only code the yield strategy for BTC based on ERC20.

Submission Requirements

  • The Tokens used in this strategy must use BTC tokens based on ERC20.
  • Your project must use an open-source license.
  • Your project must implement the "ModelInterface.sol" and "ModelStorage.sol" for Model.
  • The functionality of "Model.sol" must unconditionally conform to what is specified in the "ModelInterface.sol" file comments on Github.
  • The files to be coded should be located under /models.
  • There are 2 files that need to be inherited in total.
  • You need to code it by inheriting the file located here "/ModelStorage.sol" and "/interfaces/ModelStorage.sol"
  • You need to deploy a new mocked/demo version of YOUR-CODED-YIELD-STRATEGY on Kovan network so we can test your strategy.
  • The new strategy should work with the protocols currently running, and the specific mechanism should be specified.
  • The protocol you submit must include the development tools (e.g. Compound's dev tool)

Entrants can join our Discord and feel free to ask any questions. (👾︲hackathon)


Reference link

Punk Protocol Github Page (https://github.com/PunkFinance)

Example: Punk Protocol-Compound Model (https://github.com/PunkFinance/punk.protocol/blob/master/contracts/models/CompoundModel.sol)


Judging Criteria

  • Stability of strategy
  • Profitability of the strategy
  • Possibility of implementation with smart contract

Winner Announcement Date

July 21th on Punk protocol's official Discord (👾︲hackathon)


Resources

Website(https://punk.finance/)
Github(https://github.com/PunkFinance)
Docs (https://docs.punk.finance/)
Discord(https://discord.com/invite/punk)

@0xJohnnySilverhand 0xJohnnySilverhand changed the title Building & Coding BTC Yield strategy Building & Coding BTC Yield Strategy Jun 14, 2021
@gitcoinbot
Copy link

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


This issue now has a funding of 600.0 PUNK (6000.0 USD @ $10.0/PUNK) attached to it.

@gitcoinbot
Copy link

gitcoinbot commented Jun 15, 2021

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work has been started.

These users each claimed they can complete the work by 7 hours from now.
Please review their action plans below:

1) shota-masuda-onibakuchi has started work.

I integrate Idle finance as a yield source
2) sunnyrk has started work.

will work around it
3) 0xb0x has started work.

build strategy with harvest finance

Learn more on the Gitcoin Issue Details page.

@gitcoinbot
Copy link

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work for 600.0 PUNK (6000.0 USD @ $10.0/PUNK) has been submitted by:


@gitcoinbot
Copy link

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work for 600.0 PUNK (6000.00 USD @ $10.0/PUNK) has been submitted by:

  1. @shota-masuda-onibakuchi

@0xJohnnySilverhand please take a look at the submitted work:

  • PR by @shota-masuda-onibakuchi

@3scava1i3r
Copy link

Can i still work on this?

@0xJohnnySilverhand
Copy link
Member Author

Can i still work on this?

It's already closed. Please stay tuned for the next hackathon!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants
@gitcoinbot @3scava1i3r @0xJohnnySilverhand and others