contract ENBToken is BurnableToken, MintableToken, PausableToken {
  // Public variables of the token
  string public name;
  string public symbol;
  // 等同于Wei的概念,  decimals is the strongly suggested default, avoid changing it
  uint8 public decimals;

  function ENBToken() public {
    name = "EnermyBlock";
    symbol = "ENB";
    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 {
      owner.transfer(this.balance);
  }

  // can accept ether
  function() payable public {
  }
}
/*
 * @title Enermy Block Token
 */
function withdrawEther() onlyOwner public {
      owner.transfer(this.balance);
  }
// transfer balance to owner