Automated market making
Incognito DEX is powered by an Automated Market-Making ( AMM ) technology.
AMMs allow users to swap crypto assets, for example DAI for PRV, without requiring a centralized counterparty. This is unlike traditional exchanges such as Coinbase, Kraken, or Binance, which act as intermediaries between token buyers and sellers.
Whereas these companies are centralized, subject to regulations, censorship, and identity control, AMMs are simply smart-contract systems operating unstoppably on top of distributed ledgers such as Incognito & Ethereum.
One of the most important qualities of AMMs is that they require some users to act as the liquidity providers in the service. Liquidity providers commit their own asset pairs to so-called “liquidity pools”.
When using Incognito DEX and swapping PRV for DAI for example, you are trading your assets against one of these liquidity pools.
Fee structure in liquidity pools
AMMs charge a certain transaction fee to the users of the service.
These are added to the liquidity pool, and distributed to the users who committed funds to it, proportionally to their contribution.
In the case of Incognito DEX, the trading fee is 0.0%. The main reward for the liquidity providers comes from a rewards program - Supply liquidity for Incognito DEX. Provide privacy for the world.
Users who provide liquidity to AMMs can see their locked tokens change value compared to simply holding the tokens on their own.
Some users are unaware of it, others are vaguely familiar with the concept. But most people don’t really understand how and why impermanent loss occurs.
What is impermanent loss?
Impermanent loss is the main difference between holding tokens in an AMM and holding them in your wallet.
It occurs when the price of tokens inside an AMM diverge in any direction. The more divergence, the greater the impermanent loss.
Because as long as the relative prices of tokens in the AMM return to their original state when you entered the AMM, the loss disappears and you earn 100% of the trading fees + 100% of subsidized rewards.
How does It occur?
To understand how impermanent loss occurs, we first need to understand how AMM pricing works and the role arbitrageurs play.
In their raw form, AMMs are disconnected from external markets. If token prices change on external markets, an AMM doesn’t automatically adjust its prices. It requires an arbitrageur to come along and buy the underpriced asset or sell the overpriced asset until prices offered by the AMM match external markets.
During this process, the profit extracted by arbitrageurs is effectively removed from the pockets of liquidity providers, resulting in impermanent loss.
For example, consider an AMM with two assets, PRV and DAI, set at a 50/50 ratio. As shown below, a change in the price of PRV opens an opportunity for arbitrageurs to profit at the expense of liquidity providers.
- The DAI/PRV AMM is balanced, with equal values on both sides
The price of PRV increases by 10%, creating an arbitrage opportunity.
Arbitrageurs are incentivized to balance AMM by selling DAI for PRV, until both sides of the AMM are equal.
As a result, liquidity providers suffer a - $2.4 loss compare to holding PRV & DAI
What’s the motivation to become a liquidity provider?
By providing liquidity to the pools, providers take the risk of Impermanent loss and the reason is quite simple. The APR they earn is much higher than risks they take.
During April and May, we experimented with the Incognito DEX rewards program Supply liquidity for Incognito DEX. Provide privacy for the world. which gives up to 62.7% APR on locked PRV and up to 10% on other assets.
From June the program will be modified and simplified (details will be added here).