Hi guys I have question. I want to create own token and add Uniswap LP. F.eg I made 100 tokens X and add all on LP in pair with 100 USDC So One token X is worth 1$ right? Can somebody buy all my tokens in one transaction for 100$?
Apr 25, 2023, 1:24 PM
Doesn't work like that sir
It literally cannot happen
Apr 25, 2023, 1:25 PM
Ok i know there is price impact. How can I calculate it if there is LP 100 X tokens with 100 USDC and I want buy all in one transaction?
Is it even possible to buy them all at once?
Apr 25, 2023, 1:28 PM
no
tx will revert if the price impact exceeds set slippage
Apr 25, 2023, 1:29 PM
But theoretically if I have 200$ and I want to buy all token once with even 99% price impact Can i do that? How can i caltulate it on paper?
Apr 25, 2023, 1:31 PM
i dont think the tx will go though
Apr 25, 2023, 1:32 PM
X * Y = K
https://medium.com/scalar-capital/uniswap-a-unique-exchange-f4ef44f807bf
Apr 25, 2023, 1:34 PM