solidity/std/owned.sol

14 lines
189 B
Solidity
Raw Normal View History

2016-08-16 19:10:40 +00:00
contract owned {
address owner;
modifier onlyowner() {
if (msg.sender == owner) {
_
}
}
function owned() {
owner = msg.sender;
}
}