Facebook
From Wet Guinea Pig, 1 Year ago, written in Plain Text.
This paste is a reply to Untitled from XRP DEV - view diff
Embed
Download Paste or View Raw
Hits: 149
  1. // SPDX-License-Identifier: GPL-3.0
  2. pragma solidity >=0.4.16 <0.9.0;
  3.  
  4. contract SimpleStorage {
  5.    
  6.     string name;
  7.    
  8.    
  9.    
  10.     function set(string memory x) public {
  11.         name = x;
  12.     }
  13.    
  14.     function get() public view returns (string memory) {
  15.         return name;
  16.     }
  17.    
  18. }