//Write your own contracts here. Currently compiles using solc v0.4.15+commit.bbb8e64f. pragma solidity ^0.4.25; contract FourOutOfFive { address private _owner; mapping (uint256 => string) availableBets; constructor() public { _owner = msg.sender; } modifier onlyOwner() { require(_owner == msg.sender); _; } // Add New Bet Size. Allow games with different bet sizes at the same time function addBetSize(uint256 betSize) public onlyOwner { availableBets[betSize] = "available"; } function removeBetSize(uint256 betSize) public onlyOwner { delete availableBets[betSize]; } /* function set(uint _value) public { value = _value; } function get() public constant returns (uint) { return value; } uint value; */ }
0.4.25