DeFi Series | Significance of CPAMM
What is CPAMM actually?
Welcome reader!
I have been lately into DeFi projects. And I figured out something which might sound interesting to many DeFi enthusiasts.
Background
Have you ever wondered which AMM to choose from?
There are so many AMMs. And the most popular of those is Constant Product Automated Market Maker (CPAMM) which is used by Uniswap.
But, that’s not all.
Have you heard of Constant Sum Automated Market Maker (CSAMM)?
If yes, then why isn’t that not chosen instead?
Knowledge
Well, let me aware you first that no DEX would ever want a situation where either of the token reserves goes to zero. That would mean the price of the zero reserve token would sky rocket to a very high value close to infinity in CPAMM mathematically. And that would result into high volume of arbitrages which would completely forfeit the whole purpose of its presence in the market.
> The DEXes are also utilized as a means for referring to token price like Oracles like Chainlink, etc, other than just being a medium of swapping tokens for trader & providing liquidity for LPs.
Reasoning
Now, let’s jump straight onto the main purpose of this article.
Before that, do you know there is this sweet spot at which the DEX would want to have the liquidity value always i.e. in xy = k
, the k
value should be ideally at that point?
But, pragmatically the situation is not as expected as per the theory demands.
In this curve,
S
→ Stability point
D1
→ Danger point towards token A
D2
→ Danger point towards token B
So, S
is the point where the liquidity of reserve tokens should be all the time.
And as mentioned above, D1
, D2
are the danger points where either of the token pair goes to zero reserve.
That’s it for now.
We will continue this series with the next blog: “DeFi Series | Why CPAMM?”
Till then, stay tuned! Take care 🙂.
See you on my next blog.
Thanks for giving your precious time to this article.
Follow me on:
Email — dalvath3700@gmail.com
Github — https://github.com/abhi3700
Telegram — https://t.me/abhi3700
Steemit — https://steemit.com/@abhi3700
LinkedIn — https://www.linkedin.com/in/abhi3700/
Twitter — https://twitter.com/abhi3700
Medium — https://medium.com/@abhi3700
Fiverr — https://www.fiverr.com/abhijitroy294
Facebook — https://www.facebook.com/abhi3700
New to trading? Try crypto trading bots or copy trading