Is there any way in which the owner of a project can drain liquidity by making use of taxes on transactions?
Apr 24, 2022, 12:41 PM
It is a doubt I've at least since 3 months and cant figure out if there is a way hahaha
Yes of course, but not hidden functions.
Just about what happens if they do a lot of tx, then the marketing wallet receive fee from that trading, and the fee is from lp pair...
Im thinking on that kind of attacks...
Cant see anything on the web but
they made the buy/sell tx or the take advantage of people tx?
In a common scenario people trade and owners take money from tax, thats ok, people buy the token knowing that...
But there is a way that allows owners to rugpull us taking advantage of the fee mechanism? thats my doubt...
I'm thinking on using flashloans and take advantage of a few cents.
Apr 24, 2022, 12:58 PM
yep, i've seen some, they use the swap system to dump
Apr 24, 2022, 1:04 PM
how? do you have a tx or some explanation of how they do this?
Apr 24, 2022, 1:14 PM
mhm nop, cannot remember the token
also cannot explain in public group how to scam é_é but there are penty of ways to do it from the code itself, if you wanna study some, just search krakoviahoneysniper on telegram, some of them are filtered there
also cannot explain in public group how to scam é_é but there are penty of ways to do it from the code itself, if you wanna study some, just search krakoviahoneysniper on telegram, some of them are filtered there
Apr 24, 2022, 1:17 PM
Yes but honeypot tokens are other kind of tokens
Im asking this about normal tokens, no honey pot
I think its more a mathematical and dex LP calculations
Apr 24, 2022, 1:20 PM
honeypot tokens is just a name, they are contracts made to scam peoples
Apr 24, 2022, 1:20 PM
and probably not possible but I heard it from a guy some months ago and the idea keeps on my mind...
Apr 24, 2022, 1:21 PM
why you wanna do that? :o
Apr 24, 2022, 1:21 PM
No, I want to know if something like that is possible. I think no but idk
Apr 24, 2022, 1:25 PM
it's possible
i mean, from my experience, there is no more reasons to use a testnet instead of forking, only if the client need to test something
Apr 24, 2022, 1:33 PM
If not you will be swaping tokens from fee on every tx.
Gas inefficient and a lot of sells can “scare” investors
Apr 24, 2022, 3:20 PM
anyone know how i can get the token corrispective of tokenLP? :o
Apr 24, 2022, 3:43 PM
what do you mean?
Apr 24, 2022, 3:44 PM
like, i have 1000 LP tokens
they are 5BNB:1000 tokens
i need to get the tokens value of 5 LP tokens (example)
they are 5BNB:1000 tokens
i need to get the tokens value of 5 LP tokens (example)
but not in dollars, in tokens
maybe
(amountLP * reserve1) / total supply LP? :o
(amountLP * reserve1) / total supply LP? :o
Apr 24, 2022, 3:45 PM
I would calculate Lp Ratio as myLp holdings / totSupply of LP
then to know the amount in one of the assets:
Lpratio * reserve of that asset
Lpratio * reserve of that asset
Apr 24, 2022, 3:49 PM
ty!
seems this worked too
seems this worked too
Apr 24, 2022, 3:51 PM
perfect
Apr 24, 2022, 3:51 PM