Skip to content

Instantly share code, notes, and snippets.

@MihaiWill
MihaiWill / Courses.sol
Created February 8, 2018 19:21 — forked from anonymous/Courses.sol
Created using browser-solidity: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://ethereum.github.io/browser-solidity/#version=soljson-v0.4.19+commit.c4cbbb05.js&optimize=false&gist=
pragma solidity ^0.4.18;
contract Owned {
address owner;
function Owned() public {
owner = msg.sender;
}
modifier onlyOwner {