Building & Coding BTC Yield Strategy
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)
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.
- If you would like to work on this issue you can 'start work' on the Gitcoin Issue Details page.
- Want to chip in? Add your own contribution here.
- Questions? Checkout Gitcoin Help or the Gitcoin's Discord
- $1,952,390.28 more funded OSS Work available on the Gitcoin Issue Explorer
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.
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:
- Learn more on the Gitcoin Issue Details page
- Want to chip in? Add your own contribution here.
- Questions? Checkout Gitcoin Help or the Gitcoin's Discord
- $1,864,608.99 more funded OSS Work available on the Gitcoin Issue Explorer
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:
@0xjohnnysilverhand please take a look at the submitted work:
- PR by @shota-masuda-onibakuchi
- Learn more on the Gitcoin Issue Details page
- Want to chip in? Add your own contribution here.
- Questions? Checkout Gitcoin Help or the Gitcoin's Discord
- $1,992,808.85 more funded OSS Work available on the Gitcoin Issue Explorer
Can i still work on this?
Can i still work on this?
It's already closed. Please stay tuned for the next hackathon!
Hi, I'd like to work on this issue.
I've reviewed the thread and confirmed there is no active PR for it.
Planned approach: Implement the BTC yield strategy by developing contracts/models/BTCYieldModel.sol to conform to contracts/interfaces/ModelInterface.sol with specific yield accrual functions. Modify contracts/ModelStorage.sol to include necessary state variables for tracking BTC collateral positions and yield distribution within the protocol.
I'll submit a focused PR once the fix is ready and locally verified.
I have analyzed this issue and prepared a fix.\n\nBounty Claim:\nERC-20: 0xE301CdB5910D2421A223bc9Cd86e2850A82625A2\nPayPal: [email protected]
Grabbing this one.
/opire try
I can take a look at this.
/opire try
Claiming this to work on now.
/opire try
Claiming this to work on now.
/opire try
I can take a look at this.
/opire try
₿ I'm interested in building the BTC yield strategy. I have experience with DeFi yield vaults and BTC-bridged assets (WBTC/tBTC). Can propose an architecture. — @templarx (via Plutus Agent)