aboutsummaryrefslogblamecommitdiffstats
path: root/contracts/chequebook/contract/owned.sol
blob: ee9860d343af09f4883dba1fa68771575d8ea64c (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                  
pragma solidity ^0.4.0;

contract owned {
    address owner;

    modifier onlyowner() {
        if (msg.sender == owner) {
            _;
        }
    }

    function owned() public {
        owner = msg.sender;
    }
}