ipld-eth-server/vendor/github.com/ethereum/go-ethereum/contracts/chequebook/contract/owned.sol

16 lines
222 B
Solidity
Raw Normal View History

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