github.com/aquanetwork/aquachain@v1.7.8/opt/contracts/chequebook/contract/owned.sol (about) 1 pragma solidity ^0.4.0; 2 3 contract owned { 4 address owner; 5 6 modifier onlyowner() { 7 if (msg.sender == owner) { 8 _; 9 } 10 } 11 12 function owned() public { 13 owner = msg.sender; 14 } 15 }