LimitSwap
LimitSwap copied to clipboard
Don't sell dust on tokens
Hello
Some tokens leave dust when being sold, as they take a tax or do reflections. In most cases LimitSwap doesn't attempt to sell these. But today, with ECT (contract 0x59d71082d8a5b18ebc6b653ae422ac4383cd2597) the bot attempted to sell continuously, draining my eth account by attempting to swap it over and over.
It's a difficult issue to solve. So maybe I would suggest calculating a percentage of minimum tokens to sell based on the total supply.
Another suggestion is on issue #332
Thank you.
so we currently have a dust value check ==
balance > 0.0000000000000001:
The problem is some shitcoins like SHIBA have such small decimals it would trigger fast while other wont for 20 sells, the only thing we could do is make this customizable so you can set your min dust per token, please let me know.
Hey
I think there are a few ways to go around on this One of them is by maybe allocating the percent of the balance. Or Maybe just adding a sell attempt = 1. So it just tries to sell once
yes I will think on this for future release
Try
Max token =0.01 Moonbag =0.02