SHARE
TWEET

Untitled

a guest Aug 18th, 2019 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. pragma solidity ^0.4.17;
  2.  
  3. contract Inbox {
  4.     string public message;
  5.    
  6.     function Inbox(string initialMessage) public {
  7.         message = initialMessage;
  8.     }
  9.     function setMessage(string newMessage) public {
  10.         message = newMessage;
  11.     }
  12.    
  13.     function getMessage() public view returns (string) {
  14.         return message;
  15.     }
  16. }
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