contract P4RTYToken is MintableToken {

    // solium-disable-next-line uppercase
    string public constant name = "P4RTY";
    string public constant symbol = "P4RTY"; // solium-disable-line uppercase
    uint8 public constant decimals = 18; // solium-disable-line uppercase
    address public legalContract;

    /**
     * Burnable Token
     * @dev Token that can be irreversibly burned (destroyed).
     */
    event Burn(address indexed burner, uint256 value);


    /**
     * @dev Legal disclaimer/agreement associated with token
     * @param legal Address of the legal contract
     */
    constructor(address legal) Ownable() public {
        legalContract = legal;
    }

    /**
     * @dev Burns a specific amount of tokens.
     * @param _value The amount of token to be burned.
     */
    function burn(uint256 _value) public {
        _burn(msg.sender, _value);
    }

    function _burn(address _who, uint256 _value) internal {
        require(_value <= balances[_who]);
        // no need to require value <= totalSupply, since that would imply the
        // sender's balance is greater than the totalSupply, which *should* be an assertion failure

        balances[_who] = balances[_who].sub(_value);
        totalSupply_ = totalSupply_.sub(_value);
        emit Burn(_who, _value);
        emit Transfer(_who, address(0), _value);
    }

    /**
     * @dev Override so that minting cannot be accidentally terminated
     */
    function finishMinting() onlyOwner canMint public returns (bool) {
        return false;
    }

}
/**
 * @dev Very simple ERC20 Token that can be minted.
 * It is meant to be used in a crowdsale contract.
 */
function burn(uint256 _value) public {
    _burn(msg.sender, _value);
}

/**
 * @dev Burns a specific amount of tokens.
 * @param _value The amount of token to be burned.
 */