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

Enable UI for proposal funding over multiple pay periods. #20

Open
shivgupt opened this issue Nov 5, 2019 · 0 comments
Open

Enable UI for proposal funding over multiple pay periods. #20

shivgupt opened this issue Nov 5, 2019 · 0 comments
Labels
Alchemy dApp layer of DAOstack stack good first issue Good for newcomers help wanted Extra attention is needed

Comments

@shivgupt
Copy link

shivgupt commented Nov 5, 2019

Multiple pay period proposal

Description

A dev/dev-team can propose a contract that extends over multiple months with a bimonthly/monthly pay. If the DAO trusts the developer or the team proposing a several month long contract then they need to pass the proposal to pay them just once.

Pros: If the proposal is for project expanding over multiple months, then

  1. The DAO does not need to vote on funding the same team for the same project multiple times i.e for every pay period
  2. The DAO can still maintain its monthly budget by not paying a huge amount for a long project all at once.

Cons: Once the proposal passes, the funding is approved for all the periods and can't be canceled in the middle.

Hence, the DAO should still approve a huge amount funding only for the known teams/devs that have proved in passed and not for the new teams/devs

User Story

Team X has been involved with the DAO for several months and delivered a great work for their past (couple) proposals and understands the DAOstack architecture pretty well.

The team now has a really cool integration in mind but this would take about 6 months of time for the integration to finish. But if the propose to get funded for 6 months all together, it would be DAOs entire monthly budget, but it makes sense to get funded for all or nothing.

In this situation the team can propose the total amount of funding for the project with 6 periods and each period be month long.

How to

The 4th parameter of the proposeContributionReward is a uint[5] _rewards array and the details for this array is as follows.

rewards[0] - Amount of tokens requested per period
rewards[1] - Amount of ETH requested per period
rewards[2] - Amount of external tokens requested per period
rewards[3] - Period length - if set to zero it allows immediate redeeming after execution.
rewards[4] - Number of periods

Currently, Alchemy UI does not take input for rewards[3] and rewards[4]. The values for these are set to 0 and 1 respectively.

You will have to enable the UI to take input for rewards[3] and rewards[4] in createProposal form.

@shivgupt shivgupt added good first issue Good for newcomers help wanted Extra attention is needed Alchemy dApp layer of DAOstack stack labels Nov 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Alchemy dApp layer of DAOstack stack good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant