Code has been added to clipboard!

Use of Modifiers in Solidity Functions

Example
contract mortal is owned {
    function close() public onlyOwner {
        selfdestruct(owner);
    }
}