QuickSwap automates this through smart contracts allowing users to swap ERC-20 tokens. When a user wants to exchange one token with another, they send their chosen tokens to the QuickSwap smart contract. The smart contract then calculates the amount of the second token that the user will receive based on the current market price without relying on third-party buy/sell requests for the token being traded. The price determination is done by QuickSwap’s AMM model.