solidity/std/owned.sol
2016-08-19 11:13:24 -04:00

14 lines
189 B
Solidity

contract owned {
address owner;
modifier onlyowner() {
if (msg.sender == owner) {
_
}
}
function owned() {
owner = msg.sender;
}
}