owned.sol 222 B

12345678910111213141516
  1. pragma solidity ^0.4.0;
  2. contract owned {
  3. address owner;
  4. modifier onlyowner() {
  5. if (msg.sender == owner) {
  6. _;
  7. }
  8. }
  9. function owned() public {
  10. owner = msg.sender;
  11. }
  12. }