github.com/intfoundation/intchain@v0.0.0-20220727031208-4316ad31ca73/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 }