also cant remove my liquidity from uniswap (cuz tx limit)
i missclicked and call the function setTransactionLimit (0x64bfa546) with the value of the max wallet 1000000000, but i need change to 1000000000000000000000000000.
when i try call 0x64bfa546 i get error
require(tokensTXLimit >= swapTokensAtAmount, "Max Token Limit must be greater or equal to Swapable Tax Tokens");
swapTokensAtAmount is 1000000000000000000000000000 tokensTXLimit is 1000000000
The full functions:
function setTransactionLimit(
uint256 _tokensTXLimit
) public onlyOwner whenNotPaused {
require(tokensTXLimit >= swapTokensAtAmount, "Max Token Limit must be greater or equal to Swapable Tax Tokens");
tokensTXLimit = _tokensTXLimit;
emit TokensTXLimit(tokensTXLimit);
}
function setSwapTokensAtAmount(
uint256 _swappableTokens
) public onlyOwner whenNotPaused {
require(swapTokensAtAmount <= tokensTXLimit , "Max Token Limit must be greater or equal to Swapable Tax Tokens");
swapTokensAtAmount = _swappableTokens;
emit SwapTokensAtAmount(swapTokensAtAmount);
}
Can't call setSwapTokensAtAmount either. It seems like maybe the require conditions should have used the arguments being passed in and not the storage variables?
seems unfixable. You can't call setTransactionLimit() because the tokensTXLimit is smaller than swapTokensAtAmount. You can't call setSwapTokensAtAmount() either because swapTokensAtAmount is larger than tokensTXLimit
Just redeploy atp