CEX vs DEX: A Comparison