go-ethereum/contracts/chequebook/contract/owned.sol

16 lines
222 B
Solidity

pragma solidity ^0.4.0;
contract owned {
address owner;
modifier onlyowner() {
if (msg.sender == owner) {
_;
}
}
function owned() public {
owner = msg.sender;
}
}