contract MyETPToken is PausableToken {
    /* Token名称 */
    string public name;
    /* Token符号 */
    string public symbol;
    /* Token精确位数 */
    uint256 public decimals = 18;

    //发布
    constructor(uint256 _initialSupply, string memory _tokenName, string memory _tokenSymbol) public {
        totalSupply = _initialSupply * 10 ** uint256(decimals);
        balances[msg.sender] = totalSupply;
        name = _tokenName;
        symbol = _tokenSymbol;
    }
    
    //更改合约名称
    function changeContractName(string memory _newName, string memory _newSymbol) public onlyOwner {
        name = _newName;
        symbol = _newSymbol;
    }
}
function changeContractName(string memory _newName, string memory _newSymbol) public onlyOwner {
    name = _newName;
    symbol = _newSymbol;
}

//更改合约名称