• Stars
    star
    166
  • Rank 227,748 (Top 5 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created almost 5 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Proof-of-Humanity v1 smart contracts

Proof-Of-Humanity

Proof-of-Humanity smart contract

You must use the isRegistered(address _party) function to determine if an address is or isn't registered. Do not use getSubmissionInfo(address _submissionId).registered since this only returns the state of the submissionInfo variable without considering submission expiration date.

If you are referring to Proof Of Humanity, we advise you to either:

  • Reference the main contract and have a mechanism to switch to a new one.
  • Reference the proxy which will automatically be updated in case of new versions (like one allowing anonymous accounts). The proxy also acts as a pseudo-ERC20 returning a balance of 1 VOTE to people registered in the registry. This allows to use it for some voting systems using tokens such as Snapshot.

If you want to test on Kovan, see this post.