Hi all,
I had an issue with deployment of a token contract, there is an problem where the swapAndLiquify (automatic LP via a transaction tax) function stops all TXS - there is no useful error nor anything shown anywhere in debug. There were also a bunch of tokens stuck in the contract from launch.
- I want to understand what caused the stuck tokens in our contract.
- And what caused the swapAndLiquify function to not work.
I've been investigating for a week now myself, asked various developers, and Tech Rate (who audited our contract & just repeated that it is functionally fine) - all to no avail thus far.
My guess was - some sort of error in the deployment block / deploying the function itself - but everything appears successful.
My next guess was something to do with Presale on DXsale or how they lock the LP tokens etc - however I had this issue once before (at that time I also couldn't find what caused it)
DXSale guys suggested it may be to do with PCS sync, but it has been a week & no change - so unsure.
- other deployments of an identical contract work fine.
https://bscscan.com/token/0x8943b6d1677a4addbe5aa58f429e11e856746fba contract ref
https://bscscan.com/tx/0xe6fcbd1981a8d0193eadfe3bae680a5e242f2c902a2e5f9397b3dbefcf00f597 failed TX ref
https://bscscan.com/token/0x1fcc1d84601ba90c1b86170c25246eb74db448dc identical functioning token deployed following presale*
May 25, 2021, 6:48 AM
Lol sorry, I edited it a couple x there*
^ Would really appreciate some help on this if anyone has insight
Bump @ any Devs willing to help/provide insight.
May 25, 2021, 7:41 AM