4 releases

0.1.1 Jul 15, 2020
0.0.6 Jul 8, 2020
0.0.5 Jul 1, 2020
0.0.1 Jun 2, 2020

#6 in #sunshine

38 downloads per month
Used in 3 crates (2 directly)

GPL-3.0 license

250KB
6K SLoC

Sunshine DAO

Build

"Over time, all the components of the DAO are likely to be upgraded using its own mechanisms...Given the high requirements for stability, self-improvement will be critical to the survival of any DAO-based democratic system." ~DAOs, Democracy and Governance by Ralph Merkle

sunshine-bounty is a governance chain written in Substrate. It is experimental software. The design targets short-term developer contracts -- it may become something similar to Gitcoin or Aragon with organizations using the platform to post bounties and teams using the platform to pursue bounties.

To read more about the design, see the Sunshine Recipes


lib.rs:

The bounty module allows registered organizations with on-chain bank accounts to register as a foundation to post bounties and supervise ongoing grant pursuits.

(Id, Id) Design Justification

"WHY so many double_maps in storage with (BountyId, BountyId)?" We use this structure for efficient clean up via double_map.remove_prefix() once a bounty needs to be removed from the storage state so that we can efficiently remove all associated state i.e. applications for a bounty or milestones submitted under a bounty

Dependencies

~5–15MB
~187K SLoC