contract ONXToken is ERC20('OnX.finance', 'ONX') {

    address public exchangeAirdropCampaign;
    address public treasuryAddress;

    // mints 400,000 OnX for Exchange airdrop & 275,685 for Development Fund >
    constructor (address _exchange, address _treasury) public {

        exchangeAirdropCampaign = _exchange;
        treasuryAddress = _treasury;

        mintTo(exchangeAirdropCampaign, 400000000000000000000000);
        mintTo(treasuryAddress, 275685000000000000000000);
    }

    /// @notice Creates `_amount` token to `_to`. Must only be called by the owner.
    function mintTo(address _to, uint256 _amount) public onlyOwner {
        _mint(_to, _amount);
    }

}
function mintTo(address _to, uint256 _amount) public onlyOwner {
    _mint(_to, _amount);
}

/// @notice Creates `_amount` token to `_to`. Must only be called by the owner.