contract EchoChainToken is BurnableToken, MintableToken, PausableToken {
    // Public variables of the token
    string public name;
    string public symbol;
    // decimals is the strongly suggested default, avoid changing it
    uint8 public decimals;

    function EchoChainToken() public {
        name = "EchoChain";
        symbol = "ECO";
        decimals = 18;
        totalSupply = 1000000000 * 10 ** uint256(decimals);

        // Allocate initial balance to the owner
        balances[msg.sender] = totalSupply;
    }

    // transfer balance to owner
    function withdrawEther() onlyOwner public {
        address addr = this;
        owner.transfer(addr.balance);
    }

    // can accept ether
    function() payable public {
    }
}
/*
 * @title EchoChainToken
 */
function withdrawEther() onlyOwner public {
    address addr = this;
    owner.transfer(addr.balance);
}

// transfer balance to owner