This repository is currently being analyzed. There is also another analysis on more recent changes.

No Description

Dorin Stan 2cf0336a27 Update readme.md with presentation link 3 years ago
.idea d479c7b411 first commit 3 years ago
contracts 1289b5635c 2nd commit 3 years ago
.DS_Store 1289b5635c 2nd commit 3 years ago
README.md 2cf0336a27 Update readme.md with presentation link 3 years ago
modex.ini 9581cbc6ae Initial commit 3 years ago

README.md

Petition

The formal request on blockchain, typically one signed by many people, appealing to authority in respect of a particular cause. The cause and the authority will be declared by the contract owner.

Available methods:

  1. getOwner Returns the owner address
  2. getAddressedTo Gets the institution the Petition is addressed to
  3. setAddressedTo Sets the institution the Petition is addressed to
  4. addSignerAndSign Add a new signer to the list and signs the Petition.
  5. retractSign Retracts the signature with the calling address from the list.
  6. getSigner Gets the signer with a specific index from the signature list.
  7. signPetition Signs the Petition.
  8. getSignaturesNumber Returns the number of Petition signatures.
  9. getSignatureIndexByIdentificationId Returns the singnature index by providing the identification id
  10. getRetractedSignaturesIndex Returns retracted signatures number
  11. kill Destroy the contract.

Info: Smart contracts short presentation