github.com/linapex/ethereum-go-chinese@v0.0.0-20190316121929-f8b7a73c3fa1/contracts/chequebook/contract/mortal.sol (about) 1 pragma solidity ^0.4.0; 2 3 import "./owned.sol"; 4 5 contract mortal is owned { 6 function kill() public { 7 if (msg.sender == owner) 8 selfdestruct(owner); 9 } 10 }