fundamental defi situation....
So you have token A, and want token C. The best place for liquidity for this swap is going via token B. Without AC you have to swap from A to B, get confirmation, then B to C, ie a 2 step process.
Now, in a quiet market this may execute fine. But this is real life, other people are trading, front running bots are active, among other things. Let's just look at these two scenarios.
For A to C you set 1% slippage. While you're trading to B a whale buys a shitload of C. Now your transaction no longer meets the slippage requirements, but you're in B. Trading back to A will cost you, but trading to C will result in the original parameters being broken. What happens in this situation?
Front running bots could cause a similar situation. To avoid the situation above, you increase slippage. Once again you get to token B but bots have had loads of time to front run you on C, meaning you hit the upper limit of slippage.
What's Kadena's solution?
Is there any way for kadena to achieve atomic composability?
All kadena chains talk to each other using SPV
Обсуждают сегодня