Giveth-dapp: Smart Contract Upgrades

Created on 5 Nov 2018  路  3Comments  路  Source: Giveth/giveth-dapp

There is an awesome milestone talking about potential upgrades: https://beta.giveth.io/campaigns/5b39d45e14cec916d00dab20/milestones/5bde03f68c322044ef55f10d

I would like to add to it a few things :-D

SCOPE CREEP!

  1. Updating the bridge contract: To address #516 and #478 we need to make sure there is an easy way for people to donate to a milestone or campaign by sending funds directly to an Ethereum address (and then we can even display a qr code!)... This will get especially complicated for tokens... but I hope a solution can be engineered :-D

  2. Make it easy for a milestone to send money to a campaign (this is probably a UI thing?)

  3. Make a Milestone contract that allows marking milestone complete and the reviewer to be optional... so that basically, if money is pledged to the milestone, it can be instantly withdrawn.

feature request

Most helpful comment

Make it easy for a milestone to send money to a campaign (this is probably a UI thing?)

This is already #11 in the milestone. However I still need to verify what would happen in the scenario that the recipient campaign was canceled, especially if it wasn't the parent campaign. I need to investigate further to assess the feasibility of this.

Make a Milestone contract that allows marking milestone complete and the reviewer to be optional... so that basically, if money is pledged to the milestone, it can be instantly withdrawn.

I think simplifying the contract to a single optional reviewer (opposed to the current 2 reviewer system) makes sense. The ui would default to the campaign manager as the reviewer, but allow removing the reviewer altogether or setting to any address.

Updating the bridge contract: To address #516 and #478

This is already possible and not too difficult. However there are a few things that need to be determined, like what happens when the bridge is upgraded? I assume we only want the money to be able to be transferred to the bridge. I think this will be a separate milestone to be tackled after the linked milestone is finished

All 3 comments

Make it easy for a milestone to send money to a campaign (this is probably a UI thing?)

This is already #11 in the milestone. However I still need to verify what would happen in the scenario that the recipient campaign was canceled, especially if it wasn't the parent campaign. I need to investigate further to assess the feasibility of this.

Make a Milestone contract that allows marking milestone complete and the reviewer to be optional... so that basically, if money is pledged to the milestone, it can be instantly withdrawn.

I think simplifying the contract to a single optional reviewer (opposed to the current 2 reviewer system) makes sense. The ui would default to the campaign manager as the reviewer, but allow removing the reviewer altogether or setting to any address.

Updating the bridge contract: To address #516 and #478

This is already possible and not too difficult. However there are a few things that need to be determined, like what happens when the bridge is upgraded? I assume we only want the money to be able to be transferred to the bridge. I think this will be a separate milestone to be tackled after the linked milestone is finished

I think simplifying the contract to a single optional reviewer (opposed to the current 2 reviewer system) makes sense. The ui would default to the campaign manager as the reviewer, but allow removing the reviewer altogether or setting to any address.

What i am requesting is a milestone that is as smooth as possible for regular rewards and other non-bounty type applications. The flow would be:

  1. Milestone is Proposed
  2. Milestone is Accepted
  3. Milestone is Funded
  4. Payment is dispersed

Whether that is it's own plugin or the current milestone plugin is changed to:

  1. Milestone is Proposed
  2. Milestone is Accepted
  3. Milestone is Funded
    4a. Milestone is Marked complete (OPTIONAL)
    4b. Milestone is Reviewed (OPTIONAL)
    4c. Payment is dispersed

The other cool thing to add here is that milestones can continue to receive money after some money has been dispersed. :-D

@GriffGreen

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mahdine picture mahdine  路  5Comments

danelsuga picture danelsuga  路  6Comments

krrisis picture krrisis  路  6Comments

MoeNick picture MoeNick  路  7Comments

GriffGreen picture GriffGreen  路  3Comments