[WIP] Add Contribution contract #55

Merged
bumi merged 5 commits from contribution-contract into master 2019-04-02 19:36:38 +00:00
bumi commented 2018-06-18 13:32:25 +00:00 (Migrated from github.com)

The contribution contract implements an ERC721 interface which represents any contribution.
The contributions are non-fungible (as opposed to the Kredits tokens) and can be not be transferred.
The contract stores the history of any contribution. Contributions can be claimed which will issue the Kredits tokens to the contributor.

This is an early implementation and misses some access control and probably more things.

To do:

  • Store token metadata URL in ContributionData
  • Store contribution IPFS hash in ContributionData
  • Rename operator to proposal
  • Remove obsolete data and functions from Proposal
  • Add proposal id to ContributionData
  • Veto function for Contribution: creates a proposal if requirement fulfilled (maybe just coreonly for now)
  • If contribution has a proposal, then only allow claiming if proposal result is positive
  • Add rejection to Proposal
  • Update JS wrapper to reflect changes

ref: #52

The contribution contract implements an ERC721 interface which represents any contribution. The contributions are non-fungible (as opposed to the Kredits tokens) and can be not be transferred. The contract stores the history of any contribution. Contributions can be claimed which will issue the Kredits tokens to the contributor. This is an early implementation and misses some access control and probably more things. To do: - [ ] Store token metadata URL in ContributionData - [ ] Store contribution IPFS hash in ContributionData - [ ] Rename operator to proposal - [ ] Remove obsolete data and functions from Proposal - [ ] Add proposal id to ContributionData - [ ] Veto function for Contribution: creates a proposal if requirement fulfilled (maybe just coreonly for now) - [ ] If contribution has a proposal, then only allow claiming if proposal result is positive - [ ] Add rejection to Proposal - [ ] Update JS wrapper to reflect changes ref: #52
Sign in to join this conversation.
No description provided.