Contract meant to plug into any existing ERC20 token that wants to incentivize crowdsourced development for their platform. Participants register their submission and the contract owner approves it. Token holders stake their token into the contract and vote for their favorite submission with their stake.
- Must call
approve()
on token contract before staking or adding bounty - Contract owner sets the bounty and timeframe for challenge
- No split votes (entire staked amount goes to choice)
- Must remove vote before removing stake
- If you stake more tokens after voting, you must remove your vote before that new staked amount can count towards a vote
- One submission per address
- What if there's a 2+ tie with votes?
- Should there be a cancel/revert for entire contest?
- Add timeframe for submissions then allow for voting
- Reward people who voted for winning submission with 10% of bounty
- Tournament style with highest votes going to next round
In order to run this project, follow the guide in the instructions folder. https://github.com/mokn/DevContest/blob/master/instructions/DevContest%20Startup%20Guide.pdf