Kingdom Swap is an NFT MMORPG Play-to-Earn game. It has its economy based on Blockchain, in which it has its Marketplace, where players can buy Premium Accounts, NFTs, Houses, Items, changing character name, and much more.
KingdomSwap2.sendETHToDev(uint256) (#1403-1406) sends eth to arbitrary user
Dangerous calls:
- _DevWalletAddress.transfer(amount.div(2)) (#1404)
- _marketingWalletAddress.transfer(amount.div(2)) (#1405)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in KingdomSwap2._transfer(address,address,uint256) (#1329-1383):
External calls:
- swapTokensForEth(contractTokenBalance) (#1365)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1394-1400)
External calls sending eth:
- sendETHToDev(address(this).balance) (#1369)
- _DevWalletAddress.transfer(amount.div(2)) (#1404)
- _marketingWalletAddress.transfer(amount.div(2)) (#1405)
State variables written after the call(s):
- _tokenTransfer(sender,recipient,amount,takeFee) (#1382)
- _rOwned[address(this)] = _rOwned[address(this)].add(rDev) (#1534)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1460)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1480)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1502)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1461)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1523)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1482)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1503)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1525)
- _tokenTransfer(sender,recipient,amount,takeFee) (#1382)
- _rTotal = _rTotal.sub(rFee) (#1548)
- _tokenTransfer(sender,recipient,amount,takeFee) (#1382)
- _tOwned[address(this)] = _tOwned[address(this)].add(tDev) (#1536)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1522)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1501)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1481)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1524)
Apply the check-effects-interactions pattern.
Additional information: link
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
Contract ownership is not renounced (belongs to a wallet)
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.
KingdomSwap2._setTaxFee(uint256) (#1648-1651) contains a tautology or contradiction:
- require(bool,string)(taxFee >= 0 && taxFee <= 100,taxFee should be in 1 - 10) (#1649)
KingdomSwap2._setDevFee(uint256) (#1653-1656) contains a tautology or contradiction:
- require(bool,string)(DevFee >= 0 && DevFee <= 40,DevFee should be in 1 - 40) (#1654)
Fix the incorrect comparison by changing the value type or the comparison.
Additional information: link
Contract name (Kingdom Swap 2.0) contains non-alphanumeric characters.
Not a direct threat, but may indicate unreliable intentions of developer. Non-alphanumeric chars (,.;!#*&") are extremely rare among low risk tokens.
KingdomSwap2.allowance(address,address).owner (#1103) shadows:
- Ownable.owner() (#167-169) (function)
KingdomSwap2._approve(address,address,uint256).owner (#1318) shadows:
- Ownable.owner() (#167-169) (function)
Rename the local variables that shadow another component.
Additional information: link
KingdomSwap2.setMaxTxPercent(uint256) (#1306-1308) should emit an event for:
- _maxTxAmount = _tTotal.mul(maxTxPercent).div(10 ** 2) (#1307)
KingdomSwap2.setNumofTokensForExchange(uint256) (#1310-1315) should emit an event for:
- _numOfTokensToExchangeForDev = numOfTokensToExchangeForDev (#1314)
KingdomSwap2._setTaxFee(uint256) (#1648-1651) should emit an event for:
- _taxFee = taxFee.div(10) (#1650)
KingdomSwap2._setDevFee(uint256) (#1653-1656) should emit an event for:
- _DevFee = DevFee (#1655)
Emit an event for critical parameter changes.
Additional information: link
KingdomSwap2.constructor(address,address).DevWalletAddress (#1046) lacks a zero-check on :
- _DevWalletAddress = DevWalletAddress (#1049)
KingdomSwap2.constructor(address,address).marketingWalletAddress (#1047) lacks a zero-check on :
- _marketingWalletAddress = marketingWalletAddress (#1050)
KingdomSwap2._setDevWallet(address).DevWalletAddress (#1658) lacks a zero-check on :
- _DevWalletAddress = DevWalletAddress (#1662)
Check that the address is not zero.
Additional information: link
Reentrancy in KingdomSwap2._transfer(address,address,uint256) (#1329-1383):
External calls:
- swapTokensForEth(contractTokenBalance) (#1365)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1394-1400)
External calls sending eth:
- sendETHToDev(address(this).balance) (#1369)
- _DevWalletAddress.transfer(amount.div(2)) (#1404)
- _marketingWalletAddress.transfer(amount.div(2)) (#1405)
State variables written after the call(s):
- _tokenTransfer(sender,recipient,amount,takeFee) (#1382)
- _DevFee = _previousDevFee (#1299)
- _DevFee = 0 (#1294)
- _tokenTransfer(sender,recipient,amount,takeFee) (#1382)
- _previousDevFee = _DevFee (#1291)
- _tokenTransfer(sender,recipient,amount,takeFee) (#1382)
- _previousTaxFee = _taxFee (#1290)
- _tokenTransfer(sender,recipient,amount,takeFee) (#1382)
- _tFeeTotal = _tFeeTotal.add(tFee) (#1549)
- _tokenTransfer(sender,recipient,amount,takeFee) (#1382)
- _taxFee = _previousTaxFee (#1298)
- _taxFee = 0 (#1293)
Reentrancy in KingdomSwap2.constructor(address,address) (#1045-1071):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1057-1058)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (#1064)
- _isExcludedFromFee[address(this)] = true (#1065)
- _isExcludedFromFee[address(0x10ED43C718714eb63d5aA57B78B54704E256024E)] = true (#1066-1068)
- uniswapV2Router = _uniswapV2Router (#1061)
Reentrancy in KingdomSwap2.transferFrom(address,address,uint256) (#1121-1136):
External calls:
- _transfer(sender,recipient,amount) (#1126)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1394-1400)
External calls sending eth:
- _transfer(sender,recipient,amount) (#1126)
- _DevWalletAddress.transfer(amount.div(2)) (#1404)
- _marketingWalletAddress.transfer(amount.div(2)) (#1405)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#1127-1134)
- _allowances[owner][spender] = amount (#1325)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in KingdomSwap2._transfer(address,address,uint256) (#1329-1383):
External calls:
- swapTokensForEth(contractTokenBalance) (#1365)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1394-1400)
External calls sending eth:
- sendETHToDev(address(this).balance) (#1369)
- _DevWalletAddress.transfer(amount.div(2)) (#1404)
- _marketingWalletAddress.transfer(amount.div(2)) (#1405)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#1464)
- _tokenTransfer(sender,recipient,amount,takeFee) (#1382)
- Transfer(sender,recipient,tTransferAmount) (#1485)
- _tokenTransfer(sender,recipient,amount,takeFee) (#1382)
- Transfer(sender,recipient,tTransferAmount) (#1506)
- _tokenTransfer(sender,recipient,amount,takeFee) (#1382)
- Transfer(sender,recipient,tTransferAmount) (#1528)
- _tokenTransfer(sender,recipient,amount,takeFee) (#1382)
Reentrancy in KingdomSwap2.constructor(address,address) (#1045-1071):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1057-1058)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_tTotal) (#1070)
Reentrancy in KingdomSwap2.transferFrom(address,address,uint256) (#1121-1136):
External calls:
- _transfer(sender,recipient,amount) (#1126)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1394-1400)
External calls sending eth:
- _transfer(sender,recipient,amount) (#1126)
- _DevWalletAddress.transfer(amount.div(2)) (#1404)
- _marketingWalletAddress.transfer(amount.div(2)) (#1405)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1326)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#1127-1134)
Apply the check-effects-interactions pattern.
Additional information: link
Address.isContract(address) (#481-491) uses assembly
- INLINE ASM (#487-489)
Address.verifyCallResult(bool,bytes,string) (#687-707) uses assembly
- INLINE ASM (#699-702)
Do not use evm assembly.
Additional information: link
KingdomSwap2.includeAccount(address) (#1250-1261) has costly operations inside a loop:
- _excluded.pop() (#1257)
KingdomSwap2.removeBotFromBlackList(address) (#1273-1285) has costly operations inside a loop:
- _blackListedBots.pop() (#1281)
Use a local variable to hold the loop computation result.
Additional information: link
Address.functionCall(address,bytes) (#540-545) is never used and should be removed
Address.functionCall(address,bytes,string) (#553-559) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#572-584) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#592-608) is never used and should be removed
Address.functionDelegateCall(address,bytes) (#652-662) is never used and should be removed
Address.functionDelegateCall(address,bytes,string) (#670-679) is never used and should be removed
Address.functionStaticCall(address,bytes) (#616-627) is never used and should be removed
Address.functionStaticCall(address,bytes,string) (#635-644) is never used and should be removed
Address.isContract(address) (#481-491) is never used and should be removed
Address.sendValue(address,uint256) (#509-520) is never used and should be removed
Address.verifyCallResult(bool,bytes,string) (#687-707) is never used and should be removed
Context._msgData() (#126-128) is never used and should be removed
KingdomSwap2._getMaxTxAmount() (#1640-1642) is never used and should be removed
KingdomSwap2._getTaxFee() (#1636-1638) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#418-427) is never used and should be removed
SafeMath.mod(uint256,uint256) (#378-380) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#444-453) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#229-239) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#283-292) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#299-308) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#262-276) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#246-255) is never used and should be removed
Remove unused functions.
Additional information: link
KingdomSwap2._rTotal (#1011) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
KingdomSwap2._previousTaxFee (#1020) is set pre-construction with a non-constant function or state variable:
- _taxFee
KingdomSwap2._previousDevFee (#1021) is set pre-construction with a non-constant function or state variable:
- _DevFee
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
Low level call in Address.sendValue(address,uint256) (#509-520):
- (success) = recipient.call{value: amount}() (#515)
Low level call in Address.functionCallWithValue(address,bytes,uint256,string) (#592-608):
- (success,returndata) = target.call{value: value}(data) (#604-606)
Low level call in Address.functionStaticCall(address,bytes,string) (#635-644):
- (success,returndata) = target.staticcall(data) (#642)
Low level call in Address.functionDelegateCall(address,bytes,string) (#670-679):
- (success,returndata) = target.delegatecall(data) (#677)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IUniswapV2Router01.WETH() (#717) is not in mixedCase
Parameter KingdomSwap2.calculateTaxFee(uint256)._amount (#1539) is not in mixedCase
Parameter KingdomSwap2.calculateDevFee(uint256)._amount (#1543) is not in mixedCase
Function KingdomSwap2._getETHBalance() (#1644-1646) is not in mixedCase
Function KingdomSwap2._setTaxFee(uint256) (#1648-1651) is not in mixedCase
Function KingdomSwap2._setDevFee(uint256) (#1653-1656) is not in mixedCase
Parameter KingdomSwap2._setDevFee(uint256).DevFee (#1653) is not in mixedCase
Function KingdomSwap2._setDevWallet(address) (#1658-1663) is not in mixedCase
Parameter KingdomSwap2._setDevWallet(address).DevWalletAddress (#1658) is not in mixedCase
Variable KingdomSwap2._taxFee (#1018) is not in mixedCase
Variable KingdomSwap2._DevFee (#1019) is not in mixedCase
Variable KingdomSwap2._DevWalletAddress (#1023) is not in mixedCase
Variable KingdomSwap2._marketingWalletAddress (#1024) is not in mixedCase
Variable KingdomSwap2._maxTxAmount (#1032) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Reentrancy in KingdomSwap2._transfer(address,address,uint256) (#1329-1383):
External calls:
- sendETHToDev(address(this).balance) (#1369)
- _DevWalletAddress.transfer(amount.div(2)) (#1404)
- _marketingWalletAddress.transfer(amount.div(2)) (#1405)
State variables written after the call(s):
- _tokenTransfer(sender,recipient,amount,takeFee) (#1382)
- _DevFee = _previousDevFee (#1299)
- _DevFee = 0 (#1294)
- _tokenTransfer(sender,recipient,amount,takeFee) (#1382)
- _previousDevFee = _DevFee (#1291)
- _tokenTransfer(sender,recipient,amount,takeFee) (#1382)
- _previousTaxFee = _taxFee (#1290)
- _tokenTransfer(sender,recipient,amount,takeFee) (#1382)
- _rOwned[address(this)] = _rOwned[address(this)].add(rDev) (#1534)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1460)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1480)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1502)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1461)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1523)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1482)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1503)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1525)
- _tokenTransfer(sender,recipient,amount,takeFee) (#1382)
- _rTotal = _rTotal.sub(rFee) (#1548)
- _tokenTransfer(sender,recipient,amount,takeFee) (#1382)
- _tFeeTotal = _tFeeTotal.add(tFee) (#1549)
- _tokenTransfer(sender,recipient,amount,takeFee) (#1382)
- _tOwned[address(this)] = _tOwned[address(this)].add(tDev) (#1536)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1522)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1501)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1481)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1524)
- _tokenTransfer(sender,recipient,amount,takeFee) (#1382)
- _taxFee = _previousTaxFee (#1298)
- _taxFee = 0 (#1293)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#1464)
- _tokenTransfer(sender,recipient,amount,takeFee) (#1382)
- Transfer(sender,recipient,tTransferAmount) (#1485)
- _tokenTransfer(sender,recipient,amount,takeFee) (#1382)
- Transfer(sender,recipient,tTransferAmount) (#1506)
- _tokenTransfer(sender,recipient,amount,takeFee) (#1382)
- Transfer(sender,recipient,tTransferAmount) (#1528)
- _tokenTransfer(sender,recipient,amount,takeFee) (#1382)
Reentrancy in KingdomSwap2.transferFrom(address,address,uint256) (#1121-1136):
External calls:
- _transfer(sender,recipient,amount) (#1126)
- _DevWalletAddress.transfer(amount.div(2)) (#1404)
- _marketingWalletAddress.transfer(amount.div(2)) (#1405)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#1127-1134)
- _allowances[owner][spender] = amount (#1325)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1326)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#1127-1134)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#722) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#723)
Variable KingdomSwap2._transferToExcluded(address,address,uint256).rTransferAmount (#1474) is too similar to KingdomSwap2._transferToExcluded(address,address,uint256).tTransferAmount (#1476)
Variable KingdomSwap2.reflectionFromToken(uint256,bool).rTransferAmount (#1219) is too similar to KingdomSwap2._transferStandard(address,address,uint256).tTransferAmount (#1456)
Variable KingdomSwap2._transferStandard(address,address,uint256).rTransferAmount (#1454) is too similar to KingdomSwap2._transferBothExcluded(address,address,uint256).tTransferAmount (#1518)
Variable KingdomSwap2._transferFromExcluded(address,address,uint256).rTransferAmount (#1495) is too similar to KingdomSwap2._transferBothExcluded(address,address,uint256).tTransferAmount (#1518)
Variable KingdomSwap2._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1612) is too similar to KingdomSwap2._transferBothExcluded(address,address,uint256).tTransferAmount (#1518)
Variable KingdomSwap2._transferFromExcluded(address,address,uint256).rTransferAmount (#1495) is too similar to KingdomSwap2._getValues(uint256).tTransferAmount (#1567)
Variable KingdomSwap2._transferFromExcluded(address,address,uint256).rTransferAmount (#1495) is too similar to KingdomSwap2._transferFromExcluded(address,address,uint256).tTransferAmount (#1497)
Variable KingdomSwap2._getValues(uint256).rTransferAmount (#1571) is too similar to KingdomSwap2._transferBothExcluded(address,address,uint256).tTransferAmount (#1518)
Variable KingdomSwap2._transferToExcluded(address,address,uint256).rTransferAmount (#1474) is too similar to KingdomSwap2._transferStandard(address,address,uint256).tTransferAmount (#1456)
Variable KingdomSwap2._transferFromExcluded(address,address,uint256).rTransferAmount (#1495) is too similar to KingdomSwap2._transferToExcluded(address,address,uint256).tTransferAmount (#1476)
Variable KingdomSwap2._transferStandard(address,address,uint256).rTransferAmount (#1454) is too similar to KingdomSwap2._transferStandard(address,address,uint256).tTransferAmount (#1456)
Variable KingdomSwap2.reflectionFromToken(uint256,bool).rTransferAmount (#1219) is too similar to KingdomSwap2._transferBothExcluded(address,address,uint256).tTransferAmount (#1518)
Variable KingdomSwap2.reflectionFromToken(uint256,bool).rTransferAmount (#1219) is too similar to KingdomSwap2._getValues(uint256).tTransferAmount (#1567)
Variable KingdomSwap2._transferFromExcluded(address,address,uint256).rTransferAmount (#1495) is too similar to KingdomSwap2._transferStandard(address,address,uint256).tTransferAmount (#1456)
Variable KingdomSwap2.reflectionFromToken(uint256,bool).rTransferAmount (#1219) is too similar to KingdomSwap2._transferToExcluded(address,address,uint256).tTransferAmount (#1476)
Variable KingdomSwap2._transferToExcluded(address,address,uint256).rTransferAmount (#1474) is too similar to KingdomSwap2._transferBothExcluded(address,address,uint256).tTransferAmount (#1518)
Variable KingdomSwap2._transferToExcluded(address,address,uint256).rTransferAmount (#1474) is too similar to KingdomSwap2._getValues(uint256).tTransferAmount (#1567)
Variable KingdomSwap2._transferToExcluded(address,address,uint256).rTransferAmount (#1474) is too similar to KingdomSwap2._transferFromExcluded(address,address,uint256).tTransferAmount (#1497)
Variable KingdomSwap2._transferBothExcluded(address,address,uint256).rTransferAmount (#1516) is too similar to KingdomSwap2._transferBothExcluded(address,address,uint256).tTransferAmount (#1518)
Variable KingdomSwap2._getValues(uint256).rTransferAmount (#1571) is too similar to KingdomSwap2._transferFromExcluded(address,address,uint256).tTransferAmount (#1497)
Variable KingdomSwap2._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1612) is too similar to KingdomSwap2._transferStandard(address,address,uint256).tTransferAmount (#1456)
Variable KingdomSwap2._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1612) is too similar to KingdomSwap2._transferFromExcluded(address,address,uint256).tTransferAmount (#1497)
Variable KingdomSwap2._transferStandard(address,address,uint256).rTransferAmount (#1454) is too similar to KingdomSwap2._getValues(uint256).tTransferAmount (#1567)
Variable KingdomSwap2._transferBothExcluded(address,address,uint256).rTransferAmount (#1516) is too similar to KingdomSwap2._transferToExcluded(address,address,uint256).tTransferAmount (#1476)
Variable KingdomSwap2._transferStandard(address,address,uint256).rTransferAmount (#1454) is too similar to KingdomSwap2._getTValues(uint256).tTransferAmount (#1591)
Variable KingdomSwap2._getValues(uint256).rTransferAmount (#1571) is too similar to KingdomSwap2._getValues(uint256).tTransferAmount (#1567)
Variable KingdomSwap2.reflectionFromToken(uint256,bool).rTransferAmount (#1219) is too similar to KingdomSwap2._getTValues(uint256).tTransferAmount (#1591)
Variable KingdomSwap2._transferBothExcluded(address,address,uint256).rTransferAmount (#1516) is too similar to KingdomSwap2._transferStandard(address,address,uint256).tTransferAmount (#1456)
Variable KingdomSwap2._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1612) is too similar to KingdomSwap2._getValues(uint256).tTransferAmount (#1567)
Variable KingdomSwap2._transferBothExcluded(address,address,uint256).rTransferAmount (#1516) is too similar to KingdomSwap2._transferFromExcluded(address,address,uint256).tTransferAmount (#1497)
Variable KingdomSwap2._getValues(uint256).rTransferAmount (#1571) is too similar to KingdomSwap2._getTValues(uint256).tTransferAmount (#1591)
Variable KingdomSwap2._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1612) is too similar to KingdomSwap2._getTValues(uint256).tTransferAmount (#1591)
Variable KingdomSwap2._transferStandard(address,address,uint256).rTransferAmount (#1454) is too similar to KingdomSwap2._transferToExcluded(address,address,uint256).tTransferAmount (#1476)
Variable KingdomSwap2._transferBothExcluded(address,address,uint256).rTransferAmount (#1516) is too similar to KingdomSwap2._getValues(uint256).tTransferAmount (#1567)
Variable KingdomSwap2._transferStandard(address,address,uint256).rTransferAmount (#1454) is too similar to KingdomSwap2._transferFromExcluded(address,address,uint256).tTransferAmount (#1497)
Variable KingdomSwap2._transferBothExcluded(address,address,uint256).rTransferAmount (#1516) is too similar to KingdomSwap2._getTValues(uint256).tTransferAmount (#1591)
Variable KingdomSwap2._transferFromExcluded(address,address,uint256).rTransferAmount (#1495) is too similar to KingdomSwap2._getTValues(uint256).tTransferAmount (#1591)
Variable KingdomSwap2._getValues(uint256).rTransferAmount (#1571) is too similar to KingdomSwap2._transferToExcluded(address,address,uint256).tTransferAmount (#1476)
Variable KingdomSwap2.reflectionFromToken(uint256,bool).rTransferAmount (#1219) is too similar to KingdomSwap2._transferFromExcluded(address,address,uint256).tTransferAmount (#1497)
Variable KingdomSwap2._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1612) is too similar to KingdomSwap2._transferToExcluded(address,address,uint256).tTransferAmount (#1476)
Variable KingdomSwap2._transferToExcluded(address,address,uint256).rTransferAmount (#1474) is too similar to KingdomSwap2._getTValues(uint256).tTransferAmount (#1591)
Variable KingdomSwap2._getValues(uint256).rTransferAmount (#1571) is too similar to KingdomSwap2._transferStandard(address,address,uint256).tTransferAmount (#1456)
Prevent variables from having similar names.
Additional information: link
KingdomSwap2.slitherConstructorVariables() (#990-1665) uses literals with too many digits:
- _tTotal = 30000000 * 10 ** 18 (#1010)
KingdomSwap2.slitherConstructorVariables() (#990-1665) uses literals with too many digits:
- _maxTxAmount = 15000000 * 10 ** 18 (#1032)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
KingdomSwap2._decimals (#1016) should be constant
KingdomSwap2._name (#1014) should be constant
KingdomSwap2._symbol (#1015) should be constant
KingdomSwap2._tTotal (#1010) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#186-188)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#194-200)
name() should be declared external:
- KingdomSwap2.name() (#1073-1075)
symbol() should be declared external:
- KingdomSwap2.symbol() (#1077-1079)
decimals() should be declared external:
- KingdomSwap2.decimals() (#1081-1083)
totalSupply() should be declared external:
- KingdomSwap2.totalSupply() (#1085-1087)
transfer(address,uint256) should be declared external:
- KingdomSwap2.transfer(address,uint256) (#1094-1101)
allowance(address,address) should be declared external:
- KingdomSwap2.allowance(address,address) (#1103-1110)
approve(address,uint256) should be declared external:
- KingdomSwap2.approve(address,uint256) (#1112-1119)
transferFrom(address,address,uint256) should be declared external:
- KingdomSwap2.transferFrom(address,address,uint256) (#1121-1136)
increaseAllowance(address,uint256) should be declared external:
- KingdomSwap2.increaseAllowance(address,uint256) (#1138-1149)
decreaseAllowance(address,uint256) should be declared external:
- KingdomSwap2.decreaseAllowance(address,uint256) (#1151-1165)
isExcluded(address) should be declared external:
- KingdomSwap2.isExcluded(address) (#1167-1169)
isBlackListed(address) should be declared external:
- KingdomSwap2.isBlackListed(address) (#1171-1173)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- KingdomSwap2.excludeMultipleAccountsFromFees(address[],bool) (#1182-1191)
totalFees() should be declared external:
- KingdomSwap2.totalFees() (#1193-1195)
deliver(uint256) should be declared external:
- KingdomSwap2.deliver(uint256) (#1197-1207)
reflectionFromToken(uint256,bool) should be declared external:
- KingdomSwap2.reflectionFromToken(uint256,bool) (#1209-1222)
isExcludedFromFee(address) should be declared external:
- KingdomSwap2.isExcludedFromFee(address) (#1302-1304)
_getETHBalance() should be declared external:
- KingdomSwap2._getETHBalance() (#1644-1646)
Use the external attribute for functions never called from the contract.
Additional information: link
Contract has 6% buy tax and 6% sell tax.
Taxes are low but contract ownership is not renounced. Token has a high risk of becoming a honeypot.
Number of Binance Smart Chain (BSC) token holders is low.
Token is deployed only at one blockchain
Token has only one trading pair
Average 30d PancakeSwap volume is low.
Average PancakeSwap trading volume, liqudity, number of swaps are low. Token seems to be inactive.
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Token has relatively low CoinGecko rank
Young tokens have high risks of price dump / death
Token has relatively low CoinMarketCap rank
Unable to find Youtube account