Advertisement
Guest User

Test contract

a guest
Jun 11th, 2019
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. pragma solidity ^0.5.0;
  2.  
  3. /**
  4. * @notice Minimal contract for testing purposes.
  5. */
  6. contract TestContract {
  7. event AnchorCreated(string indexed blockHash, uint256 blockHeight);
  8.  
  9. constructor() public {
  10. }
  11.  
  12. function createAnchor(string memory _blockHash, uint256 _blockHeight) public {
  13. emit AnchorCreated(_blockHash, _blockHeight);
  14. }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement