OpenOrg-gg / AmphoraProtocol

6 stars 6 forks source link

Create a Vesting Redemption Contract [Paid Bounty] #1

Closed OpenOrg-gg closed 2 years ago

OpenOrg-gg commented 2 years ago

The goal of this bounty is to create a vesting system.

In the Amphora protocol, our main governance token is $AMPH, but when users receive rewards they are received in $vAMPH (Vesting Amphora) which is a standard ERC-20 mintable/burnable token with no additional special features.

Users will use a specialty vesting contract to vest and unlock the $vAMPH.

When a user creates a new vesting position, the contract will take their $AMPH and they will be able to choose between:

A user can decide to select any amount of time within that time frame, the contract should mint the total amount of tokens and store it in the contract at the start. The should be able to claim their vested amount each day. The amounts in between those two options should be on a curve so that vesting longer is always significantly more favorable and not just a linear function.

When a user has additional $vAMPH to vest then the contract will either need to:

If option B (which is likely safer) then it should also:

If you choose to implement with multiple streams you can choose the structure you think is best, either multiple streams defined by a mapping, or an array, or even different contracts deployed via a factory.

Elements of a Successful Bounty:

Candidate Selection:

Preference will be given to Gitcoin candidates who have done similar types of work, and who outline the approach they would take in their application.

Preference is also given to candidates (on Gitcoin or not) who have worked with Amphora in the past.

Bounty Payout:

The payout for this bounty is $3k in USDC.

https://gitcoin.co/issue/29373

gitcoinbot commented 2 years ago

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


Work has been started.

These users each claimed they can complete the work by 4 weeks, 1 day from now. Please review their action plans below:

1) soptq has been approved to start work.

Hi team, I have understood your requirements by reading the description of this bounty on github, and I think I can complete this task with high quality.

BTW, the description is not shown in gitcoin's bounty page. 2) bshevchenko has applied to start work _(Funders only: approve worker | reject worker)_.

Hey you approved me on another bounty, so I'd suggest for you to assign me to all the 4 bounties you have created. I can complete all of them shortly in a high quality way.

Learn more on the Gitcoin Issue Details page.

gitcoinbot commented 2 years ago

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


Work for 3000.0 USDC (3000.00 USD @ $1.0/USDC) has been submitted by:

  1. @soptq

@openorg-gg please take a look at the submitted work:


OpenOrg-gg commented 2 years ago

@Soptq we will get this reviewed this evening but at first glance it looks very promising!