From b3da975d4fa53fe5ff81cf792ea989ba92b86a3f Mon Sep 17 00:00:00 2001 From: Joran Honig Date: Thu, 10 May 2018 16:08:12 +0200 Subject: [PATCH] remove toy --- TOY.sol | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 TOY.sol diff --git a/TOY.sol b/TOY.sol deleted file mode 100644 index bcc810fd..00000000 --- a/TOY.sol +++ /dev/null @@ -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); - } -}