Guest User

Untitled

a guest
Jul 21st, 2018
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. function getStudent () public;
  2.  
  3. event student(
  4. bytes32 firstNameName,
  5. bytes32 lastName,
  6. bytes32 Studies,
  7. uint age,
  8. uint DateOfBirth,
  9. bytes32 ipfs_hash
  10. );
  11.  
  12. function checkStudentExists() public constant returns (bool) {
  13. if (student == firstName && student == lastName) return true;
  14. }
  15.  
  16. function setIPFSHash(bytes32 _ipfs_hash) public onlyOwnerOrStudent {
  17. ipfs_hash = _ipfs_hash;
  18. }
Add Comment
Please, Sign In to add comment