Open vanessakleinmora opened 3 years ago
Solved! Apparently there are problems with the setSwapAndLiquify function, as soon as I set it to false (on bscscan) I was able to send and recieve with no problem. Hope this helps someone else :)
PS: This method won't work if you have renounced ownership of the contract, since you will no longer have access to the functions if you've done that.
Hello Vanessa, I'm facing the same issue as you have gone through. How can I change my setSwapAndLiquify function?
Thank you.
Hello Vanessa, I'm facing the same issue as you have gone through. How can I change my setSwapAndLiquify function?
Thank you.
Hi there, to enable this you need to go to BSCscan.com > search for your contract > Contract > Connect to WEB3 (with Owner Wallet) > Write Contract > press CTRL+F (SwapAndLiquify)
Solved! Apparently there are problems with the setSwapAndLiquify function, as soon as I set it to false (on bscscan) I was able to send and recieve with no problem. Hope this helps someone else :)
PS: This method won't work if you have renounced ownership of the contract, since you will no longer have access to the functions if you've done that.
But setting this function "setSwapAndLiquify" to False, will disable all the taxes/fees like: Reward Tax, Marketing Tax, BuyBack Tax, and etc. Did you face such issue?
Solved! Apparently there are problems with the setSwapAndLiquify function, as soon as I set it to false (on bscscan) I was able to send and recieve with no problem. Hope this helps someone else :) PS: This method won't work if you have renounced ownership of the contract, since you will no longer have access to the functions if you've done that.
But setting this function "setSwapAndLiquify" to False, will disable all the taxes/fees like: Reward Tax, Marketing Tax, BuyBack Tax, and etc. Did you face such issue?
How can this be fixed without disabling Reward Tax, Marketing Tax, BuyBack Tax?
Hi everyone!
I deployed a safemoon clone last week and sent it to some of my friends, the first 25 transactions had no problem, until on the 26th transaction I started getting these errors:
Warning! Error encountered during contract execution [execution reverted] and BEP-20 Token Transfer Error (Unable to locate corresponding Transfer Event Logs), Check with Sender.
Another thing I noticed is that as I added to the amount of tokens to send, the gas fee details wouldn't change automatically like like they had before. I raised the gas limit manually so that it was about twice as expensive as usual, still got the same errors. Not sure what to do! This is my first time trying to fork safemoon so I'm sure there's some small thing I should have done or forgot to. The only things I changed about the contract were the name and symbol (roughly on lines 700 to 730).
Anyone who can help shed light on this would be greatly appreciated!
here is a link to one of the failed transaction I tried on bscscan: https://bscscan.com/tx/0x64d856d5cd3d3aa803255bd0c832c92205341efb44b8e5add7183b683581ec49