//Write your own contracts here. Currently compiles using solc v0.4.15+commit.bbb8e64f. pragma solidity ^0.4.25; contract SimpleStore { // data string text; int number; address myAddress; struct sampleStruct { string Name; string nickName; } sampleStruct myInfo = sampleStruct("Vince Millora", "Binsu"); mapping (address => uint) accountBalance; // call just once constructor() public { text="empty"; number = 0; myAddress = msg.sender; accountBalance[msg.sender]= 100; } function setText(string _text) public { text = _text; } function getText() public constant returns (string) { return text; } }
0.4.25