ProofSuite / OrFeed

DeFi & Distributed Data Service Aggregator
https://www.orfeed.org
Apache License 2.0
242 stars 153 forks source link

OrFeed Judge Voting Contract For Prediction Market #52

Closed mikedeshazer closed 4 years ago

mikedeshazer commented 4 years ago

Thanks for stopping by and checking out this issue.

This proposed voting contract will be used by judges serving as oracles in a market such as https://www.floater.market and allows:

  1. Authorized Ethereum Addresses to Vote on an event via a string of "TRUE" , "UNDECIDED" or "FALSE". Each address should be tied to a name and description that can be edited by the contract owner or the address owners.

  2. There is a vote window in a period days starting at some point in the future which can be set/reset by the owner of the contract. The owner can also add or remove judges until the voting period.

  3. Once all judges have voted or when the vote period is over, there will be a resolve of "TRUE", "FALSE" or "UNDECIDED" based on the vote averages.

  4. This function should return the ultimate vote ("TRUE", "FALSE"... or status (such as "VOTENOTREADY" or "VOTEINPROGRESS") string if the vote has not ended.: function getResultFromOracle(string memory _theEvent, uint _dataIndex) public view returns (string memory){ return events[_theEvent][_dataIndex]; }

  5. This contract will be registered each time there is an event to the event registry every time there is a new prediction market for the judges, so there will ideally be a public strings of whats being voted on and the description, which can be set by owner when the contract is deployed (and edited by owner until the voting period starts).

  6. Therefore there should be a few public constant functions that allow people to see the information such as time til vote, judges array, array of all votes, status (begun, ended, etc)

If you have any questions or feedback, please feel free to drop by our new Discord: https://discord.gg/byCPVsY

gitcoinbot commented 4 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


This issue now has a funding of 0.4 ETH (87.04 USD @ $217.61/ETH) attached to it as part of the ProofSuite fund.

gitcoinbot commented 4 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work has been started.

These users each claimed they can complete the work by 3 weeks, 5 days from now. Please review their action plans below:

1) codinmaster has started work.

Worked with OrFeed before. Would look into this issue as well. 2) flimsylee has started work.

I promise not be biased about my judgements and ready work with others. 3) mul1sh has started work.

I have implemented the contract as required 4) arun0930 has started work.

arun chueasanga0x75e17555d1aB66377d24D866b86A691C653cE73d 5) vjiqbal has started work.

make some AMA on famous group and u will get lot of member that use youre project, just that thanks

Learn more on the Gitcoin Issue Details page.

gitcoinbot commented 4 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work for 0.4 ETH (88.41 USD @ $221.02/ETH) has been submitted by:

  1. @mul1sh

@mikedeshazer please take a look at the submitted work:


mikedeshazer commented 4 years ago

Temporarily closing while we review a PR over weekend.

gitcoinbot commented 4 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


The funding of 0.4 ETH (91.1 USD @ $227.74/ETH) attached to this issue has been approved & issued to @mul1sh.