Guest User

Untitled

a guest
Jul 18th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. pragma solidity ^0.4.19;
  2.  
  3.  
  4. contract Test1 {
  5. bytes32 originalHash;
  6.  
  7. constructor(bytes32 _originalHash) public {
  8. originalHash = _originalHash;
  9. }
  10.  
  11. function hash(uint originalValue) public view returns (bool) {
  12. if (originalValue == uint(originalHash)) return true;
  13. return false;
  14. }
  15. }
Add Comment
Please, Sign In to add comment