Skip to content

Instantly share code, notes, and snippets.

@pedroduartecosta
Last active June 20, 2019 16:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pedroduartecosta/757148680a7f010085d1e4fe509ca2bd to your computer and use it in GitHub Desktop.
Save pedroduartecosta/757148680a7f010085d1e4fe509ca2bd to your computer and use it in GitHub Desktop.
pragma solidity >=0.4.21 <0.6.0;
contract Oracle {
 Request[] requests; //list of requests made to the contract
 uint currentId = 0; //increasing request id
 uint minQuorum = 2; //minimum number of responses to receive before declaring final result
 uint totalOracleCount = 3; // Hardcoded oracle count
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment