github.com/neatlab/neatio@v1.7.3-0.20220425043230-d903e92fcc75/chain/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 }