{
  "contractName": "Destructible",
  "abi": [
    {
      "constant": false,
      "inputs": [],
      "name": "destroy",
      "outputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "owner",
      "outputs": [
        {
          "name": "",
          "type": "address"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "newOwner",
          "type": "address"
        }
      ],
      "name": "transferOwnership",
      "outputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "_recipient",
          "type": "address"
        }
      ],
      "name": "destroyAndSend",
      "outputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [],
      "payable": true,
      "stateMutability": "payable",
      "type": "constructor"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "name": "previousOwner",
          "type": "address"
        },
        {
          "indexed": true,
          "name": "newOwner",
          "type": "address"
        }
      ],
      "name": "OwnershipTransferred",
      "type": "event"
    }
  ],
  "bytecode": "0x606060405260008054600160a060020a033316600160a060020a031990911617905561020e806100306000396000f3006060604052600436106100615763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166383197ef081146100665780638da5cb5b1461007b578063f2fde38b146100aa578063f5074f41146100c9575b600080fd5b341561007157600080fd5b6100796100e8565b005b341561008657600080fd5b61008e610111565b604051600160a060020a03909116815260200160405180910390f35b34156100b557600080fd5b610079600160a060020a0360043516610120565b34156100d457600080fd5b610079600160a060020a03600435166101bb565b60005433600160a060020a0390811691161461010357600080fd5b600054600160a060020a0316ff5b600054600160a060020a031681565b60005433600160a060020a0390811691161461013b57600080fd5b600160a060020a038116151561015057600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60005433600160a060020a039081169116146101d657600080fd5b80600160a060020a0316ff00a165627a7a723058208125970db941d847a352cd91c1712b4d00b57d612c7eaf57614aa6269daccb790029",
  "deployedBytecode": "0x6060604052600436106100615763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166383197ef081146100665780638da5cb5b1461007b578063f2fde38b146100aa578063f5074f41146100c9575b600080fd5b341561007157600080fd5b6100796100e8565b005b341561008657600080fd5b61008e610111565b604051600160a060020a03909116815260200160405180910390f35b34156100b557600080fd5b610079600160a060020a0360043516610120565b34156100d457600080fd5b610079600160a060020a03600435166101bb565b60005433600160a060020a0390811691161461010357600080fd5b600054600160a060020a0316ff5b600054600160a060020a031681565b60005433600160a060020a0390811691161461013b57600080fd5b600160a060020a038116151561015057600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60005433600160a060020a039081169116146101d657600080fd5b80600160a060020a0316ff00a165627a7a723058208125970db941d847a352cd91c1712b4d00b57d612c7eaf57614aa6269daccb790029",
  "sourceMap": "198:346:30:-;;;501:5:33;:18;;-1:-1:-1;;;;;509:10:33;501:18;-1:-1:-1;;;;;;501:18:33;;;;;;198:346:30;;;;;;",
  "deployedSourceMap": "198:346:30:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;376:66;;;;;;;;;;;;;;238:20:33;;;;;;;;;;;;;;;-1:-1:-1;;;;;238:20:33;;;;;;;;;;;;;;834:169;;;;;;;;;;-1:-1:-1;;;;;834:169:33;;;;;446:96:30;;;;;;;;;;-1:-1:-1;;;;;446:96:30;;;;;376:66;654:5:33;;640:10;-1:-1:-1;;;;;640:19:33;;;654:5;;640:19;632:28;;;;;;431:5:30;;-1:-1:-1;;;;;431:5:30;418:19;238:20:33;;;-1:-1:-1;;;;;238:20:33;;:::o;834:169::-;654:5;;640:10;-1:-1:-1;;;;;640:19:33;;;654:5;;640:19;632:28;;;;;;-1:-1:-1;;;;;910:22:33;;;;902:31;;;;;;960:5;;-1:-1:-1;;;;;939:37:33;;;;960:5;939:37;;;;;;;;;;982:5;:16;;-1:-1:-1;;982:16:33;-1:-1:-1;;;;;982:16:33;;;;;;;;;;834:169::o;446:96:30:-;654:5:33;;640:10;-1:-1:-1;;;;;640:19:33;;;654:5;;640:19;632:28;;;;;;526:10:30;-1:-1:-1;;;;;513:24:30;",
  "source": "pragma solidity ^0.4.18;\n\n\nimport \"../ownership/Ownable.sol\";\n\n\n/**\n * @title Destructible\n * @dev Base contract that can be destroyed by owner. All funds in contract will be sent to the owner.\n */\ncontract Destructible is Ownable {\n\n  function Destructible() public payable { }\n\n  /**\n   * @dev Transfers the current balance to the owner and terminates the contract.\n   */\n  function destroy() onlyOwner public {\n    selfdestruct(owner);\n  }\n\n  function destroyAndSend(address _recipient) onlyOwner public {\n    selfdestruct(_recipient);\n  }\n}\n",
  "sourcePath": "zeppelin-solidity/contracts/lifecycle/Destructible.sol",
  "ast": {
    "attributes": {
      "absolutePath": "zeppelin-solidity/contracts/lifecycle/Destructible.sol",
      "exportedSymbols": {
        "Destructible": [
          10123
        ]
      }
    },
    "children": [
      {
        "attributes": {
          "literals": [
            "solidity",
            "^",
            "0.4",
            ".18"
          ]
        },
        "id": 10093,
        "name": "PragmaDirective",
        "src": "0:24:30"
      },
      {
        "attributes": {
          "SourceUnit": 10302,
          "absolutePath": "zeppelin-solidity/contracts/ownership/Ownable.sol",
          "file": "../ownership/Ownable.sol",
          "scope": 10124,
          "symbolAliases": [
            null
          ],
          "unitAlias": ""
        },
        "id": 10094,
        "name": "ImportDirective",
        "src": "27:34:30"
      },
      {
        "attributes": {
          "contractDependencies": [
            10301
          ],
          "contractKind": "contract",
          "documentation": "@title Destructible\n@dev Base contract that can be destroyed by owner. All funds in contract will be sent to the owner.",
          "fullyImplemented": true,
          "linearizedBaseContracts": [
            10123,
            10301
          ],
          "name": "Destructible",
          "scope": 10124
        },
        "children": [
          {
            "attributes": {
              "arguments": [
                null
              ]
            },
            "children": [
              {
                "attributes": {
                  "contractScope": null,
                  "name": "Ownable",
                  "referencedDeclaration": 10301,
                  "type": "contract Ownable"
                },
                "id": 10095,
                "name": "UserDefinedTypeName",
                "src": "223:7:30"
              }
            ],
            "id": 10096,
            "name": "InheritanceSpecifier",
            "src": "223:7:30"
          },
          {
            "attributes": {
              "constant": false,
              "implemented": true,
              "isConstructor": true,
              "modifiers": [
                null
              ],
              "name": "Destructible",
              "payable": true,
              "scope": 10123,
              "stateMutability": "payable",
              "superFunction": null,
              "visibility": "public"
            },
            "children": [
              {
                "attributes": {
                  "parameters": [
                    null
                  ]
                },
                "children": [],
                "id": 10097,
                "name": "ParameterList",
                "src": "257:2:30"
              },
              {
                "attributes": {
                  "parameters": [
                    null
                  ]
                },
                "children": [],
                "id": 10098,
                "name": "ParameterList",
                "src": "275:0:30"
              },
              {
                "attributes": {
                  "statements": [
                    null
                  ]
                },
                "children": [],
                "id": 10099,
                "name": "Block",
                "src": "275:3:30"
              }
            ],
            "id": 10100,
            "name": "FunctionDefinition",
            "src": "236:42:30"
          },
          {
            "attributes": {
              "constant": false,
              "implemented": true,
              "isConstructor": false,
              "name": "destroy",
              "payable": false,
              "scope": 10123,
              "stateMutability": "nonpayable",
              "superFunction": null,
              "visibility": "public"
            },
            "children": [
              {
                "attributes": {
                  "parameters": [
                    null
                  ]
                },
                "children": [],
                "id": 10101,
                "name": "ParameterList",
                "src": "392:2:30"
              },
              {
                "attributes": {
                  "parameters": [
                    null
                  ]
                },
                "children": [],
                "id": 10104,
                "name": "ParameterList",
                "src": "412:0:30"
              },
              {
                "attributes": {
                  "arguments": [
                    null
                  ]
                },
                "children": [
                  {
                    "attributes": {
                      "argumentTypes": null,
                      "overloadedDeclarations": [
                        null
                      ],
                      "referencedDeclaration": 10275,
                      "type": "modifier ()",
                      "value": "onlyOwner"
                    },
                    "id": 10102,
                    "name": "Identifier",
                    "src": "395:9:30"
                  }
                ],
                "id": 10103,
                "name": "ModifierInvocation",
                "src": "395:9:30"
              },
              {
                "children": [
                  {
                    "children": [
                      {
                        "attributes": {
                          "argumentTypes": null,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "isStructConstructorCall": false,
                          "lValueRequested": false,
                          "names": [
                            null
                          ],
                          "type": "tuple()",
                          "type_conversion": false
                        },
                        "children": [
                          {
                            "attributes": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_address",
                                  "typeString": "address"
                                }
                              ],
                              "overloadedDeclarations": [
                                null
                              ],
                              "referencedDeclaration": 10873,
                              "type": "function (address)",
                              "value": "selfdestruct"
                            },
                            "id": 10105,
                            "name": "Identifier",
                            "src": "418:12:30"
                          },
                          {
                            "attributes": {
                              "argumentTypes": null,
                              "overloadedDeclarations": [
                                null
                              ],
                              "referencedDeclaration": 10249,
                              "type": "address",
                              "value": "owner"
                            },
                            "id": 10106,
                            "name": "Identifier",
                            "src": "431:5:30"
                          }
                        ],
                        "id": 10107,
                        "name": "FunctionCall",
                        "src": "418:19:30"
                      }
                    ],
                    "id": 10108,
                    "name": "ExpressionStatement",
                    "src": "418:19:30"
                  }
                ],
                "id": 10109,
                "name": "Block",
                "src": "412:30:30"
              }
            ],
            "id": 10110,
            "name": "FunctionDefinition",
            "src": "376:66:30"
          },
          {
            "attributes": {
              "constant": false,
              "implemented": true,
              "isConstructor": false,
              "name": "destroyAndSend",
              "payable": false,
              "scope": 10123,
              "stateMutability": "nonpayable",
              "superFunction": null,
              "visibility": "public"
            },
            "children": [
              {
                "children": [
                  {
                    "attributes": {
                      "constant": false,
                      "name": "_recipient",
                      "scope": 10122,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "address",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "address",
                          "type": "address"
                        },
                        "id": 10111,
                        "name": "ElementaryTypeName",
                        "src": "470:7:30"
                      }
                    ],
                    "id": 10112,
                    "name": "VariableDeclaration",
                    "src": "470:18:30"
                  }
                ],
                "id": 10113,
                "name": "ParameterList",
                "src": "469:20:30"
              },
              {
                "attributes": {
                  "parameters": [
                    null
                  ]
                },
                "children": [],
                "id": 10116,
                "name": "ParameterList",
                "src": "507:0:30"
              },
              {
                "attributes": {
                  "arguments": [
                    null
                  ]
                },
                "children": [
                  {
                    "attributes": {
                      "argumentTypes": null,
                      "overloadedDeclarations": [
                        null
                      ],
                      "referencedDeclaration": 10275,
                      "type": "modifier ()",
                      "value": "onlyOwner"
                    },
                    "id": 10114,
                    "name": "Identifier",
                    "src": "490:9:30"
                  }
                ],
                "id": 10115,
                "name": "ModifierInvocation",
                "src": "490:9:30"
              },
              {
                "children": [
                  {
                    "children": [
                      {
                        "attributes": {
                          "argumentTypes": null,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "isStructConstructorCall": false,
                          "lValueRequested": false,
                          "names": [
                            null
                          ],
                          "type": "tuple()",
                          "type_conversion": false
                        },
                        "children": [
                          {
                            "attributes": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_address",
                                  "typeString": "address"
                                }
                              ],
                              "overloadedDeclarations": [
                                null
                              ],
                              "referencedDeclaration": 10873,
                              "type": "function (address)",
                              "value": "selfdestruct"
                            },
                            "id": 10117,
                            "name": "Identifier",
                            "src": "513:12:30"
                          },
                          {
                            "attributes": {
                              "argumentTypes": null,
                              "overloadedDeclarations": [
                                null
                              ],
                              "referencedDeclaration": 10112,
                              "type": "address",
                              "value": "_recipient"
                            },
                            "id": 10118,
                            "name": "Identifier",
                            "src": "526:10:30"
                          }
                        ],
                        "id": 10119,
                        "name": "FunctionCall",
                        "src": "513:24:30"
                      }
                    ],
                    "id": 10120,
                    "name": "ExpressionStatement",
                    "src": "513:24:30"
                  }
                ],
                "id": 10121,
                "name": "Block",
                "src": "507:35:30"
              }
            ],
            "id": 10122,
            "name": "FunctionDefinition",
            "src": "446:96:30"
          }
        ],
        "id": 10123,
        "name": "ContractDefinition",
        "src": "198:346:30"
      }
    ],
    "id": 10124,
    "name": "SourceUnit",
    "src": "0:545:30"
  },
  "compiler": {
    "name": "solc",
    "version": "0.4.18+commit.9cf6e910.Emscripten.clang"
  },
  "networks": {},
  "schemaVersion": "1.0.1",
  "updatedAt": "2018-01-25T13:14:57.930Z"
}