sunshine-protocol / sunshine

Governance + Bounty Platform
Other
43 stars 16 forks source link

bounty #132

Closed 4meta5 closed 4 years ago

4meta5 commented 4 years ago
4meta5 commented 4 years ago

I'm storing them locally for now and will rewrite them later...There are some edge cases which are explored in bounty, bounty2 and grant i.e.

Neither of these are covered in the current version because they add more complexity than they're worth.

We should at some point add something for closing a bounty, but returning funds to contributors is hard if any spends have been made. There is no explicit dilution mechanism for contributors and that ambiguity makes things a bit more complicated. I have some ideas here, like, for example, forming an OrgId from the Vec<(AccountId, Balance)> which comprises the state of the BountyTips map and then make_prop_donation to that OrgId with the remaining funds. This would ensure that the funds received are proportional to the tacit ownership in the bounty implied by existing contributions.