forked from cerc-io/plugeth
16 lines
222 B
Solidity
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;
|
||
|
}
|
||
|
}
|