Decentralized Exchange based on AMM