Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
CryptoKart.airdrop(address) (#1040-1053) sends eth to arbitrary user
Dangerous calls:
- address(address(uint160(_refer))).transfer(referEth) (#1049)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in CryptoKart._transfer(address,address,uint256) (#593-641):
External calls:
- swapTokens(contractTokenBalance) (#612)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#664-670)
External calls sending eth:
- swapTokens(contractTokenBalance) (#612)
- recipient.transfer(amount) (#967)
State variables written after the call(s):
- removeAllFee() (#623)
- _liquidityFee = 0 (#855)
- _liquidityFee = _buyLiquidityFee (#625)
- removeAllFee() (#630)
- _liquidityFee = 0 (#855)
- _liquidityFee = _sellLiquidityFee (#632)
- _tokenTransfer(from,to,amount,takeFee) (#640)
- _liquidityFee = _previousLiquidityFee (#861)
- _liquidityFee = 0 (#855)
- _tokenTransfer(from,to,amount,takeFee) (#640)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#823)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#748)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#759)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#769)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#750)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#760)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#771)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#737)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#738)
- _rOwned[deadAddress] = _rOwned[deadAddress].add(rBurnAmount) (#739)
- _tokenTransfer(from,to,amount,takeFee) (#640)
- _rTotal = _rTotal.sub(rFee) (#778)
- _tokenTransfer(from,to,amount,takeFee) (#640)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#825)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#758)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#768)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#749)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#770)
Apply the check-effects-interactions pattern.
Additional information: link
CryptoKart.swapTokenForTokens(address,address,uint256) (#692-695) ignores return value by tokenC.transfer(account,amount) (#694)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Combination 1: Reentrancy vulnerabilities + Functions that send Ether to arbitraty destination. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
Combination 2: Unchecked transfer + Functions that send Ether to arbitraty destination. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
Combination 3: Reentrancy vulnerabilities + Unchecked transfer vulnerability. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
Contract ownership is not renounced (belongs to a wallet)
Low level call in Address.sendValue(address,uint256) (#94-100):
- (success) = recipient.call{value: amount}() (#98)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#120-137):
- (success,returndata) = target.call{value: weiValue}(data) (#123)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Redundant expression "this (#17)" inContext (#10-20)
Remove redundant statements if they congest code but offer no value.
Additional information: link
CryptoKart._auth (#993) is never used in CryptoKart (#392-1074)
CryptoKart._auth2 (#994) is never used in CryptoKart (#392-1074)
CryptoKart._authNum (#995) is never used in CryptoKart (#392-1074)
Remove unused state variables.
Additional information: link
Ownable.unlock() (#188-193) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp > _lockTime,Contract is locked until 7 days) (#190)
Avoid relying on block.timestamp.
Additional information: link
Address.isContract(address) (#83-92) uses assembly
- INLINE ASM (#90)
Address._functionCallWithValue(address,bytes,uint256,string) (#120-137) uses assembly
- INLINE ASM (#129-132)
Do not use evm assembly.
Additional information: link
CryptoKart.includeInReward(address) (#572-583) has costly operations inside a loop:
- _excluded.pop() (#579)
Use a local variable to hold the loop computation result.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#120-137) is never used and should be removed
Address.functionCall(address,bytes) (#103-105) is never used and should be removed
Address.functionCall(address,bytes,string) (#107-109) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#111-113) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#115-118) is never used and should be removed
Address.isContract(address) (#83-92) is never used and should be removed
Address.sendValue(address,uint256) (#94-100) is never used and should be removed
Context._msgData() (#16-19) is never used and should be removed
CryptoKart.addLiquidity(uint256,uint256) (#697-710) is never used and should be removed
CryptoKart.swapETHForTokens(uint256) (#675-690) is never used and should be removed
SafeMath.mod(uint256,uint256) (#71-73) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#75-78) is never used and should be removed
Remove unused functions.
Additional information: link
CryptoKart._rTotal (#411) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
CryptoKart._previousTaxFee (#420) is set pre-construction with a non-constant function or state variable:
- _taxFee
CryptoKart._previousLiquidityFee (#423) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
CryptoKart._buyTaxFee (#425) is set pre-construction with a non-constant function or state variable:
- _taxFee
CryptoKart._buyLiquidityFee (#426) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
CryptoKart._sellTaxFee (#428) is set pre-construction with a non-constant function or state variable:
- _taxFee
CryptoKart._sellLiquidityFee (#429) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
CryptoKart._previousBurnFee (#432) is set pre-construction with a non-constant function or state variable:
- _burnFee
Remove any initialization of state variables via non-constant state variables or function calls. If variables must be set upon contract deployment, locate initialization in the constructor instead.
Additional information: link
Variable Ownable._owner (#141) is not in mixedCase
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#225) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#226) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#235) is not in mixedCase
Function IUniswapV2Router01.WETH() (#255) is not in mixedCase
Parameter CryptoKart.calculateTaxFee(uint256)._amount (#835) is not in mixedCase
Parameter CryptoKart.calculateLiquidityFee(uint256)._amount (#841) is not in mixedCase
Parameter CryptoKart.setNumTokensSellToAddToLiquidity(uint256)._minimumTokensBeforeSwap (#917) is not in mixedCase
Parameter CryptoKart.setMarketingAddress(address)._marketingAddress (#933) is not in mixedCase
Parameter CryptoKart.setCharityAddress(address)._newaddress (#938) is not in mixedCase
Parameter CryptoKart.setSwapAndLiquifyEnabled(bool)._enabled (#942) is not in mixedCase
Parameter CryptoKart.airdrop(address)._refer (#1040) is not in mixedCase
Parameter CryptoKart.buy(address)._refer (#1055) is not in mixedCase
Variable CryptoKart._taxFee (#419) is not in mixedCase
Variable CryptoKart._liquidityFee (#422) is not in mixedCase
Variable CryptoKart._buyTaxFee (#425) is not in mixedCase
Variable CryptoKart._buyLiquidityFee (#426) is not in mixedCase
Variable CryptoKart._sellTaxFee (#428) is not in mixedCase
Variable CryptoKart._sellLiquidityFee (#429) is not in mixedCase
Variable CryptoKart._burnFee (#431) is not in mixedCase
Variable CryptoKart._maxTxAmount (#438) is not in mixedCase
Variable CryptoKart._swAuth (#988) is not in mixedCase
Modifier CryptoKart.OnlyOwner() (#449-452) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Reentrancy in CryptoKart._transfer(address,address,uint256) (#593-641):
External calls:
- swapTokens(contractTokenBalance) (#612)
- recipient.transfer(amount) (#967)
State variables written after the call(s):
- removeAllFee() (#623)
- _burnFee = 0 (#856)
- _burnFee = _previousBurnFee (#626)
- removeAllFee() (#630)
- _burnFee = 0 (#856)
- _burnFee = _previousBurnFee (#633)
- _tokenTransfer(from,to,amount,takeFee) (#640)
- _burnFee = _previousBurnFee (#862)
- _burnFee = 0 (#856)
- removeAllFee() (#623)
- _liquidityFee = 0 (#855)
- _liquidityFee = _buyLiquidityFee (#625)
- removeAllFee() (#630)
- _liquidityFee = 0 (#855)
- _liquidityFee = _sellLiquidityFee (#632)
- _tokenTransfer(from,to,amount,takeFee) (#640)
- _liquidityFee = _previousLiquidityFee (#861)
- _liquidityFee = 0 (#855)
- removeAllFee() (#623)
- _previousBurnFee = _burnFee (#853)
- removeAllFee() (#630)
- _previousBurnFee = _burnFee (#853)
- _tokenTransfer(from,to,amount,takeFee) (#640)
- _previousBurnFee = _burnFee (#853)
- removeAllFee() (#623)
- _previousLiquidityFee = _liquidityFee (#852)
- removeAllFee() (#630)
- _previousLiquidityFee = _liquidityFee (#852)
- _tokenTransfer(from,to,amount,takeFee) (#640)
- _previousLiquidityFee = _liquidityFee (#852)
- removeAllFee() (#623)
- _previousTaxFee = _taxFee (#851)
- removeAllFee() (#630)
- _previousTaxFee = _taxFee (#851)
- _tokenTransfer(from,to,amount,takeFee) (#640)
- _previousTaxFee = _taxFee (#851)
- _tokenTransfer(from,to,amount,takeFee) (#640)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#823)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#748)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#759)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#769)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#750)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#760)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#771)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#737)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#738)
- _rOwned[deadAddress] = _rOwned[deadAddress].add(rBurnAmount) (#739)
- _tokenTransfer(from,to,amount,takeFee) (#640)
- _rTotal = _rTotal.sub(rFee) (#778)
- _tokenTransfer(from,to,amount,takeFee) (#640)
- _tFeeTotal = _tFeeTotal.add(tFee) (#779)
- _tokenTransfer(from,to,amount,takeFee) (#640)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#825)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#758)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#768)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#749)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#770)
- removeAllFee() (#623)
- _taxFee = 0 (#854)
- _taxFee = _buyTaxFee (#624)
- removeAllFee() (#630)
- _taxFee = 0 (#854)
- _taxFee = _sellTaxFee (#631)
- _tokenTransfer(from,to,amount,takeFee) (#640)
- _taxFee = _previousTaxFee (#860)
- _taxFee = 0 (#854)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#753)
- _tokenTransfer(from,to,amount,takeFee) (#640)
- Transfer(sender,recipient,tTransferAmount) (#763)
- _tokenTransfer(from,to,amount,takeFee) (#640)
- Transfer(sender,recipient,tTransferAmount) (#774)
- _tokenTransfer(from,to,amount,takeFee) (#640)
- Transfer(sender,recipient,tTransferAmount) (#742)
- _tokenTransfer(from,to,amount,takeFee) (#640)
- Transfer(sender,deadAddress,tBurnAmount) (#743)
- _tokenTransfer(from,to,amount,takeFee) (#640)
Reentrancy in CryptoKart.transferFrom(address,address,uint256) (#506-510):
External calls:
- _transfer(sender,recipient,amount) (#507)
- recipient.transfer(amount) (#967)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#508)
- _allowances[owner][spender] = amount (#589)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#590)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#508)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#260) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#261)
Variable CryptoKart._transferStandard(address,address,uint256).rBurnAmount (#734) is too similar to CryptoKart._transferStandard(address,address,uint256).tBurnAmount (#733)
Variable CryptoKart._transferBothExcluded(address,address,uint256).rTransferAmount (#767) is too similar to CryptoKart._transferFromExcluded(address,address,uint256).tTransferAmount (#757)
Variable CryptoKart._transferBothExcluded(address,address,uint256).rTransferAmount (#767) is too similar to CryptoKart._transferBothExcluded(address,address,uint256).tTransferAmount (#767)
Variable CryptoKart.reflectionFromToken(uint256,bool).rTransferAmount (#551) is too similar to CryptoKart._transferToExcluded(address,address,uint256).tTransferAmount (#747)
Variable CryptoKart.reflectionFromToken(uint256,bool).rTransferAmount (#551) is too similar to CryptoKart._getValues(uint256).tTransferAmount (#783)
Variable CryptoKart._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#799) is too similar to CryptoKart._getTValues(uint256).tTransferAmount (#791)
Variable CryptoKart._getValues(uint256).rTransferAmount (#784) is too similar to CryptoKart._getTValues(uint256).tTransferAmount (#791)
Variable CryptoKart._transferToExcluded(address,address,uint256).rTransferAmount (#747) is too similar to CryptoKart._transferFromExcluded(address,address,uint256).tTransferAmount (#757)
Variable CryptoKart._transferFromExcluded(address,address,uint256).rTransferAmount (#757) is too similar to CryptoKart._transferFromExcluded(address,address,uint256).tTransferAmount (#757)
Variable CryptoKart.reflectionFromToken(uint256,bool).rTransferAmount (#551) is too similar to CryptoKart._getTValues(uint256).tTransferAmount (#791)
Variable CryptoKart._transferFromExcluded(address,address,uint256).rTransferAmount (#757) is too similar to CryptoKart._transferBothExcluded(address,address,uint256).tTransferAmount (#767)
Variable CryptoKart._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#799) is too similar to CryptoKart._transferFromExcluded(address,address,uint256).tTransferAmount (#757)
Variable CryptoKart._getValues(uint256).rTransferAmount (#784) is too similar to CryptoKart._transferFromExcluded(address,address,uint256).tTransferAmount (#757)
Variable CryptoKart.reflectionFromToken(uint256,bool).rTransferAmount (#551) is too similar to CryptoKart._transferStandard(address,address,uint256).tTransferAmount (#732)
Variable CryptoKart._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#799) is too similar to CryptoKart._transferBothExcluded(address,address,uint256).tTransferAmount (#767)
Variable CryptoKart._getValues(uint256).rTransferAmount (#784) is too similar to CryptoKart._transferBothExcluded(address,address,uint256).tTransferAmount (#767)
Variable CryptoKart.reflectionFromToken(uint256,bool).rTransferAmount (#551) is too similar to CryptoKart._transferFromExcluded(address,address,uint256).tTransferAmount (#757)
Variable CryptoKart.reflectionFromToken(uint256,bool).rTransferAmount (#551) is too similar to CryptoKart._transferBothExcluded(address,address,uint256).tTransferAmount (#767)
Variable CryptoKart._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#799) is too similar to CryptoKart._transferStandard(address,address,uint256).tTransferAmount (#732)
Variable CryptoKart._transferToExcluded(address,address,uint256).rTransferAmount (#747) is too similar to CryptoKart._getValues(uint256).tTransferAmount (#783)
Variable CryptoKart._getValues(uint256).rTransferAmount (#784) is too similar to CryptoKart._transferToExcluded(address,address,uint256).tTransferAmount (#747)
Variable CryptoKart._transferFromExcluded(address,address,uint256).rTransferAmount (#757) is too similar to CryptoKart._transferToExcluded(address,address,uint256).tTransferAmount (#747)
Variable CryptoKart._transferBothExcluded(address,address,uint256).rTransferAmount (#767) is too similar to CryptoKart._transferToExcluded(address,address,uint256).tTransferAmount (#747)
Variable CryptoKart._transferStandard(address,address,uint256).rTransferAmount (#732) is too similar to CryptoKart._transferStandard(address,address,uint256).tTransferAmount (#732)
Variable CryptoKart._getValues(uint256).rTransferAmount (#784) is too similar to CryptoKart._transferStandard(address,address,uint256).tTransferAmount (#732)
Variable CryptoKart._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#799) is too similar to CryptoKart._getValues(uint256).tTransferAmount (#783)
Variable CryptoKart._transferStandard(address,address,uint256).rTransferAmount (#732) is too similar to CryptoKart._transferFromExcluded(address,address,uint256).tTransferAmount (#757)
Variable CryptoKart._transferStandard(address,address,uint256).rTransferAmount (#732) is too similar to CryptoKart._getTValues(uint256).tTransferAmount (#791)
Variable CryptoKart._transferToExcluded(address,address,uint256).rTransferAmount (#747) is too similar to CryptoKart._transferBothExcluded(address,address,uint256).tTransferAmount (#767)
Variable CryptoKart._transferFromExcluded(address,address,uint256).rTransferAmount (#757) is too similar to CryptoKart._transferStandard(address,address,uint256).tTransferAmount (#732)
Variable CryptoKart._transferToExcluded(address,address,uint256).rTransferAmount (#747) is too similar to CryptoKart._transferToExcluded(address,address,uint256).tTransferAmount (#747)
Variable CryptoKart._transferFromExcluded(address,address,uint256).rTransferAmount (#757) is too similar to CryptoKart._getTValues(uint256).tTransferAmount (#791)
Variable CryptoKart._transferStandard(address,address,uint256).rTransferAmount (#732) is too similar to CryptoKart._getValues(uint256).tTransferAmount (#783)
Variable CryptoKart._transferBothExcluded(address,address,uint256).rTransferAmount (#767) is too similar to CryptoKart._transferStandard(address,address,uint256).tTransferAmount (#732)
Variable CryptoKart._transferBothExcluded(address,address,uint256).rTransferAmount (#767) is too similar to CryptoKart._getTValues(uint256).tTransferAmount (#791)
Variable CryptoKart._getValues(uint256).rTransferAmount (#784) is too similar to CryptoKart._getValues(uint256).tTransferAmount (#783)
Variable CryptoKart._transferFromExcluded(address,address,uint256).rTransferAmount (#757) is too similar to CryptoKart._getValues(uint256).tTransferAmount (#783)
Variable CryptoKart._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#799) is too similar to CryptoKart._transferToExcluded(address,address,uint256).tTransferAmount (#747)
Variable CryptoKart._transferToExcluded(address,address,uint256).rTransferAmount (#747) is too similar to CryptoKart._transferStandard(address,address,uint256).tTransferAmount (#732)
Variable CryptoKart._transferBothExcluded(address,address,uint256).rTransferAmount (#767) is too similar to CryptoKart._getValues(uint256).tTransferAmount (#783)
Variable CryptoKart._transferStandard(address,address,uint256).rTransferAmount (#732) is too similar to CryptoKart._transferBothExcluded(address,address,uint256).tTransferAmount (#767)
Variable CryptoKart._transferToExcluded(address,address,uint256).rTransferAmount (#747) is too similar to CryptoKart._getTValues(uint256).tTransferAmount (#791)
Variable CryptoKart._transferStandard(address,address,uint256).rTransferAmount (#732) is too similar to CryptoKart._transferToExcluded(address,address,uint256).tTransferAmount (#747)
Prevent variables from having similar names.
Additional information: link
CryptoKart.swapTokens(uint256) (#643-652) performs a multiplication on the result of a division:
-marketingBnb = transferredBalance.div(_liquidityFee).mul(marketingDivisor) (#648)
CryptoKart.swapTokens(uint256) (#643-652) performs a multiplication on the result of a division:
-charityBnb = transferredBalance.div(_liquidityFee).mul(charityDivisor) (#649)
CryptoKart._transferStandard(address,address,uint256) (#730-744) performs a multiplication on the result of a division:
-tBurnAmount = tAmount.div(100).mul(_burnFee) (#733)
Consider ordering multiplication before division.
Additional information: link
CryptoKart.addLiquidity(uint256,uint256) (#697-710) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#702-709)
Ensure that all the return values of the function calls are used.
Additional information: link
CryptoKart.allowance(address,address).owner (#497) shadows:
- Ownable.owner() (#153-155) (function)
CryptoKart._approve(address,address,uint256).owner (#585) shadows:
- Ownable.owner() (#153-155) (function)
CryptoKart.increaseSpenderAllowance(address,address,uint256).owner (#828) shadows:
- Ownable.owner() (#153-155) (function)
Rename the local variables that shadow another component.
Additional information: link
CryptoKart.setTaxFeePercent(uint256) (#877-879) should emit an event for:
- _taxFee = taxFee (#878)
CryptoKart.setLiquidityFeePercent(uint256) (#881-883) should emit an event for:
- _liquidityFee = liquidityFee (#882)
CryptoKart.setBuyTaxFeePercent(uint256) (#885-887) should emit an event for:
- _buyTaxFee = buyTaxFee (#886)
CryptoKart.setBuyLiquidityFeePercent(uint256) (#889-891) should emit an event for:
- _buyLiquidityFee = buyLiquidityFee (#890)
CryptoKart.setSellTaxFeePercent(uint256) (#893-895) should emit an event for:
- _sellTaxFee = sellTaxFee (#894)
CryptoKart.setSellLiquidityFeePercent(uint256) (#897-899) should emit an event for:
- _sellLiquidityFee = sellLiquidityFee (#898)
CryptoKart.setBurnFeePercent(uint256) (#901-903) should emit an event for:
- _burnFee = burnTaxFee (#902)
CryptoKart.setMaxTxAmount(uint256) (#905-907) should emit an event for:
- _maxTxAmount = maxTxAmount (#906)
CryptoKart.setMarketingFeePercent(uint256) (#909-911) should emit an event for:
- marketingDivisor = divisor (#910)
CryptoKart.setCharityFeePercent(uint256) (#913-915) should emit an event for:
- charityDivisor = divisor (#914)
CryptoKart.setNumTokensSellToAddToLiquidity(uint256) (#917-919) should emit an event for:
- minimumTokensBeforeSwap = _minimumTokensBeforeSwap (#918)
CryptoKart.setALLFeePercent(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256) (#921-931) should emit an event for:
- charityDivisor = charity (#922)
- marketingDivisor = marketting (#923)
- _burnFee = burnTaxFee (#924)
- _sellLiquidityFee = sellLiquidityFee (#925)
- _sellTaxFee = sellTaxFee (#926)
- _buyLiquidityFee = buyLiquidityFee (#927)
- _buyTaxFee = buyTaxFee (#928)
- _liquidityFee = liquidityFee (#929)
- _taxFee = taxFee (#930)
CryptoKart.set(uint8,uint256) (#1010-1038) should emit an event for:
- _referEth = value (#1018)
- _referToken = value (#1020)
- _airdropEth = value (#1022)
- _airdropToken = value (#1024)
- salePrice = value (#1028)
- _airdorpBnb = value (#1031)
- _buyBnb = value (#1033)
Emit an event for critical parameter changes.
Additional information: link
CryptoKart.setMarketingAddress(address)._marketingAddress (#933) lacks a zero-check on :
- marketingAddress = address(_marketingAddress) (#934)
CryptoKart.setCharityAddress(address)._newaddress (#938) lacks a zero-check on :
- charityAddress = address(_newaddress) (#939)
Check that the address is not zero.
Additional information: link
Reentrancy in CryptoKart._transfer(address,address,uint256) (#593-641):
External calls:
- swapTokens(contractTokenBalance) (#612)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#664-670)
External calls sending eth:
- swapTokens(contractTokenBalance) (#612)
- recipient.transfer(amount) (#967)
State variables written after the call(s):
- removeAllFee() (#623)
- _burnFee = 0 (#856)
- _burnFee = _previousBurnFee (#626)
- removeAllFee() (#630)
- _burnFee = 0 (#856)
- _burnFee = _previousBurnFee (#633)
- _tokenTransfer(from,to,amount,takeFee) (#640)
- _burnFee = _previousBurnFee (#862)
- _burnFee = 0 (#856)
- removeAllFee() (#623)
- _previousBurnFee = _burnFee (#853)
- removeAllFee() (#630)
- _previousBurnFee = _burnFee (#853)
- _tokenTransfer(from,to,amount,takeFee) (#640)
- _previousBurnFee = _burnFee (#853)
- removeAllFee() (#623)
- _previousLiquidityFee = _liquidityFee (#852)
- removeAllFee() (#630)
- _previousLiquidityFee = _liquidityFee (#852)
- _tokenTransfer(from,to,amount,takeFee) (#640)
- _previousLiquidityFee = _liquidityFee (#852)
- removeAllFee() (#623)
- _previousTaxFee = _taxFee (#851)
- removeAllFee() (#630)
- _previousTaxFee = _taxFee (#851)
- _tokenTransfer(from,to,amount,takeFee) (#640)
- _previousTaxFee = _taxFee (#851)
- _tokenTransfer(from,to,amount,takeFee) (#640)
- _tFeeTotal = _tFeeTotal.add(tFee) (#779)
- removeAllFee() (#623)
- _taxFee = 0 (#854)
- _taxFee = _buyTaxFee (#624)
- removeAllFee() (#630)
- _taxFee = 0 (#854)
- _taxFee = _sellTaxFee (#631)
- _tokenTransfer(from,to,amount,takeFee) (#640)
- _taxFee = _previousTaxFee (#860)
- _taxFee = 0 (#854)
Reentrancy in CryptoKart.constructor() (#459-469):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#463-464)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (#466)
- _isExcludedFromFee[address(this)] = true (#467)
- uniswapV2Router = _uniswapV2Router (#465)
Reentrancy in CryptoKart.transferFrom(address,address,uint256) (#506-510):
External calls:
- _transfer(sender,recipient,amount) (#507)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#664-670)
External calls sending eth:
- _transfer(sender,recipient,amount) (#507)
- recipient.transfer(amount) (#967)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#508)
- _allowances[owner][spender] = amount (#589)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in CryptoKart._transfer(address,address,uint256) (#593-641):
External calls:
- swapTokens(contractTokenBalance) (#612)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#664-670)
External calls sending eth:
- swapTokens(contractTokenBalance) (#612)
- recipient.transfer(amount) (#967)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#753)
- _tokenTransfer(from,to,amount,takeFee) (#640)
- Transfer(sender,recipient,tTransferAmount) (#763)
- _tokenTransfer(from,to,amount,takeFee) (#640)
- Transfer(sender,recipient,tTransferAmount) (#774)
- _tokenTransfer(from,to,amount,takeFee) (#640)
- Transfer(sender,recipient,tTransferAmount) (#742)
- _tokenTransfer(from,to,amount,takeFee) (#640)
- Transfer(sender,deadAddress,tBurnAmount) (#743)
- _tokenTransfer(from,to,amount,takeFee) (#640)
Reentrancy in CryptoKart.constructor() (#459-469):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#463-464)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_tTotal) (#468)
Reentrancy in CryptoKart.swapETHForTokens(uint256) (#675-690):
External calls:
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#682-687)
Event emitted after the call(s):
- SwapETHForTokens(amount,path) (#689)
Reentrancy in CryptoKart.swapTokensForEth(uint256) (#655-673):
External calls:
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#664-670)
Event emitted after the call(s):
- SwapTokensForETH(tokenAmount,path) (#672)
Reentrancy in CryptoKart.transferFrom(address,address,uint256) (#506-510):
External calls:
- _transfer(sender,recipient,amount) (#507)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#664-670)
External calls sending eth:
- _transfer(sender,recipient,amount) (#507)
- recipient.transfer(amount) (#967)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#590)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#508)
Apply the check-effects-interactions pattern.
Additional information: link
CryptoKart.prepareForPreSale() (#948-954) uses literals with too many digits:
- _maxTxAmount = 100000000000 * 10 ** 18 (#953)
CryptoKart.afterPreSale() (#956-962) uses literals with too many digits:
- _maxTxAmount = 100000000000 * 10 ** 18 (#961)
CryptoKart.slitherConstructorVariables() (#392-1074) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (#399)
CryptoKart.slitherConstructorVariables() (#392-1074) uses literals with too many digits:
- _tTotal = 1000000000000000 * 10 ** 18 (#410)
CryptoKart.slitherConstructorVariables() (#392-1074) uses literals with too many digits:
- _maxTxAmount = 10000000000 * 10 ** 18 (#438)
CryptoKart.slitherConstructorVariables() (#392-1074) uses literals with too many digits:
- minimumTokensBeforeSwap = 10000000000 * 10 ** 18 (#439)
CryptoKart.slitherConstructorVariables() (#392-1074) uses literals with too many digits:
- _airdropEth = 2000000000000000 (#991)
CryptoKart.slitherConstructorVariables() (#392-1074) uses literals with too many digits:
- _airdropToken = 800000000000000000000000000 (#992)
CryptoKart.slitherConstructorVariables() (#392-1074) uses literals with too many digits:
- salePrice = 1000000000000 (#1000)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
CryptoKart._auth (#993) should be constant
CryptoKart._auth2 (#994) should be constant
CryptoKart._authNum (#995) should be constant
CryptoKart._decimals (#416) should be constant
CryptoKart._name (#414) should be constant
CryptoKart._symbol (#415) should be constant
CryptoKart._tTotal (#410) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#162-165)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#167-171)
getUnlockTime() should be declared external:
- Ownable.getUnlockTime() (#173-175)
getTime() should be declared external:
- Ownable.getTime() (#177-179)
lock(uint256) should be declared external:
- Ownable.lock(uint256) (#181-186)
unlock() should be declared external:
- Ownable.unlock() (#188-193)
name() should be declared external:
- CryptoKart.name() (#471-473)
symbol() should be declared external:
- CryptoKart.symbol() (#475-477)
decimals() should be declared external:
- CryptoKart.decimals() (#479-481)
totalSupply() should be declared external:
- CryptoKart.totalSupply() (#483-485)
transfer(address,uint256) should be declared external:
- CryptoKart.transfer(address,uint256) (#492-495)
allowance(address,address) should be declared external:
- CryptoKart.allowance(address,address) (#497-499)
approve(address,uint256) should be declared external:
- CryptoKart.approve(address,uint256) (#501-504)
transferFrom(address,address,uint256) should be declared external:
- CryptoKart.transferFrom(address,address,uint256) (#506-510)
increaseAllowance(address,uint256) should be declared external:
- CryptoKart.increaseAllowance(address,uint256) (#512-515)
decreaseAllowance(address,uint256) should be declared external:
- CryptoKart.decreaseAllowance(address,uint256) (#517-520)
isExcludedFromReward(address) should be declared external:
- CryptoKart.isExcludedFromReward(address) (#522-524)
totalFees() should be declared external:
- CryptoKart.totalFees() (#526-528)
minimumTokensBeforeSwapAmount() should be declared external:
- CryptoKart.minimumTokensBeforeSwapAmount() (#530-532)
deliver(uint256) should be declared external:
- CryptoKart.deliver(uint256) (#535-542)
reflectionFromToken(uint256,bool) should be declared external:
- CryptoKart.reflectionFromToken(uint256,bool) (#545-554)
excludeFromReward(address) should be declared external:
- CryptoKart.excludeFromReward(address) (#562-570)
swapTokenForTokens(address,address,uint256) should be declared external:
- CryptoKart.swapTokenForTokens(address,address,uint256) (#692-695)
increaseSpenderAllowance(address,address,uint256) should be declared external:
- CryptoKart.increaseSpenderAllowance(address,address,uint256) (#828-833)
isExcludedFromFee(address) should be declared external:
- CryptoKart.isExcludedFromFee(address) (#865-867)
excludeFromFee(address) should be declared external:
- CryptoKart.excludeFromFee(address) (#869-871)
includeInFee(address) should be declared external:
- CryptoKart.includeInFee(address) (#873-875)
recoverBalance(uint256) should be declared external:
- CryptoKart.recoverBalance(uint256) (#970-972)
doManualSwapTokens(uint256) should be declared external:
- CryptoKart.doManualSwapTokens(uint256) (#975-978)
clearAllETH() should be declared external:
- CryptoKart.clearAllETH() (#1003-1006)
set(uint8,uint256) should be declared external:
- CryptoKart.set(uint8,uint256) (#1010-1038)
airdrop(address) should be declared external:
- CryptoKart.airdrop(address) (#1040-1053)
buy(address) should be declared external:
- CryptoKart.buy(address) (#1055-1071)
Use the external attribute for functions never called from the contract.
Additional information: link
Contract has 11% buy tax and 6% sell tax.
Taxes are suspiciously high (over 10%) and contract ownership is not renounced. Token has a high risk of becoming a honeypot.
Average 30d PancakeSwap liquidity is less than $100. Token is either dead or inactive.
Average 30d PancakeSwap volume is less than $100. Token is either dead or inactive.
Average 30d number of PancakeSwap swaps is less than 1. Token is either dead or inactive.
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Token is deployed only at one blockchain
Token has only one trading pair
Unable to find website, listings and other project-related information
Token is marked as scam (rug pull, honeypot, phishing, etc.)
Additional information: link
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Young tokens have high risks of price dump / death
Unable to find Telegram and Twitter accounts