Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function getStudent () public;
- event student(
- bytes32 firstNameName,
- bytes32 lastName,
- bytes32 Studies,
- uint age,
- uint DateOfBirth,
- bytes32 ipfs_hash
- );
- function checkStudentExists() public constant returns (bool) {
- if (student == firstName && student == lastName) return true;
- }
- function setIPFSHash(bytes32 _ipfs_hash) public onlyOwnerOrStudent {
- ipfs_hash = _ipfs_hash;
- }
Add Comment
Please, Sign In to add comment