This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.0; | |
contract MyFirstContract { | |
string private name; | |
uint private age; | |
// Can use var newName but that by default will take 256 bits | |
function setName(string newName) { | |
name = newName; | |
} |
NewerOlder