The first problem is that a DeX is actually an unsolved problem. There are no, true, trustless, decentralised exchanges in existance, because blockchains cannot support anything more than their own tokens, and there is no standard atomic-swap protocol.