Xenthium network focused on high perfomance transaction and cheap transactiom fee, the purpose is to be able to handle transaction from any marketplace platform or real life asset. Our purpose is making cryptocurrency become the main currency in digital transaction. Weh have utility like : X-WALLET, XWAP, X-LAUNCH, X-AI we also developing a simple integration so in the next step when a marketplace want to implement XTC as a exchange rate, they just drag and drop the SDK.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
XENTHIUMCOIN.swapBNBForTokensToBusd(uint256) (#718-732) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,address(this),block.timestamp.add(300)) (#724-729)
XENTHIUMCOIN.addLiquidity(uint256,uint256) (#735-748) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#740-747)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in XENTHIUMCOIN._transfer(address,address,uint256) (#611-663):
External calls:
- addLiquidityToToken(liquidityToken) (#643)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#740-747)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#706-712)
- swapTokens(marketingDevelopmentAndTeamToken) (#645)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#706-712)
External calls sending eth:
- addLiquidityToToken(liquidityToken) (#643)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#740-747)
State variables written after the call(s):
- swapTokens(marketingDevelopmentAndTeamToken) (#645)
- inSwapAndLiquify = true (#475)
- inSwapAndLiquify = false (#477)
Reentrancy in XENTHIUMCOIN._transfer(address,address,uint256) (#611-663):
External calls:
- addLiquidityToToken(liquidityToken) (#643)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#740-747)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#706-712)
- swapTokens(marketingDevelopmentAndTeamToken) (#645)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#706-712)
- SwapAndLiquifyBNBtoBusd(bnbBalbusd) (#647)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,address(this),block.timestamp.add(300)) (#724-729)
- require(bool)(IERC20(busdAddress).transfer(marketingAddress,marketingFunds)) (#988)
- require(bool)(IERC20(busdAddress).transfer(teamAddress,teamFunds)) (#989)
- require(bool)(IERC20(busdAddress).transfer(environmentAddress,environmentFunds)) (#990)
External calls sending eth:
- addLiquidityToToken(liquidityToken) (#643)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#740-747)
- SwapAndLiquifyBNBtoBusd(bnbBalbusd) (#647)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,address(this),block.timestamp.add(300)) (#724-729)
State variables written after the call(s):
- _tokenTransfer(from,to,amount) (#659)
- _rOwned[address(address(this))] = _rOwned[address(address(this))].add(rLiquidity) (#849)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#773)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#764)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#794)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#765)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#784)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#785)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#775)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#796)
- _tokenTransfer(from,to,amount) (#659)
- _rTotal = _rTotal.sub(rFee) (#803)
- _tokenTransfer(from,to,amount) (#659)
- _tOwned[address(address(this))] = _tOwned[address(address(this))].add(tLiquidity) (#851)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#783)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#793)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#774)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#795)
- SwapAndLiquifyBNBtoBusd(bnbBalbusd) (#647)
- inSwapAndLiquify = true (#475)
- inSwapAndLiquify = false (#477)
Apply the check-effects-interactions pattern.
Additional information: link
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.
XENTHIUMCOIN.addLiquidity(uint256,uint256) (#735-748) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#740-747)
Ensure that all the return values of the function calls are used.
Additional information: link
XENTHIUMCOIN.setPairAddress(address).newPair (#570) lacks a zero-check on :
- uniswapV2Pair = newPair (#571)
XENTHIUMCOIN.setMarketingAddress(address)._marketingAddress (#891) lacks a zero-check on :
- marketingAddress = address(_marketingAddress) (#892)
XENTHIUMCOIN.setEnvironmentAddress(address)._environmentAddress (#896) lacks a zero-check on :
- environmentAddress = address(_environmentAddress) (#897)
XENTHIUMCOIN.setTeamAddress(address)._teamAddress (#901) lacks a zero-check on :
- teamAddress = address(_teamAddress) (#902)
XENTHIUMCOIN.setBusdAddress(address)._newBusd (#911) lacks a zero-check on :
- busdAddress = address(_newBusd) (#912)
Check that the address is not zero.
Additional information: link
Address.isContract(address) (#84-93) uses assembly
- INLINE ASM (#91)
Address._functionCallWithValue(address,bytes,uint256,string) (#121-138) uses assembly
- INLINE ASM (#130-133)
Do not use evm assembly.
Additional information: link
XENTHIUMCOIN.includeInReward(address) (#590-601) has costly operations inside a loop:
- _excluded.pop() (#597)
Use a local variable to hold the loop computation result.
Additional information: link
Redundant expression "this (#10)" inContext (#4-13)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#265) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#266)
Variable XENTHIUMCOIN._bMaxTxAmount (#440) is too similar to XENTHIUMCOIN._sMaxTxAmount (#441)
Variable XENTHIUMCOIN.setBuyMaxTxAmount(uint256).bMaxTxAmount (#881) is too similar to XENTHIUMCOIN.setSellMaxTxAmount(uint256).sMaxTxAmount (#886)
Variable XENTHIUMCOIN._transferFromExcluded(address,address,uint256).rTransferAmount (#782) is too similar to XENTHIUMCOIN._transferToExcluded(address,address,uint256).tTransferAmount (#772)
Variable XENTHIUMCOIN._transferToExcluded(address,address,uint256).rTransferAmount (#772) is too similar to XENTHIUMCOIN._transferToExcluded(address,address,uint256).tTransferAmount (#772)
Variable XENTHIUMCOIN._transferFromExcluded(address,address,uint256).rTransferAmount (#782) is too similar to XENTHIUMCOIN._getValues(uint256).tTransferAmount (#808)
Variable XENTHIUMCOIN._getValues(uint256).rTransferAmount (#809) is too similar to XENTHIUMCOIN._transferBothExcluded(address,address,uint256).tTransferAmount (#792)
Variable XENTHIUMCOIN._transferToExcluded(address,address,uint256).rTransferAmount (#772) is too similar to XENTHIUMCOIN._getValues(uint256).tTransferAmount (#808)
Variable XENTHIUMCOIN._transferFromExcluded(address,address,uint256).rTransferAmount (#782) is too similar to XENTHIUMCOIN._transferStandard(address,address,uint256).tTransferAmount (#763)
Variable XENTHIUMCOIN._transferToExcluded(address,address,uint256).rTransferAmount (#772) is too similar to XENTHIUMCOIN._transferStandard(address,address,uint256).tTransferAmount (#763)
Variable XENTHIUMCOIN._transferStandard(address,address,uint256).rTransferAmount (#763) is too similar to XENTHIUMCOIN._transferStandard(address,address,uint256).tTransferAmount (#763)
Variable XENTHIUMCOIN._transferBothExcluded(address,address,uint256).rTransferAmount (#792) is too similar to XENTHIUMCOIN._transferBothExcluded(address,address,uint256).tTransferAmount (#792)
Variable XENTHIUMCOIN._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#824) is too similar to XENTHIUMCOIN._transferBothExcluded(address,address,uint256).tTransferAmount (#792)
Variable XENTHIUMCOIN._transferFromExcluded(address,address,uint256).rTransferAmount (#782) is too similar to XENTHIUMCOIN._transferBothExcluded(address,address,uint256).tTransferAmount (#792)
Variable XENTHIUMCOIN._transferFromExcluded(address,address,uint256).rTransferAmount (#782) is too similar to XENTHIUMCOIN._transferFromExcluded(address,address,uint256).tTransferAmount (#782)
Variable XENTHIUMCOIN._transferToExcluded(address,address,uint256).rTransferAmount (#772) is too similar to XENTHIUMCOIN._transferBothExcluded(address,address,uint256).tTransferAmount (#792)
Variable XENTHIUMCOIN._transferToExcluded(address,address,uint256).rTransferAmount (#772) is too similar to XENTHIUMCOIN._transferFromExcluded(address,address,uint256).tTransferAmount (#782)
Variable XENTHIUMCOIN._transferStandard(address,address,uint256).rTransferAmount (#763) is too similar to XENTHIUMCOIN._transferBothExcluded(address,address,uint256).tTransferAmount (#792)
Variable XENTHIUMCOIN._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#824) is too similar to XENTHIUMCOIN._transferFromExcluded(address,address,uint256).tTransferAmount (#782)
Variable XENTHIUMCOIN._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#824) is too similar to XENTHIUMCOIN._getValues(uint256).tTransferAmount (#808)
Variable XENTHIUMCOIN._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#824) is too similar to XENTHIUMCOIN._transferToExcluded(address,address,uint256).tTransferAmount (#772)
Variable XENTHIUMCOIN._getValues(uint256).rTransferAmount (#809) is too similar to XENTHIUMCOIN._transferFromExcluded(address,address,uint256).tTransferAmount (#782)
Variable XENTHIUMCOIN._transferBothExcluded(address,address,uint256).rTransferAmount (#792) is too similar to XENTHIUMCOIN._transferStandard(address,address,uint256).tTransferAmount (#763)
Variable XENTHIUMCOIN._transferBothExcluded(address,address,uint256).rTransferAmount (#792) is too similar to XENTHIUMCOIN._getTValues(uint256).tTransferAmount (#816)
Variable XENTHIUMCOIN._transferFromExcluded(address,address,uint256).rTransferAmount (#782) is too similar to XENTHIUMCOIN._getTValues(uint256).tTransferAmount (#816)
Variable XENTHIUMCOIN._getValues(uint256).rTransferAmount (#809) is too similar to XENTHIUMCOIN._getValues(uint256).tTransferAmount (#808)
Variable XENTHIUMCOIN._getValues(uint256).rTransferAmount (#809) is too similar to XENTHIUMCOIN._transferToExcluded(address,address,uint256).tTransferAmount (#772)
Variable XENTHIUMCOIN._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#824) is too similar to XENTHIUMCOIN._transferStandard(address,address,uint256).tTransferAmount (#763)
Variable XENTHIUMCOIN._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#824) is too similar to XENTHIUMCOIN._getTValues(uint256).tTransferAmount (#816)
Variable XENTHIUMCOIN._transferStandard(address,address,uint256).rTransferAmount (#763) is too similar to XENTHIUMCOIN._transferFromExcluded(address,address,uint256).tTransferAmount (#782)
Variable XENTHIUMCOIN._transferStandard(address,address,uint256).rTransferAmount (#763) is too similar to XENTHIUMCOIN._getValues(uint256).tTransferAmount (#808)
Variable XENTHIUMCOIN._transferStandard(address,address,uint256).rTransferAmount (#763) is too similar to XENTHIUMCOIN._transferToExcluded(address,address,uint256).tTransferAmount (#772)
Variable XENTHIUMCOIN._getValues(uint256).rTransferAmount (#809) is too similar to XENTHIUMCOIN._transferStandard(address,address,uint256).tTransferAmount (#763)
Variable XENTHIUMCOIN._getValues(uint256).rTransferAmount (#809) is too similar to XENTHIUMCOIN._getTValues(uint256).tTransferAmount (#816)
Variable XENTHIUMCOIN._transferToExcluded(address,address,uint256).rTransferAmount (#772) is too similar to XENTHIUMCOIN._getTValues(uint256).tTransferAmount (#816)
Variable XENTHIUMCOIN._transferBothExcluded(address,address,uint256).rTransferAmount (#792) is too similar to XENTHIUMCOIN._transferFromExcluded(address,address,uint256).tTransferAmount (#782)
Variable XENTHIUMCOIN._transferStandard(address,address,uint256).rTransferAmount (#763) is too similar to XENTHIUMCOIN._getTValues(uint256).tTransferAmount (#816)
Variable XENTHIUMCOIN._transferBothExcluded(address,address,uint256).rTransferAmount (#792) is too similar to XENTHIUMCOIN._getValues(uint256).tTransferAmount (#808)
Variable XENTHIUMCOIN._transferBothExcluded(address,address,uint256).rTransferAmount (#792) is too similar to XENTHIUMCOIN._transferToExcluded(address,address,uint256).tTransferAmount (#772)
Prevent variables from having similar names.
Additional information: link
XENTHIUMCOIN.allowance(address,address).owner (#522) shadows:
- Ownable.owner() (#156-158) (function)
XENTHIUMCOIN._approve(address,address,uint256).owner (#603) shadows:
- Ownable.owner() (#156-158) (function)
Rename the local variables that shadow another component.
Additional information: link
XENTHIUMCOIN.setBuyMaxTxAmount(uint256) (#881-884) should emit an event for:
- _bMaxTxAmount = bMaxTxAmount (#882)
XENTHIUMCOIN.setSellMaxTxAmount(uint256) (#886-889) should emit an event for:
- _sMaxTxAmount = sMaxTxAmount (#887)
XENTHIUMCOIN.setAllBuyAndTxFees(uint256,uint256,uint256,uint256,uint256,uint256) (#915-927) should emit an event for:
- _buyTaxFee = taxFee (#918)
- _buyVaultFee = vaultFee (#919)
- _buyTeamFee = teamFee (#920)
- _buyLiquidityFee = liquidityFee (#921)
- _buyMarketingFee = marketingFee (#922)
- _buyEnvironmentFee = environmentFee (#923)
- _buyAllSwapableFees = _buyTeamFee + _buyLiquidityFee + _buyMarketingFee + _buyEnvironmentFee (#924)
XENTHIUMCOIN.setAllSellFees(uint256,uint256,uint256,uint256,uint256,uint256) (#929-941) should emit an event for:
- _sellTaxFee = taxFee (#932)
- _sellVaultFee = vaultFee (#933)
- _sellTeamFee = teamFee (#934)
- _sellLiquidityFee = liquidityFee (#935)
- _sellMarketingFee = marketingFee (#936)
- _sellEnvironmentFee = environmentFee (#937)
- _sellAllSwapableFees = _sellTeamFee + _sellLiquidityFee + _sellMarketingFee + _sellEnvironmentFee (#938)
Emit an event for critical parameter changes.
Additional information: link
Reentrancy in XENTHIUMCOIN._transfer(address,address,uint256) (#611-663):
External calls:
- addLiquidityToToken(liquidityToken) (#643)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#740-747)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#706-712)
- swapTokens(marketingDevelopmentAndTeamToken) (#645)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#706-712)
External calls sending eth:
- addLiquidityToToken(liquidityToken) (#643)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#740-747)
State variables written after the call(s):
- swapTokens(marketingDevelopmentAndTeamToken) (#645)
- _allowances[owner][spender] = amount (#607)
Reentrancy in XENTHIUMCOIN._transfer(address,address,uint256) (#611-663):
External calls:
- addLiquidityToToken(liquidityToken) (#643)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#740-747)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#706-712)
- swapTokens(marketingDevelopmentAndTeamToken) (#645)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#706-712)
- SwapAndLiquifyBNBtoBusd(bnbBalbusd) (#647)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,address(this),block.timestamp.add(300)) (#724-729)
- require(bool)(IERC20(busdAddress).transfer(marketingAddress,marketingFunds)) (#988)
- require(bool)(IERC20(busdAddress).transfer(teamAddress,teamFunds)) (#989)
- require(bool)(IERC20(busdAddress).transfer(environmentAddress,environmentFunds)) (#990)
External calls sending eth:
- addLiquidityToToken(liquidityToken) (#643)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#740-747)
- SwapAndLiquifyBNBtoBusd(bnbBalbusd) (#647)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,address(this),block.timestamp.add(300)) (#724-729)
State variables written after the call(s):
- _tokenTransfer(from,to,amount) (#659)
- _tFeeTotal = _tFeeTotal.add(tFee) (#804)
- setSellFee() (#655)
- _tempAllSwapableFees = _sellAllSwapableFees (#684)
- removeAllFee() (#657)
- _tempAllSwapableFees = 0 (#670)
- restoreAllFee() (#661)
- _tempAllSwapableFees = _buyAllSwapableFees (#677)
- setSellFee() (#655)
- _tempTaxFee = _sellTaxFee (#682)
- removeAllFee() (#657)
- _tempTaxFee = 0 (#668)
- restoreAllFee() (#661)
- _tempTaxFee = _buyTaxFee (#675)
- setSellFee() (#655)
- _tempVaultFee = _sellVaultFee (#683)
- removeAllFee() (#657)
- _tempVaultFee = 0 (#669)
- restoreAllFee() (#661)
- _tempVaultFee = _buyVaultFee (#676)
Reentrancy in XENTHIUMCOIN.addLiquidityToToken(uint256) (#996-1012):
External calls:
- swapTokensForBNB(half) (#1004)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#706-712)
- addLiquidity(otherHalf,newBalance) (#1009)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#740-747)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1009)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#740-747)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#1009)
- _allowances[owner][spender] = amount (#607)
Reentrancy in XENTHIUMCOIN.changeRouterVersion(address) (#948-958):
External calls:
- _pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#952-953)
State variables written after the call(s):
- uniswapV2Pair = _pair (#956)
- uniswapV2Router = _uniswapV2Router (#957)
Reentrancy in XENTHIUMCOIN.constructor() (#480-494):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#484-485)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (#488)
- _isExcludedFromFee[address(address(this))] = true (#489)
- _isExcludedFromFee[marketingAddress] = true (#490)
- _isExcludedFromFee[teamAddress] = true (#491)
- _isExcludedFromFee[environmentAddress] = true (#492)
- uniswapV2Router = _uniswapV2Router (#486)
Reentrancy in XENTHIUMCOIN.setRouterAddressAndCreatePair(address) (#559-563):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_newPancakeRouter.factory()).createPair(address(this),_newPancakeRouter.WETH()) (#561)
State variables written after the call(s):
- uniswapV2Router = _newPancakeRouter (#562)
Reentrancy in XENTHIUMCOIN.transferFrom(address,address,uint256) (#531-535):
External calls:
- _transfer(sender,recipient,amount) (#532)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#740-747)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,address(this),block.timestamp.add(300)) (#724-729)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#706-712)
- require(bool)(IERC20(busdAddress).transfer(marketingAddress,marketingFunds)) (#988)
- require(bool)(IERC20(busdAddress).transfer(teamAddress,teamFunds)) (#989)
- require(bool)(IERC20(busdAddress).transfer(environmentAddress,environmentFunds)) (#990)
External calls sending eth:
- _transfer(sender,recipient,amount) (#532)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#740-747)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,address(this),block.timestamp.add(300)) (#724-729)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#533)
- _allowances[owner][spender] = amount (#607)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in XENTHIUMCOIN.SwapAndLiquifyBNBtoBusd(uint256) (#980-993):
External calls:
- swapBNBForTokensToBusd(bnbLiquifyAmount) (#982)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,address(this),block.timestamp.add(300)) (#724-729)
- require(bool)(IERC20(busdAddress).transfer(marketingAddress,marketingFunds)) (#988)
- require(bool)(IERC20(busdAddress).transfer(teamAddress,teamFunds)) (#989)
- require(bool)(IERC20(busdAddress).transfer(environmentAddress,environmentFunds)) (#990)
External calls sending eth:
- swapBNBForTokensToBusd(bnbLiquifyAmount) (#982)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,address(this),block.timestamp.add(300)) (#724-729)
Event emitted after the call(s):
- SwapAndLiquifyBNB(bnbLiquifyAmount,newTokenBalance,bnbLiquifyAmount) (#992)
Reentrancy in XENTHIUMCOIN._transfer(address,address,uint256) (#611-663):
External calls:
- addLiquidityToToken(liquidityToken) (#643)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#740-747)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#706-712)
- swapTokens(marketingDevelopmentAndTeamToken) (#645)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#706-712)
External calls sending eth:
- addLiquidityToToken(liquidityToken) (#643)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#740-747)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#608)
- swapTokens(marketingDevelopmentAndTeamToken) (#645)
- SwapTokensForBNB(tokenAmount,path) (#714)
- swapTokens(marketingDevelopmentAndTeamToken) (#645)
Reentrancy in XENTHIUMCOIN._transfer(address,address,uint256) (#611-663):
External calls:
- addLiquidityToToken(liquidityToken) (#643)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#740-747)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#706-712)
- swapTokens(marketingDevelopmentAndTeamToken) (#645)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#706-712)
- SwapAndLiquifyBNBtoBusd(bnbBalbusd) (#647)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,address(this),block.timestamp.add(300)) (#724-729)
- require(bool)(IERC20(busdAddress).transfer(marketingAddress,marketingFunds)) (#988)
- require(bool)(IERC20(busdAddress).transfer(teamAddress,teamFunds)) (#989)
- require(bool)(IERC20(busdAddress).transfer(environmentAddress,environmentFunds)) (#990)
External calls sending eth:
- addLiquidityToToken(liquidityToken) (#643)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#740-747)
- SwapAndLiquifyBNBtoBusd(bnbBalbusd) (#647)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,address(this),block.timestamp.add(300)) (#724-729)
Event emitted after the call(s):
- SwapAndLiquifyBNB(bnbLiquifyAmount,newTokenBalance,bnbLiquifyAmount) (#992)
- SwapAndLiquifyBNBtoBusd(bnbBalbusd) (#647)
- SwapBNBForTokens(amount,path) (#731)
- SwapAndLiquifyBNBtoBusd(bnbBalbusd) (#647)
- Transfer(sender,recipient,tTransferAmount) (#768)
- _tokenTransfer(from,to,amount) (#659)
- Transfer(sender,recipient,tTransferAmount) (#778)
- _tokenTransfer(from,to,amount) (#659)
- Transfer(sender,recipient,tTransferAmount) (#788)
- _tokenTransfer(from,to,amount) (#659)
- Transfer(sender,recipient,tTransferAmount) (#799)
- _tokenTransfer(from,to,amount) (#659)
Reentrancy in XENTHIUMCOIN.addLiquidityToToken(uint256) (#996-1012):
External calls:
- swapTokensForBNB(half) (#1004)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#706-712)
- addLiquidity(otherHalf,newBalance) (#1009)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#740-747)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1009)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#740-747)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#608)
- addLiquidity(otherHalf,newBalance) (#1009)
- SwapAndLiquifyTokens(half,newBalance,otherHalf) (#1011)
Reentrancy in XENTHIUMCOIN.constructor() (#480-494):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#484-485)
Event emitted after the call(s):
- Transfer(address(0),owner(),_tTotal) (#493)
Reentrancy in XENTHIUMCOIN.swapBNBForTokensToBusd(uint256) (#718-732):
External calls:
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,address(this),block.timestamp.add(300)) (#724-729)
Event emitted after the call(s):
- SwapBNBForTokens(amount,path) (#731)
Reentrancy in XENTHIUMCOIN.swapTokensForBNB(uint256) (#697-715):
External calls:
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#706-712)
Event emitted after the call(s):
- SwapTokensForBNB(tokenAmount,path) (#714)
Reentrancy in XENTHIUMCOIN.transferFrom(address,address,uint256) (#531-535):
External calls:
- _transfer(sender,recipient,amount) (#532)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#740-747)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,address(this),block.timestamp.add(300)) (#724-729)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#706-712)
- require(bool)(IERC20(busdAddress).transfer(marketingAddress,marketingFunds)) (#988)
- require(bool)(IERC20(busdAddress).transfer(teamAddress,teamFunds)) (#989)
- require(bool)(IERC20(busdAddress).transfer(environmentAddress,environmentFunds)) (#990)
External calls sending eth:
- _transfer(sender,recipient,amount) (#532)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#740-747)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,address(this),block.timestamp.add(300)) (#724-729)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#608)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#533)
Apply the check-effects-interactions pattern.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#121-138) is never used and should be removed
Address.functionCall(address,bytes) (#104-106) is never used and should be removed
Address.functionCall(address,bytes,string) (#108-110) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#112-114) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#116-119) is never used and should be removed
Address.isContract(address) (#84-93) is never used and should be removed
Address.sendValue(address,uint256) (#95-101) is never used and should be removed
Context._msgData() (#9-12) is never used and should be removed
SafeMath.mod(uint256,uint256) (#72-74) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#76-79) is never used and should be removed
XENTHIUMCOIN.calculateVaultFee(uint256) (#859-862) is never used and should be removed
XENTHIUMCOIN.transferToAddressBNB(address,uint256) (#944-946) is never used and should be removed
Remove unused functions.
Additional information: link
XENTHIUMCOIN._buyAllSwapableFees (#430) is set pre-construction with a non-constant function or state variable:
- _buyTeamFee + _buyLiquidityFee + _buyMarketingFee + _buyEnvironmentFee
XENTHIUMCOIN._sellAllSwapableFees (#438) is set pre-construction with a non-constant function or state variable:
- _sellTeamFee + _sellLiquidityFee + _sellMarketingFee + _sellEnvironmentFee
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
Pragma version0.8.13 (#2) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.13 is not recommended for deployment
Deploy with any of the following Solidity versions: 0.5.16 - 0.5.17, 0.6.11 - 0.6.12, 0.7.5 - 0.7.6 Use a simple pragma version that allows any of these versions. Consider using the latest version of Solidity for testing.
Additional information: link
Low level call in Address.sendValue(address,uint256) (#95-101):
- (success) = recipient.call{value: amount}() (#99)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#121-138):
- (success,returndata) = target.call{value: weiValue}(data) (#124)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#226) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#227) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#243) is not in mixedCase
Function IUniswapV2Router01.WETH() (#260) is not in mixedCase
Parameter XENTHIUMCOIN.enableNoTransferFee(bool)._enable (#688) is not in mixedCase
Parameter XENTHIUMCOIN.calculateTaxFee(uint256)._amount (#854) is not in mixedCase
Parameter XENTHIUMCOIN.calculateVaultFee(uint256)._amount (#859) is not in mixedCase
Parameter XENTHIUMCOIN.calculateAllSwapableFees(uint256)._amount (#864) is not in mixedCase
Parameter XENTHIUMCOIN.setMarketingAddress(address)._marketingAddress (#891) is not in mixedCase
Parameter XENTHIUMCOIN.setEnvironmentAddress(address)._environmentAddress (#896) is not in mixedCase
Parameter XENTHIUMCOIN.setTeamAddress(address)._teamAddress (#901) is not in mixedCase
Parameter XENTHIUMCOIN.setSwapAndLiquifyEnabled(bool)._enabled (#906) is not in mixedCase
Parameter XENTHIUMCOIN.setBusdAddress(address)._newBusd (#911) is not in mixedCase
Parameter XENTHIUMCOIN.changeRouterVersion(address)._router (#948) is not in mixedCase
Parameter XENTHIUMCOIN.transferForeignToken(address,address)._token (#964) is not in mixedCase
Parameter XENTHIUMCOIN.transferForeignToken(address,address)._to (#964) is not in mixedCase
Function XENTHIUMCOIN.SwapAndLiquifyBNBtoBusd(uint256) (#980-993) is not in mixedCase
Function XENTHIUMCOIN.SweepStuck(uint256) (#1014-1016) is not in mixedCase
Parameter XENTHIUMCOIN.SweepStuck(uint256)._amount (#1014) is not in mixedCase
Constant XENTHIUMCOIN._tTotal (#412) is not in UPPER_CASE_WITH_UNDERSCORES
Constant XENTHIUMCOIN._name (#416) is not in UPPER_CASE_WITH_UNDERSCORES
Constant XENTHIUMCOIN._symbol (#417) is not in UPPER_CASE_WITH_UNDERSCORES
Constant XENTHIUMCOIN._decimals (#418) is not in UPPER_CASE_WITH_UNDERSCORES
Variable XENTHIUMCOIN._buyTeamFee (#426) is not in mixedCase
Variable XENTHIUMCOIN._buyLiquidityFee (#427) is not in mixedCase
Variable XENTHIUMCOIN._buyMarketingFee (#428) is not in mixedCase
Variable XENTHIUMCOIN._buyEnvironmentFee (#429) is not in mixedCase
Variable XENTHIUMCOIN._buyAllSwapableFees (#430) is not in mixedCase
Variable XENTHIUMCOIN._sellTeamFee (#434) is not in mixedCase
Variable XENTHIUMCOIN._sellLiquidityFee (#435) is not in mixedCase
Variable XENTHIUMCOIN._sellMarketingFee (#436) is not in mixedCase
Variable XENTHIUMCOIN._sellEnvironmentFee (#437) is not in mixedCase
Variable XENTHIUMCOIN._sellAllSwapableFees (#438) is not in mixedCase
Variable XENTHIUMCOIN._bMaxTxAmount (#440) is not in mixedCase
Variable XENTHIUMCOIN._sMaxTxAmount (#441) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
XENTHIUMCOIN.minimumTokensBeforeSwap (#443) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#175-177)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#183-186)
name() should be declared external:
- XENTHIUMCOIN.name() (#496-498)
symbol() should be declared external:
- XENTHIUMCOIN.symbol() (#500-502)
decimals() should be declared external:
- XENTHIUMCOIN.decimals() (#504-506)
totalSupply() should be declared external:
- XENTHIUMCOIN.totalSupply() (#508-510)
transfer(address,uint256) should be declared external:
- XENTHIUMCOIN.transfer(address,uint256) (#517-520)
allowance(address,address) should be declared external:
- XENTHIUMCOIN.allowance(address,address) (#522-524)
approve(address,uint256) should be declared external:
- XENTHIUMCOIN.approve(address,uint256) (#526-529)
transferFrom(address,address,uint256) should be declared external:
- XENTHIUMCOIN.transferFrom(address,address,uint256) (#531-535)
increaseAllowance(address,uint256) should be declared external:
- XENTHIUMCOIN.increaseAllowance(address,uint256) (#537-540)
decreaseAllowance(address,uint256) should be declared external:
- XENTHIUMCOIN.decreaseAllowance(address,uint256) (#542-545)
isExcludedFromReward(address) should be declared external:
- XENTHIUMCOIN.isExcludedFromReward(address) (#547-549)
totalFees() should be declared external:
- XENTHIUMCOIN.totalFees() (#551-553)
minimumTokensBeforeSwapAmount() should be declared external:
- XENTHIUMCOIN.minimumTokensBeforeSwapAmount() (#555-557)
setRouterAddressAndCreatePair(address) should be declared external:
- XENTHIUMCOIN.setRouterAddressAndCreatePair(address) (#559-563)
setRouterAddress(address) should be declared external:
- XENTHIUMCOIN.setRouterAddress(address) (#565-568)
setPairAddress(address) should be declared external:
- XENTHIUMCOIN.setPairAddress(address) (#570-572)
excludeFromReward(address) should be declared external:
- XENTHIUMCOIN.excludeFromReward(address) (#580-588)
enableNoTransferFee(bool) should be declared external:
- XENTHIUMCOIN.enableNoTransferFee(bool) (#688-691)
isExcludedFromFee(address) should be declared external:
- XENTHIUMCOIN.isExcludedFromFee(address) (#869-871)
excludeFromFee(address) should be declared external:
- XENTHIUMCOIN.excludeFromFee(address) (#873-875)
includeInFee(address) should be declared external:
- XENTHIUMCOIN.includeInFee(address) (#877-879)
setSwapAndLiquifyEnabled(bool) should be declared external:
- XENTHIUMCOIN.setSwapAndLiquifyEnabled(bool) (#906-909)
changeRouterVersion(address) should be declared external:
- XENTHIUMCOIN.changeRouterVersion(address) (#948-958)
transferForeignToken(address,address) should be declared external:
- XENTHIUMCOIN.transferForeignToken(address,address) (#964-968)
Use the external attribute for functions never called from the contract.
Additional information: link
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token contract audit
Unable to verify that token and website are owned by the same team (no listings + unable to find contract on website)
Unable to find KYC or doxxing proof
Unable to verify token contract address on the website
Unable to find audit link on the website
Unable to find token on CoinGecko
Additional information: link
Unable to find token on CoinMarketCap
Additional information: link
Token is not listed at Mobula.Finance
Additional information: link
Unable to find token on CoinHunt
Additional information: link
Unable to find code repository for the project
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 scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Telegram account has less than 100 subscribers
Twitter account has less than 100 followers
Unable to find Blog account (Reddit or Medium)
Unable to find Discord account
Twitter account has few posts