Cointime

Download App
iOS & Android

How Market Makers Work: AMM and PMM

Validated Project

Traditional market exchange processes, involving stocks, precious metals and other assets, rely on buy and sell orders, offering various rates and forming an order book on the exchange. A user performs a trade when they agree to a listed price set by a seller. In those processes, there is always a need for a counterparty — a trading pair — to make a trade.

Automatic market makers (AMMs) are protocols powering DEXes and offering a decentralized automated approach to crypto asset exchange. The vital difference is that another trader is not required for making a swap as the protocol makes the market for users, performing the other side of a trading pair. A user interacts with a smart contract rather than another seller or buyer.

AMMs: key DEXes liquidity providers and a passive income opportunity

The term “automated market maker” refers to an asset price that is determined automatically by an algorithm which calculates token shares in a liquidity pool. A required trading pair is taken from liquidity pools — storages of cryptocurrencies on the balance of a smart contract. They are supplied by platforms’ users who provide assets to receive rewards in exchange. LP tokens (liquidity provider tokens) represent users’ share of the pool. When a trade is made on a DEX, the transaction fee is distributed between all the pool members. Liquidity provider’s rewards are made up of transaction fee proceeds.

A user’s passive income depends on their share in the total volume of liquidity: the bigger the LPs amount, the higher the reward.

Pools can be formed from two or more tokens of equal value. If a user adds liquidity to a pool of tokens A and B and A is worth $0.5 and B $1, the user has to deposit, for instance, 100 A tokens and 50 B tokens.

As said above, assets within the pool are managed by an algorithm that sets prices of digital assets. This algorithm allows tokens to be traded permissionlessly and automatically rather than in a traditional market of buyers and sellers. Liquidity pools provide an opportunity to earn stable passive income, but they involve the risk of impermanent loss. It happens when the price of assets added to a liquidity pool changes between depositing and withdrawing them, resulting in a loss for liquidity providers.

AMMs offer ways to avoid impermanent loss. The core idea is manipulating their curvature distributions and token price optimization. Some protocols use a native token, while others do not. Impermanent loss can be avoided, for instance, by transaction fees covering the difference in the value of locked and withdrawn funds or additionally minted native tokens if the transaction fees do not fully compensate for impermanent loss. Platforms enable locking pool assets on various terms: some allow providing liquidity in a specific price range, while others get rid of the dual-assets model and offer multi-token pools.

Slippage is another risk that users can face in a liquidity pool. Slippage occurs when a price quoted by a DEX changes between the time of quote and the time of swap. If a pair of tokens has a low level of liquidity, it requires collective market movements to cause changes in the pool rate. DEXes provide users with an opportunity to control slippage by setting its limits.

Overall, AMMs present various earning opportunities for users, such as interest-yielding while providing liquidity and arbitrage (when a trade takes place at a discount relative to an imbalanced pool).

Thus, AMMs play a pivotal role in driving the market where anyone can contribute to add the liquidy and benefit from it. The deeper the liquidity pools, the easier swaps can be executed, and the more healthy trading activity the market meets. As long as users are willing to perform as liquidity providers, AMMs can offer more liquidity than traditional market makers, facilitating trades between cryptocurrencies at a reasonable market price. They also lower transaction fees by removing intermediaries.

The role of PMM on DEXes

The acronym PMM can be found in different interpretations. On 1inch, it stands for Private Market Makers and refers to entities that fill buy and sell orders through the 1inch API, bringing additional trading volume.

Another acronym use case can also stand for Proactive Market Maker, when referred to the DoDo DEX protocol, copying the behavior of AMMs and human traders.

PMMs (private market makers) typically operating with CEXes can also trade at low risk on DEXes, offering RFQ features that enable users to set orders for a specific cryptocurrency.

On 1inch, the process is as follows:

When an order is placed, the limit order protocol asks the PMMs if they are willing to make an exchange. It may be advantageous for the PMMs to sign an order for a considerable amount because they can resell those assets on another platform at a profit.

“Off-chain” transactions with PMMs can be executed in OTC Mode (over-the-counter). Here you can find thorough information on how they work.

Aggregating AMM and PMM liquidity

AMMs, despite being key DeFi drivers, sometimes need more liquidity for certain transactions, and PMMs can come in handy when massive liquidity amounts are required. The 1inch Aggregation Protocol addresses possible liquidity issues by cross-checking various DEXes. It finds the best swap price by aggregating information from hundreds of platforms and automatically selecting the most favorable options.

The backbone of this protocol is the Pathfinder algorithm. It ensures an optimal swap strategy by offering the best trading paths across multiple markets, also taking gas fees into account. It is connected both with AMMs and PMMs, which facilitates scanning prices across all existing liquidity sources for every swap users make. The amount of liquidity sources currently exceeds 250. Plus, there are the most widely-used networks to choose from: Ethereum, BNB Chain, Avalanche, Polygon, Optimistic Ethereum (oΞ), Gnosis, Fantom, Arbitrum, Aurora and Klaytn. This enables users to save on gas fees and pick more suitable transaction terms.

The Pathfinder algorithm also ensures the minimal price impact for a swap. Somewhat similar to slippage, price impact refers to rapid price changes that depend on the asset’s liquidity. High liquidity normally guarantees low price impact. The difference from slippage is that price impact is caused by the user’s trade rather than market movement.

Splitting the swap across various liquidity sources guarantees the lowest price impact.

Comments

All Comments

Recommended for you

  • Bitget Confirms Being Deceived into 'Self-Approving' $388 Million Transfer, Losses Revised

    On September 26, Unchained reported that Bitget stated attackers transferred approximately $387.5 million from its exchange on Thursday, revising the initially estimated loss of $351.6 million after accounting for transfers on the Zcash and TRON chains. The attackers did not require private keys: CEO Gracy Chen mentioned that the attackers compromised key backend systems of its wallet infrastructure, forged transaction data, and triggered the authorization process, which was signed by Bitget's own system. The related vulnerability has been identified and fixed, and the withdrawal status, which has been suspended since Thursday, will be announced before midnight Eastern Time. Mandiant and SlowMist are assisting with the investigation. Chen noted that based on IP behavior patterns and on-chain signatures, this attack is consistent with methods used by North Korean-linked hacker organizations and resembles the previous $1.5 billion theft case from Bybit. Nansen tracking shows that 40,000 ETH were evenly distributed to four new addresses; as of Friday, 6:34 PM Eastern Time, eight attacker addresses held a total of approximately 68,300 ETH (about $18.4 million), with no further transactions initiated. Bitget stated that some of the funds have been frozen and is offering a 5% bounty on the recovered amounts to those who facilitate the freezing; the $464 million protection fund fully covers the losses.

  • Vitalik: Significant Progress in Mobile Offline Local Knowledge Applications, but Problem-Solving Ability Still Weaker than Notebook-Level Models

    On September 26, Ethereum co-founder Vitalik Buterin posted on X that he is testing a mobile offline local knowledge application recently developed by the community (with a related bounty link attached). He noted that these applications are significantly better than the product he attempted to build himself two months ago, but they still perform slower and less effectively than models that can run on a notebook when handling complex problems. Vitalik pointed out that the weakest aspect of these applications is professional travel-related queries, citing the test case 'Tell me the best vegetarian restaurant in my current city,' but none of the tested applications performed well. He expressed hope for continued improvements in such products and wishes to reach a level where users can comfortably query any facts of interest without needing an internet connection.

  • This Week, U.S. Bitcoin Spot ETFs See Net Inflows of Approximately $2.386 Billion, Led by IBIT

    On September 26, according to data from Farside Investors, U.S. Bitcoin spot ETFs experienced a total net inflow of $2.3858 billion this week. In terms of individual products, BlackRock's IBIT led with a net inflow of $1.1576 billion, followed by Fidelity's FBTC with $701.6 million, ARK 21Shares' ARKB with $294.7 million, Morgan Stanley's MSBT with $203.3 million, and Bitwise's BITB with $13.9 million. BTCW recorded a net outflow of $3.2 million, while BTCO and BRRR remained flat at zero.

  • Ethena: USDe-Related Token Incentives to Reach Zero, Down Approximately 85% Since 2024

    On September 26, Ethena announced that since the first airdrop in 2024, token incentives related to the growth of USDe have decreased by approximately 85% from 2024 to this year. The official statement indicated that by the end of this month, token incentives and additional issuance related to USDe will reach zero, and there will be no further incentive arrangements thereafter. Ethena also expressed gratitude to all users who have participated and supported the development of the product to date.

  • Analyst: Bitcoin Enters Bull Market Phase as MVRV Ratio Surpasses 1.0 Baseline

    On September 26, crypto analyst Axel Adler Jr. stated that Bitcoin has transitioned from an early bull market to a bull market phase. The adjusted MVRV 30-day/365-day moving average ratio he tracks broke above the 1.0 baseline on September 20 (with the short-term average surpassing the annual average), at which point BTC was priced at $80,691. Previously, this ratio had crossed above the 365-day moving average on August 20, marking the entry into the early bull market when BTC was priced at $71,255; this phase lasted for 31 days, during which Bitcoin rose by 13%. The current ratio stands at 1.018, with BTC priced at $84,156. As long as it remains above 1.0, the structure will maintain a bullish outlook. This marks the sixth such transition since 2012, and in four of the previous five instances, the bull market ended with prices above the entry price, with the only exception being August 2015, when the bull market lasted only 16 days.

  • CFTC Sues Cash FX Over $950 Million Crypto-Related Forex Scam, Investors Lose at Least $406 Million

    On September 26, Cointelegraph reported that the U.S. Commodity Futures Trading Commission (CFTC) has filed a lawsuit against Cash FX Group and three individuals, involving $950 million and elements of cryptocurrency. The defendants include Cash FX and its CEO Huascar Jose Lopez Castillo (Brazil), The Conversion Pros and its CEO Ronald Pope (Oregon), as well as Justin Halladay (Florida). The CFTC stated that the complaint was submitted to the U.S. District Court for the Middle District of Florida on Friday. The agency accuses the defendants of operating a multi-level marketing Ponzi scheme, raising over $950 million under the guise of trading retail forex contracts in a commodity pool, falsely claiming that funds were managed by expert traders, proprietary algorithms, and artificial intelligence, with promises of returns as high as 15% per week. The CFTC pointed out that Cash FX engaged in very little actual forex trading, misappropriating most participants' funds to pay fictitious trading profits with new investments, while funneling millions of dollars to the defendants and providing false accounting statements. Participants have suffered losses of at least $406 million.

  • China and the U.S. Reach Consensus on Eight Key Outcomes

    On September 26, according to CCTV, Chinese President Xi Jinping made a state visit to the United States from September 23 to 25. During this period, the two heads of state engaged in in-depth discussions on building a constructive strategic stable relationship between China and the U.S. and addressing major international and regional issues, reaching a consensus on eight key outcomes, including: 1. Both sides agreed to establish a 'constructive strategic stable relationship based on respect, fairness, and equality.' 2. Both sides agreed to support each other in successfully hosting the informal meeting of APEC leaders and the G20 leaders' summit, with both heads of state intending to attend each other's hosted meetings. 3. The two heads of state agreed that Iran should fulfill its commitment not to develop nuclear weapons, and that no country or organization should impose tolls on international waterways. 4. The two heads of state recalled that China and the U.S. were allies in World War II, fighting side by side to achieve victory. 5. The two heads of state recognized the positive role of the China-U.S. economic and trade consultation mechanism and the outcomes of consultations by both economic and trade teams, including the establishment and promotion of mechanisms such as the Trade Council, reaching a '30 billion USD' reciprocal tariff reduction arrangement, and postponing the results of the Kuala Lumpur economic and trade consultations, and instructed for their implementation. 6. The cooperation between the drug enforcement agencies of China and the U.S. has yielded visible results. Recently, both sides closely collaborated to jointly crack multiple cases involving new psychoactive substances and precursor chemicals, resulting in the arrest of dozens of related criminal suspects in both countries. 7. Both sides agreed to establish a China-U.S. dialogue on artificial intelligence to discuss the associated risks and benefits. The next dialogue will be held in November this year, and both sides agreed to establish a communication channel for AI-related incidents. 8. The U.S. welcomed the loan of a pair of giant pandas from China to the Atlanta Zoo. In addition, the military of both countries agreed to sign a memorandum of understanding to strengthen crisis communication and prevention as soon as possible and to continue cooperating in the search for the remains of U.S. military personnel missing in China.

  • New SEC Guidelines: Staked ETH Receipt Tokens Do Not Constitute Securities, Provided They Are Purely 'Receipts'

    On September 26, according to BeInCrypto, the U.S. SEC's Division of Corporation Finance released new guidelines clarifying that tokens received from staking Ethereum do not constitute securities, provided their function is purely as 'receipts'. The document states that when tokens are backed by 'digital commodities', staked receipt tokens are considered 'digital tools'; the SEC and CFTC listed 16 types of digital commodities in a clarification document on March 17, including Ethereum (ETH). The guidelines set conditions: tokens must not alter the rights associated with the staked ETH or provide additional rewards, and service providers must not lend, stake, or reuse the deposited tokens; this contrasts with Kraken's $30 million fine in 2023 for promoting yield and shutting down its staking services in the U.S. The document also covers buybacks: announcing a buyback when the network is operational does not constitute a commitment that would turn the tokens into securities; however, it may still constitute one if the network is not yet complete.

  • US Lawmakers Propose Bill to Ban Chinese Optical Transceivers in National Security Systems

    On September 26, a bipartisan group in the U.S. Senate proposed a bill on September 25 aimed at prohibiting the federal government from installing Chinese-made components used for data transmission in artificial intelligence data centers within sensitive systems. The bill was jointly initiated by Republican Senators John Cornyn and Mike McCaul, along with Democratic Senators Jon Tester and Alex Padilla, and primarily targets optical transceiver modules produced by Chinese companies such as New H3C Technologies. Currently, Chinese optical transceiver manufacturers dominate this core component market in AI data centers.

  • SEC and CFTC Update Crypto FAQs: Token Buybacks and Network Upgrades Not Necessarily Securities, CFTC Allows On-Chain Record Keeping

    On September 26, the U.S. Securities and Exchange Commission's Division of Corporation Finance released an updated FAQ on September 25, clarifying that token buybacks, network upgrades, and marketing statements do not automatically make crypto assets securities. SEC staff noted that announcing a buyback plan for an operational crypto network does not, by itself, make the associated tokens investment contracts; however, if the network is not operational and the issuer promotes the buyback as a source of returns for holders, it may be a different case. The FAQ also clarified that services provided once a crypto system is operational, aimed at securing, maintaining, improving, or enhancing the system or its functions, or promoting network effects, do not constitute managerial efforts under the Howey test. Marketing existing uses of the network typically does not create profit expectations, and statements about future functionalities do not either, provided there is no promotion of profit potential. This update reiterates that conclusions will still heavily depend on specific cases and are based on the SEC's interpretative release regarding the applicability of securities laws to crypto assets issued in March this year. On the same day, the Commodity Futures Trading Commission updated its crypto FAQ, allowing futures firms and clearinghouses to invest customer funds in tokenized versions of previously permitted assets, provided they meet investment and custody requirements. CFTC staff also indicated that regulated companies may use blockchain for record keeping but must still be able to provide records if the blockchain or its block explorer is non-operational. These updates come as the CLARITY Act failed to advance in the Senate, with regulators continuing to push forward with the crypto regulatory framework based on existing laws.