//Write your own contracts here. Currently compiles using solc v0.4.15+commit.bbb8e64f. pragma solidity ^0.4.18; contract SimpleStore { string name = "University Acdemic Token"; string symbol = "UAT"; // University Acdemic Token enum State { Complete, Inactive, Active } bool Cheat; uint gpa; State choice; State constant defaultChoice = State.Active; uint StateValue; uint256 studentId; uint256 schoolId; function set(uint _gpa, bool _Cheat, uint256 _studentId, uint256 _schoolId, uint _choice) public { gpa = _gpa; Cheat = _Cheat; studentId = _studentId; schoolId = _schoolId; StateValue = _choice; } function getChoice() public view returns (State) { return choice; } function getDefaultChoice() public pure returns (uint) { return uint(defaultChoice); } }
0.4.18