Can anyone help me understand how to find out what LP a token started with? I thought about maybe looking for an event but that isn’t working
Jul 30, 2022, 4:18 PM
what that even means?
Jul 30, 2022, 4:19 PM
Like when someone creates a token. Then adds the initial LP
Jul 30, 2022, 4:19 PM
then?
Jul 30, 2022, 4:19 PM
What the initial lp was
Jul 30, 2022, 4:20 PM
Just get the first addliquidity
Jul 30, 2022, 4:22 PM
You check the 'Mint' event then afterwards call getAmountsOut on the pair if it doesn't return an error and amount is greater than 0 it means liquidity has been added
Otherwise it'll return an error until liquidity is added, create a cron job and let it run periodically until that succeeds
Otherwise it'll return an error until liquidity is added, create a cron job and let it run periodically until that succeeds
Inside a VM on linux
Linux KVM ftw
I even run Mac OS on it works as smooth as butter
But that works with Sosumi, Virtual Box is unnecessary pain iin the a## if you wanna run mac os
Jul 30, 2022, 4:31 PM
I'm also on linux but everyone should be allowed to use whatever they want without useless kids wars
Jul 30, 2022, 4:35 PM
I know but development is much easier on linux that's why I specifically said who develops on winblows
Jul 30, 2022, 4:35 PM
I use WSL 2.0, works flawlessly
Jul 30, 2022, 4:36 PM
If you want you can also choose the name of it
I guess who wrote that didn't want anyone to be able to queue transactions
On A either the dev made a mistake or he simply doesn't want to use the logic in A
And made that code just to deceive audit and people who read the code
Jul 30, 2022, 6:04 PM
maybe this yea
Jul 30, 2022, 6:05 PM