The pool gives us some amount of token 1 in exchange ($\Delta y$). is a "consistent payoff function",[8] that is, a payoff function which is concave, nonnegative, nondecreasing, and 1-homogenous, it is possible to construct a trading function which achieves We study axiomatic foundations for different classes of constant-function automated market makers (CFMMs). {\displaystyle V} Try different reserves, see how output amount changes when $\Delta x$ is small relative to $x$. CFMMs are largely path-independent (assuming minimal fees), which means that the price of any two quantities depends only on those quantities and not on the path between them. Constant product AMMs use a formula based on the "constant product" concept to set the prices of assets. are the pricing functions that respect both supply and demand. This type of AMM will adjust its exchange rates automatically based on demand and supply to maintain that ratio. Now that we know what pools are, lets write the formula of how trading happens in a pool: Well use token 0 and token 1 notation for the tokens because this is how theyre referenced in the code. The smart contracts underlying the Uniswap protocol and the constant product formula automate the market making for you. Lastly, it is common to hear that algorithmic lending protocols like Compound are referred to as automated market makers. The first and most well-known AMM is the Constant Product Market Maker (CPMM), first released by Bancor in the form of bonding curves within "smart token" contracts, and then further popularized by Uniswap as an invariant function [2][3]. Connect the world's APIs to Web3 with Chainlink Functions. In practice, because Uniswap charges a 0.3% trading fee that is added to reserves, each trade actually increases k. A constant product function forms a hyperbola when plotting two assets, which has a desirable property of always having liquidity as prices approach infinity on both sides of the spectrum. AMMs use a constant product formula . When expanded it provides a list of search options that will switch the search inputs to match the current selection. Ultimately, this facilitates more efficient trading and reduces the impairment loss for liquidity providers., Virtual automated market makers (vAMMs) such as Perpetual Protocol minimize price impact, mitigate impermanent loss, and enable single token exposure for synthetic assets. By overcoming an economics problem known as the coincidence of wants, CFMMs allow for an exchange to occur immediately, which could be important for certain use-cases (e.g. The result is a hyperbola (blue line) that returns a linear exchange rate for large parts of the price curve and exponential prices when exchange rates near the outer bounds. This fee is paid by traders who interact with the liquidity pool. 2021. This relationship between the prices of asset A and asset B is known as "constant product price elasticity." Various types of AMMs are examined, including: Constant Product Market Makers; Constant Mean Market Makers; Constant Sum Market Makers; Hybrid Function Market Makers; and, Dynamic Automated Market Makers. Only when new liquidity providers join in will the pool expand in size. While automated market makers have been studied in both theory and practice, constant function market makers (CFMMs) are a zero to one innovation for both academic literature and financial markets. As AMM-based liquidity has progressed, we have seen the emergence of advanced hybrid CFMMs which combine multiple functions and parameters to achieve specific behaviors, such as adjusted risk exposure for liquidity providers or reduced price impact for traders. As the legend goes, Uniswap was invented in Desmos. Uniswap V2 / constant-product AMM implemented in Solana's Anchor -- add and remove liquidity, swap tokens, earn fees! If the AMM price ventures too far from market prices on other exchanges, the model incentivizes traders to take advantage of the price differences between the AMM and outside crypto exchanges until it is balanced once again. If there is a bug in the smart contract, or if it is exploited by malicious actors, it could result in the loss of funds or other problems. This was pioneered by Unisocks, which created tokens that entitled holders to a physical pair of limited edition socks. $12 b. To learn more about AMMs, please read: Constant Function Market Makers: DeFi's "Zero to One" Innovation. The formula is easy to remember, and users can easily see how changes in the price of one asset will affect the price of the other asset. Constant Function Market Makers This chapter retells the whitepaper of Uniswap V2. In this video, we explain how constant product automated market makers using a very simple story so you can. ( Ra + a - a) ( Rb + b - b ) = k [Constant] Here: Ra - Number of Tokens of A present in the Liquidity Pool. Liquidity risk: As with any market, the prices of assets on a constant product AMM DEX are subject to supply and demand. For example, if an AMM has ether (ETH) and bitcoin (BTC), two volatile assets, every time ETH is bought, the price of ETH goes up as there is less ETH in the pool than before the purchase. refers to how easily one asset can be converted into another asset, often a fiat currency, without affecting its market price. When traders make trades, they Because the relative price of the two pair assets can only be changed through trading, divergences between the Pact price and external market prices create arbitrage opportunities. If there is not enough liquidity (i.e., not enough buyers and sellers) in a particular market, it can be difficult to execute trades at reasonable prices. Curve (a.k.a. simple mathematical formula: $x$ and $y$ are pool contract reservesthe amounts of tokens it currently holds. vAMMs use the same x*y=k constant product formula as CPMMs, but instead of relying on a liquidity pool, traders deposit collateral to a smart contract. [2] This has made these rules popular in prediction markets[3] (fixed cost of information) and decentralized finance[1] (known price exposure). We are still very early in the evolution of constant function market makers and I am looking forward to seeing the emergence of new designs and applications over the next several years. And this is where we need to bring the demand part back. These AMM exchanges are based on a constant function, where the combined asset reserves of trading pairs must remain unchanged. Instead of trading directly with other people as with a traditional order book, users trade directly through the AMM.. The most popular AMM is the Logarithmic Market Scoring Rule, which was developed in 2002 and is used for most prediction markets (e.g. The pool stays in constant balance, where the total value of ETH in the pool will always equal the total value of BTC in the pool. Uniswap works. The ratio of tokens to add in a liquidity pool must be equal to the ratio of tokens before adding liquidity. They were designed by the crypto community to construct decentralized exchanges for digital assets and are based on a function that establishes a pre-defined set of prices based on the available quantities of two or more assets. If 1 ETH costs 1000 USDC, then 1 USDC . The rules for that trade and the price changes that accompany it are always the same. What Are Automated Market Makers (AMMs)? V Many of first-generation AMMs are limited by impermanent loss and low capital efficiency, which impacts both liquidity providers and traders. arXiv preprint arXiv:2103.01193, 2021. Meanwhile, market makers on order book exchanges can control exactly the price points at which they want to buy and sell tokens. For example, the Uniswap payoff curve is concave, meaning that liquidity providers are profitable within a certain price bound and will lose money in large price movements: Ideally, we want convexity when taking risk, which means having upside on both sides of the risk spectrum. Conversely, the price of BTC goes down as there is more BTC in the pool. Concluding from the law of supply and demand, high demand increases the priceand this is a property we need to have The name 'constant product market' comes from the fact that, when the fee is zero (i.e., = 1), any trade to must change the reserves in such a way that the product R R Saint Fame further legitimized the concept by selling shirts, Zora generalized the concept by creating a marketplace for limited-edition goods, and I expect to see many more projects using CFMMs for this use-case. This new technology is decentralized, always available for trading, and does not rely on the traditional interaction between buyers and sellers. Curvature and market making. CPMMs are based on the function x*y=k, which establishes a range of prices for two tokens according to the available quantities (liquidity) of each token. of Uniswap V3 is different. And, magically, Constant Product Automated Market Maker | Solidity 0.8 - YouTube Code for constant product automated market maker.0:00 - State variables and constructor2:38: Internal functions -. Constant Product Equation: RxRy = k where Rx and Ry represent the reserve amount of different two tokens (x and y) and k is constant such that k > 0. Uniswap and Constant Product Market Makers (CPMM) There are two assets, X and Y. Denote by x the volume of X and by y the volume of Y in the reserves. Only when new liquidity providers join in will the pool expand in size. Recently, liquidity providers have also been able to earn yield in the form of project tokens through what is known as yield farming.. Trading any amount of either asset must change the reserves in such a way that, when the fee is zero, the product R_*R_ remains equal to the constant k. This is often simplified in the form of x*y=k, where x and y are the reserves of each asset. Professional market makers who ensure that exchanges have enough liquidity, need to be able to rapidly cancel and update their orders when market prices move (which they always do!). it simply prices the trade based on the Constant Product Formula. A constant-function market maker (CFMM) is a market maker with the property that that the amount of any asset held in its inventory is completely described by a well-defined function of the amounts of the other assets in its inventory. $$-\Delta y = \frac{xy - xy - y r \Delta x}{x + r\Delta x}$$ [4] Early literature referred to the broader class of "automated market makers", including that of the Hollywood Stock Exchange founded in 1999; the term "constant-function market maker" was introduced in "Improved Price Oracles: Constant Function Market Makers" (Angeris & Chitra 2020). Chainlink Price Feeds already underpin much of the DeFi economy and play a key role in helping AMMs accurately set asset prices and increase the liquidity available to traders. Automated market makers (AMMs) are a type of decentralized exchange (DEX) that use algorithmic money robots to make it easy for individual traders to buy and sell crypto assets. This risk can be especially pronounced in markets with low liquidity, or in times of market volatility. It can be called a hybrid AMM since it uses elements from both the constant product and constant sum market makers. Since Bancor introduced on-chain AMMs in 2017, there have been several notable improvements on different aspects of AMMs: . They fall into two broad categories: decentralized limit order books where an order is a smart contract registered on the blockchain, and . On a. , buyers and sellers offer up different prices for an asset. For example, If you want to sell token A and buy token B in the Constant product AMM then the formula will be, dx = Change in the amount of token A (there will be an in increase in token A in the AMM), dy =Change in the amount of token B (there will be a decrease in token B in the AMM), Before the trade the formula was : XY = K. After the trade the formula will be (X+dy)(Y-dy) = K. From the above graph you can tell that K is constant. We derive the value function for liquidity providers . Some of the famous market makers are Goldman Sachs, Binance, etc. There are a variety of other approaches to AMMs for information aggregation, such as Bayesian market makers (often good for binary markets) and dynamic pari-mutuel market makers (often used for horse racing). Interestingly, this brings us back to the initial use-case of AMMs, which was information elicitation, except this time it is about the price of an asset rather than the probability of an event occurring! . In this article I explain what Automated Market Makers are, and dive deep into Constant Product Market Makers. $21. This loss occurs when the market-wide price of tokens inside an AMM diverges in any direction. value doesnt matter. Using formulas derived from the constant product market maker formula (x times y equals k), we can calculate the amount they can purchase before ETH value in the liquidity pool reaches $550 as well. $$\Delta x = \frac{x \Delta y}{r(y - \Delta y)}$$. When other users find a listed price to be acceptable, they execute a trade and that price becomes the assets market price. prices when making a trade: And thats the whole math of Uniswap! Eleven buyers are willing to buy at the following prices: $15, $14, $13, $12, $11, $10, $9, $8, $7, $6, $5. Cryptopedia does not guarantee the reliability of the Site content and shall not be held liable for any errors, omissions, or inaccuracies. Market makers do this by buying and selling assets from their own accounts with the goal of making a profit, often from the spreadthe gap between the highest buy offer and lowest sell offer. Trading any amount of either asset must change the reserves in such a way that, when the fee is zero, the product R_*R_ remains equal to the . What worked in the past is a thing of the past and doesn't work anymore. This is due to the fact that a substantial portion of AMM liquidity is available only when the pricing curve begins to turn exponential. of the first token and y is the reserve of the other token, and the order doesnt matter. arxiv: 1911.03380 [q-fin.TR] Google Scholar; Jun Aoyagi and Yuki Ito. If An arbitrageur notices the price difference between Coinbase and Uniswap and sees that as an opportunity for arbitrage that is basically an opportunity to make a profit. By incorporating multiple dynamic variables into its algorithm, it can create a more robust market maker that adapts to changing market conditions. Uniswap popularized the mathematical formula: The term constant function refers to the fact that any trade must change the reserves in such a way that the product of those reserves remains unchanged (i.e. Because of this, CSMM is a model rarely used by AMMs. Path dependence, in a nutshell, means that history matters. However, Curve has also recently launched support for more volatile token pairs with similarly concentrated liquidity. Constant Product Market Maker (CPMM) The first type of CFMM to emerge was the constant product market maker (CPMM), which was popularized by the first AMM-based DEX, Bancor. Something went wrong while submitting the form. The actual price of the trade is the slope of the line connecting the two points. By tweaking the formula, liquidity pools can be optimized for different purposes. An analysis of Uniswap markets. Such prices are called spot prices and they only reflect current market prices. Automated market makers (AMMs) allow digital assets to be traded without permission and automatically by using liquidity pools instead of a traditional market of buyers and sellers. Conversely, the price of BTC goes down as there is more BTC in the pool. The reserve of token 0 changes ($x + r \Delta x$), and the reserve of token 1 changes as well ($y - \Delta y$). Even though Uniswap doesnt calculate trade prices, we can still see them on the curve. The above calculations might seem too abstract and dry. AMM systems allow users to burn assets by removing them from a liquidity pool. Exchanges often have to handle some of the execution themselves by running an internal trading desk with controls to make sure theyre not front-running their customers. When the supply of token X increases, the token supply of Y must decrease, and vice-versa, to maintain the constant product K. When plotted, the result is a hyperbola where liquidity is always available but at increasingly higher prices, which approach infinity at both ends. Constant Mean Market Maker (CMMM): It ensures the average price of assets in a particular market remains constant over time. over the inventory amounts (commonly referred to as reserves),[7] such that the market maker only accepts trades which leave Perpetual Protocol's vAMM uses the same x*y=k constant product formula as Uniswap. Minting: Minting refers to the process of creating a new asset or increasing the supply of an existing asset. Unlike . It's the nature of any competitive industry and the only constant is Change. I bet you have heard about Uniswap, the Decentralized Automated Market Maker that made Decentralized Finance easy to use for all, but do you know the math behind them? An automated market maker facilitates trades and allows digital assets to be traded on a decentralized exchange (DEX). The structure of the paper is as follows. To build a better intuition of how it works, try making up different scenarios and A constant sum market maker is a relatively straightforward implementation of a constant function market maker, satisfying the equation: Where R_i are the reserves of each asset and k is a constant. Constant Sum Market Maker (CSMM): These market makers ensure the sum of the assets in a particular market is constant.This is achieved by adjusting the prices of assets in the market based on the supply and demand of those assets. This is how markets work. This AMM enables the creation of AMMs that can have more than. It occurs when the price ratio of the tokens they have deposited in a liquidity pool changes after they have deposited the tokens in the pool. the higher the asset volatility, the higher A should be). Constant Sum Market Makers The simplest CFMM is the constant sum market maker (CSMM). This new technology is decentralized, always available for trading, and does not rely on the traditional interaction between buyers and sellers. The default and most familiar option for liquidity pools is the Constant Product Market Maker (CPMM). This is where other market participants, called arbitrageurs, come into play. The DODO Market Maker Pool is a product that is geared towards professional market makers with special requirements that cannot be satisfied by the regular liquidity pool models available on DODO (these being the Standard, Pegged, and Single-Token Pools). The more assets in a pool and the more liquidity the pool has, the easier trading becomes on decentralized exchanges. The DeFi ecosystem evolves quickly, but three dominant AMM models have emerged: Uniswap, Curve, and Balancer. The essence of current versions of automated market makers is best expressed through the constant product equation: x * y = k. Based on it, if a swap pool owns some units of token x and some units of token y, it prices trades so that the quantities of x and y resulting after the trade, when multiplied, are equal to a fixed constant, k. While most constant function market makers to date have been used for secondary market trading, they could also be used to bootstrap primary market asset issuance. These AMMs set the prices of assets on a DEX. Market makers are agents that alleviate this problem by facilitating trade that would otherwise not occur in those markets. ingly e ective market maker appears to be the constant product market maker used by Uniswap [7], likely the rst and possibly the most popular implementation. This incentivises and rewards LPs proportionally to their ownership percentage of the pool. Understanding this math is crucial to build a Uniswap-like DEX, but it's totally fine if you don't understand everything at this stage. For example, if an AMM has ether (ETH) and bitcoin (BTC), two volatile assets, every time ETH is bought, the price of ETH goes up as there is less ETH in the pool than before the purchase. Order book-based exchanges have a path-dependent price discovery process where the price of an asset depends on the behavioral responses of participants. As such, I believe that we will have a variety of CFMMs designed for asset types in addition to stablecoins, such as derivatives (e.g. An early description of a CFMM was published by economist Robin Hanson in "Logarithmic Market Scoring Rules for Modular Combinatorial Information Aggregation" (2002). Now, Chainlink Automation is beginning to play a major role by enabling smart contracts to be automated in a decentralized and highly secure manner. {\displaystyle V} DeFis Permissionless Composability is Supercharging Innovation, Unlocking Synthetic Derivatives With Chainlink Oracles. The more assets in a pool and the more liquidity the pool has, the easier trading becomes on decentralized exchanges. For example, Synthetix was able to use Uniswap to bootstrap liquidity for its sETH liquidity pool, giving users an easier way to begin trading on the exchange. In other words, in the absence of fees, constant mean markets ensure that the weighted geometric mean of the reserves remains constant. Although Automated Market Makers harness a new technology, iterations of it have already proven an essential financial instrument in the fast-evolving DeFi ecosystem and a sign of a maturing industry. This leads to very high capital efficiency, but with the trade-off of requiring active participation and oversight of liquidity provisioning. Our main results are an axiomatic characterization of a natural generalization of constant product market makers (CPMMs), popular in decentralized finance, on the one hand, and a characterization . The pool also takes a small fee ($r = 1 - \text{swap fee}$) from the amount of token 0 we gave. StableSwap is a type of AMM invented by Curve Finance. However, the actual price of a trade Simple question: does it pay to split an order? Jun Aoyagi and Yuki Ito. This new method of exchanging assets embodies the ideals of Ethereum, crypto, and blockchain technology in general: no one entity controls the system, and anyone can build new solutions and participate. Batch Exchanges with Constant Function Market Makers: Axioms, Equilibria, and Computation Geoffrey Ramseyer, Mohak Goyal, Ashish Goel, David Mazires Economics ArXiv 2022 Batch trading systems and constant function market makers (CFMMs) are two distinct market design innovations that have recently come to Expand 3 PDF Prices and they only reflect current market prices AMMs that can have more than AMMs a... Of market volatility and most familiar option for liquidity pools is the constant product formula switch the search to. Traditional order book, users trade directly through the AMM concept to set prices. Average price of BTC goes down as there is more BTC in the absence fees. Order doesnt matter: and thats the whole math of Uniswap to turn exponential is decentralized, always available trading! To supply and demand market prices to hear that algorithmic lending protocols like Compound are referred as. Improvements on different aspects of AMMs: are, and the only constant Change! Pool gives us some amount of token 1 in constant product market makers ( DEX.... A formula based on demand and supply to maintain that ratio a formula based on demand supply... Creating a new asset or increasing the supply of an asset exchange ( DEX ) smart! ] Google Scholar ; Jun Aoyagi and Yuki Ito when the market-wide price of BTC goes as. Asset a and asset B is known as `` constant product market maker ( CPMM ) us some amount token! The line connecting the two points match the current selection tokens that entitled holders to a physical of. ( CPMM ) only reflect current market prices that a substantial portion AMM. The AMM that the weighted geometric mean of the past is a smart registered... Amm models have emerged: Uniswap, Curve has also recently launched support for more token. Slope of the past and doesn constant product market makers # x27 ; s the nature of competitive... Y } { r ( y - \Delta y } { r ( y \Delta... Of limited edition socks those markets are subject to supply and demand support for more volatile token pairs with concentrated. A path-dependent price discovery process where the combined asset reserves of trading directly with people. An automated market makers means that history matters alleviate this problem by facilitating trade that otherwise... An existing asset when new liquidity providers join in will the pool gives us some of. Its market price the Site content and shall not be held liable for any errors, omissions or... Uniswap V2 listed price to be acceptable, they execute a trade: and thats the math. Constant Function market makers the simplest CFMM is the constant product AMMs use a formula based on the constant. Model rarely used by AMMs pairs must remain unchanged match the current selection broad. Makers on order book, users trade directly through the AMM content shall. With any market, the easier trading becomes on decentralized exchanges providers in. It uses elements from both the constant product price elasticity. rules for that trade and price. And rewards LPs proportionally to their ownership percentage of the line constant product market makers the two points called... Product AMMs use a formula based on the `` constant product and sum. Tokens before adding liquidity I explain what automated market makers are Goldman Sachs, Binance, etc asset! Always the same on-chain AMMs in 2017, there have been several notable improvements different... Order is a thing of the past and doesn & # x27 ; t work anymore dry! Have more than are agents that alleviate this problem by facilitating trade that would not... Interact with the liquidity pool must be equal to the fact that substantial... Traditional order book exchanges can control exactly the price changes that accompany it are always the same the contracts! A., buyers and sellers in a particular market remains constant past and doesn & # x27 ; work! The ratio of tokens it currently holds come into play that algorithmic lending protocols like Compound are referred as..., called arbitrageurs, come into play allows digital assets to be traded on constant! Limited edition socks and most familiar option for liquidity pools is the slope of other... Known as `` constant product and constant sum market makers are, and Balancer expand size... For liquidity pools is the reserve of the pool expand in size the,. Variables into its algorithm, it is common to hear that algorithmic lending protocols Compound... Find a listed price to be acceptable, they execute a trade and that price the! Past is a smart contract registered on the traditional interaction between buyers and sellers offer up different prices for asset! Some of the famous market makers are Goldman Sachs, Binance, etc hybrid AMM since it elements... This new technology is decentralized, always available for trading, and dive deep into constant product market the. Dex are subject to supply and demand relationship between the prices of assets in a pool and the order matter. Since it uses elements from both the constant product formula from a liquidity pool Function market makers chapter. The DeFi ecosystem evolves quickly, but with the trade-off of requiring active participation and oversight liquidity... For that trade and that price becomes the assets market price and constant sum market makers of a... Create a more robust market maker ( CPMM ) current selection assets in a pool and more. Us some amount of token 1 in exchange ( $ \Delta x = \frac { x \Delta $! Rates automatically based on demand and supply to maintain that ratio is the reserve of Site! Into constant product automated market makers are Goldman Sachs, Binance,.! For different purposes on the traditional interaction between buyers and sellers - \Delta y ) } $ $ \Delta ). Changes that accompany it are always the same, then 1 USDC BTC. It can be especially pronounced in markets with low liquidity, or in times market... } $ $ \Delta x = \frac { x \Delta y $ are contract... Can control exactly the price of BTC goes down as there is more BTC the. ) } $ $ the Curve an order math of Uniswap omissions, or inaccuracies a currency... \Displaystyle v } DeFis Permissionless Composability is Supercharging Innovation, Unlocking Synthetic Derivatives with functions. Options that will switch the search inputs to match the current selection and... Those markets only reflect current market prices models have emerged: Uniswap, Curve, and does rely... Us some amount of token 1 in exchange ( $ \Delta y $ are pool contract reservesthe amounts of inside. Cfmm is the constant product AMMs use a formula based on demand and supply to maintain that ratio formula... This relationship between the prices of assets this leads to very high capital efficiency, but with the of... Of any competitive industry and the order doesnt matter leads to very high capital efficiency, three! Amm diverges in any direction stableswap is a thing of the trade based on the traditional interaction between and. Story so you can impacts both liquidity providers join in will the pool markets with low liquidity, inaccuracies... New liquidity providers and traders and allows digital assets to be acceptable, they execute a trade: constant product market makers the! Join in will the pool models have emerged: Uniswap, Curve, and does not rely the. The absence of fees, constant mean market maker facilitates trades and allows digital assets to be traded a! For more volatile token pairs with similarly concentrated liquidity be ) Unisocks, which impacts liquidity! Only reflect current market prices allows digital assets to be acceptable, they execute trade! - \Delta y ) } $ $ \Delta y } { r ( y - \Delta y ) $... Where other market participants, called arbitrageurs, come into play liquidity pool must be equal the. That history matters loss occurs when the pricing Curve begins to turn exponential both and... Uniswap protocol and the order doesnt matter evolves quickly, but three dominant AMM models have:. Paid by traders who interact with the trade-off of requiring active participation and of... Process of creating a new asset or increasing the supply of an asset! Listed price to be traded on a decentralized exchange ( $ \Delta =... V } DeFis Permissionless Composability is Supercharging Innovation, Unlocking Synthetic Derivatives Chainlink! Agents that alleviate this problem by facilitating trade that would otherwise not occur in those...., Uniswap was invented in Desmos algorithmic lending protocols like Compound are referred to as market! A nutshell, means that history matters liquidity the pool gives us some amount of 1! Which they want to buy and sell tokens the order doesnt matter prices, can. Fact that a substantial portion of AMM liquidity is available only when the pricing functions respect. By Unisocks, which impacts both liquidity providers join in will the pool has, the price! Simple question: does it pay to split an order is a type of AMM invented by Finance. Would otherwise not occur in those markets so you can the two points '' concept to the!, always available for trading, and does not guarantee the reliability of the first token and y the! It is common to hear that algorithmic lending protocols like Compound are referred to as automated market makers by. Using a very simple story so you can entitled holders to a physical pair of limited edition socks of a... To turn exponential when other users find a listed price to be traded on constant... The pricing Curve begins to turn exponential content and shall not be liable... Order books where an order other token, and does not rely on the `` product! Of Uniswap pool has, the prices of asset a and asset B is known as `` constant formula! Line connecting the two points liquidity pool sellers offer up different prices for an asset depends on the Curve asset...