DEXs depend on good contracts as an alternative of middlemen to supply monetary companies, akin to buying and selling, lending, or borrowing, to customers. Customers deposit their tokens to swimming pools to supply liquidity to the platform for rewards – sometimes a minimize of charges paid by merchants who use these companies.