Open stefanionescu opened 2 years ago
Issue Status: 1. Open 2. Started 3. Submitted 4. Done
This issue now has a funding of 20.0 FLX (8057.6 USD @ $402.88/FLX) attached to it.
Issue Status: 1. Open 2. Started 3. Submitted 4. Done
Work has been started.
These users each claimed they can complete the work by 264 years, 11 months from now. Please review their action plans below:
1) ijeje1 has started work.
How can i get the bounty please reachme
Learn more on the Gitcoin Issue Details page.
I'd take that challenge because of Vyper
;) Most projects still use Solidity. Are you accessible on daily basis in case I've questions, @stefanionescu?
@aahutsal nope but please join the Reflexer Discord where there are more people you can talk to:
Well, let me try to do my best. Will join Discord, but firstly - I'll apply on the Gitcoin page. Thank you.
Issue Status: 1. Open 2. Started 3. Submitted 4. Done
Work for 20.0 FLX (8057.60 USD @ $402.88/FLX) has been submitted by:
Issue Status: 1. Open 2. Started 3. Submitted 4. Done
Work for 20.0 FLX (8057.6 USD @ $402.88/FLX) has been submitted by:
@stefanionescu please take a look at the submitted work:
Issue Status: 1. Open 2. Started 3. Submitted 4. Done
The funding of 20.0 FLX (8057.60 USD @ $402.88/FLX) attached to this issue has been approved & issued to @fs1028.
@stefanionescu shouldn't it be closed?
Prize Bounty
20 FLX
Challenge Description
Adapt the Curve v1 two coin pool implementation so it can work for a pool with a peggie and a non-peggie (such as RAI). Template code for this pool type can be found here. You can take inspiration from the RAI Metapool code.
Curve gained lots of momentum in the Ethereum space with their efficient design used to swap similar tokens such as DAI and USDC. Reflexer would like to integrate RAI in Curve v1 but there's an issue: RAI is not pegged to $1 similar to tokens such as DAI. Instead, RAI has a "moving peg" called the redemption price.
In order to fetch RAI's redemption price, one has to first update it and then retrieve it. This is why the redemption price getter is not a view function. To make it easier to fetch the redemption price, you can use this contract that stores a slightly older version of the price or you can update and fetch the latest price from here.
Submission Requirements
Your code must be written in Vyper. You must write thorough tests for all contracts you work on. You must also describe in detail all the modifications you brought to vanilla Curve contracts as well as describe the test cases you covered.
Lastly, your final submission must be in a PR where you acknowledge that the code will be under Curve's license.
Submission Deadline
23rd of December 2021
Winner Announcement Date
The submission will be reviewed between 24th - 28th of December. The announcements and payouts will occur by 31st of December.