pull/184/head
Joran Honig 7 years ago
parent 93df00b669
commit b3da975d4f
  1. 17
      TOY.sol

@ -1,17 +0,0 @@
pragma solidity ^0.4.2;
contract TOY {
address public owner;
bool public FLAG;
modifier checkOwner {
require(msg.sender == owner); _;
}
function TOY() { owner = msg.sender; }
function setFlag(bool newFLAG) public { FLAG = newFLAG; }
function boom() public checkOwner {
selfdestruct(owner);
}
}
Loading…
Cancel
Save