A Million Markets: From the Bazaar to the DEX