I am attempting to change the SetSwapBackSettings from true to false on a deployed contract on Pulsechain. Although it displays as a bool, writing "false" to the function does not work. I also tried "-1" and "0" to no avail. Any ideas?
The contract does not be verified, so I do not know what is the logic of this function.
Contract is verified. The purpose of doing this is that trading suddenly stopped. I then set all taxes to 0, and that did not work, nor can I remove the LP. Reading through some forums, some advised to change swapback to false to see if that would allow trading to start again or for the LP to be removed.
It seems like your function setSwapBackSettings
like following:
function setSwapBackSettings(uint256 _amount) external onlyOwner {
require(
_amount >= totalSupply().mul(5).div(10**4),
"Swapback amount should be at least 0.05% of total supply"
);
numTokensSellToAddToLiquidity = _amount;
emit SwapAndLiquifyAmountUpdated(_amount);
}
The type of the parameter is uint256
rather than bool
.