SHARE
TWEET

Untitled

a guest Apr 21st, 2019 75 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. pragma solidity ^0.4.25;
  2.  
  3. contract Message {
  4.    
  5.     string public message;
  6.    
  7.     constructor(string memory _message) public {
  8.         message = _message;
  9.     }
  10.    
  11.     function setMessage (string memory _newMessage) public {
  12.         message = _newMessage;
  13.     }
  14.    
  15.     function getMessage() public view returns(string memory) {
  16.         return message;
  17.     }
  18. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top