Token.withdraw(address,uint256) (contracts/Token.sol#707-722) ignores return value by IERC20(token).transfer(_msgSender(),amount) (contracts/Token.sol#721)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Contract ownership is not renounced (belongs to a wallet)
Reentrancy in Token._transfer(address,address,uint256) (contracts/Token.sol#524-558):
External calls:
- swapTokensForEth(marketingAmount,_marketingWallet) (contracts/Token.sol#544)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,receiver,block.timestamp) (contracts/Token.sol#569-575)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (contracts/Token.sol#557)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (contracts/Token.sol#440)
- _rOwned[_rewardWallet] = _rOwned[_rewardWallet].add(rReward) (contracts/Token.sol#452)
- _rOwned[address(this)] = _rOwned[address(this)].add(rMarketing) (contracts/Token.sol#453)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (contracts/Token.sol#620)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (contracts/Token.sol#644)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (contracts/Token.sol#670)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (contracts/Token.sol#621)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (contracts/Token.sol#695)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (contracts/Token.sol#671)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (contracts/Token.sol#646)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (contracts/Token.sol#697)
- _tokenTransfer(from,to,amount,takeFee) (contracts/Token.sol#557)
- _rTotal = _rTotal.sub(rFee) (contracts/Token.sol#327)
- _tokenTransfer(from,to,amount,takeFee) (contracts/Token.sol#557)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (contracts/Token.sol#442)
- _tOwned[_rewardWallet] = _tOwned[_rewardWallet].add(tReward) (contracts/Token.sol#455)
- _tOwned[address(this)] = _tOwned[address(this)].add(tMarketing) (contracts/Token.sol#456)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (contracts/Token.sol#694)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (contracts/Token.sol#669)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (contracts/Token.sol#645)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (contracts/Token.sol#696)
- inSwap = false (contracts/Token.sol#545)
Apply the check-effects-interactions pattern.
Additional information: link
Token.allowance(address,address).owner (contracts/Token.sol#173) shadows:
- Ownable.owner() (@openzeppelin/contracts/access/Ownable.sol#35-37) (function)
Token._approve(address,address,uint256).owner (contracts/Token.sol#513) shadows:
- Ownable.owner() (@openzeppelin/contracts/access/Ownable.sol#35-37) (function)
Rename the local variables that shadow another component.
Additional information: link
Token.setTokenNumsToSell(uint256) (contracts/Token.sol#303-305) should emit an event for:
- tokenNumsToSell = numTokens (contracts/Token.sol#304)
Emit an event for critical parameter changes.
Additional information: link
Token.constructor(string,string,uint8,uint256,uint256,uint16[],address,address).marketingAccount_ (contracts/Token.sol#102) lacks a zero-check on :
- _marketingWallet = marketingAccount_ (contracts/Token.sol#132)
- _rewardWallet = marketingAccount_ (contracts/Token.sol#133)
Token.updateRouter(address)._uniswapV2Pair (contracts/Token.sol#313-314) lacks a zero-check on :
- uniswapV2Pair = _uniswapV2Pair (contracts/Token.sol#315)
Check that the address is not zero.
Additional information: link
Reentrancy in Token._transfer(address,address,uint256) (contracts/Token.sol#524-558):
External calls:
- swapTokensForEth(marketingAmount,_marketingWallet) (contracts/Token.sol#544)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,receiver,block.timestamp) (contracts/Token.sol#569-575)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (contracts/Token.sol#557)
- _liquidityFee = sellFee.liquidityFee (contracts/Token.sol#503)
- _liquidityFee = buyFee.liquidityFee (contracts/Token.sol#496)
- _liquidityFee = 0 (contracts/Token.sol#489)
- _tokenTransfer(from,to,amount,takeFee) (contracts/Token.sol#557)
- _marketingFee = 0 (contracts/Token.sol#491)
- _marketingFee = sellFee.marketingFee (contracts/Token.sol#505)
- _marketingFee = buyFee.marketingFee (contracts/Token.sol#498)
- _tokenTransfer(from,to,amount,takeFee) (contracts/Token.sol#557)
- _rewardFee = 0 (contracts/Token.sol#490)
- _rewardFee = sellFee.rewardFee (contracts/Token.sol#504)
- _rewardFee = buyFee.rewardFee (contracts/Token.sol#497)
- _tokenTransfer(from,to,amount,takeFee) (contracts/Token.sol#557)
- _tFeeTotal = _tFeeTotal.add(tFee) (contracts/Token.sol#328)
- _tokenTransfer(from,to,amount,takeFee) (contracts/Token.sol#557)
- _taxFee = sellFee.taxFee (contracts/Token.sol#502)
- _taxFee = 0 (contracts/Token.sol#488)
- _taxFee = buyFee.taxFee (contracts/Token.sol#495)
Reentrancy in Token.constructor(string,string,uint8,uint256,uint256,uint16[],address,address) (contracts/Token.sol#94-141):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (contracts/Token.sol#126-127)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (contracts/Token.sol#136)
- _isExcludedFromFee[address(this)] = true (contracts/Token.sol#137)
- _isExcludedFromFee[_marketingWallet] = true (contracts/Token.sol#138)
- _isExcludedFromFee[_rewardWallet] = true (contracts/Token.sol#139)
- _marketingWallet = marketingAccount_ (contracts/Token.sol#132)
- _rewardWallet = marketingAccount_ (contracts/Token.sol#133)
- uniswapV2Router = _uniswapV2Router (contracts/Token.sol#130)
Reentrancy in Token.transferFrom(address,address,uint256) (contracts/Token.sol#191-206):
External calls:
- _transfer(sender,recipient,amount) (contracts/Token.sol#196)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,receiver,block.timestamp) (contracts/Token.sol#569-575)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (contracts/Token.sol#197-204)
- _allowances[owner][spender] = amount (contracts/Token.sol#520)
Reentrancy in Token.updateRouter(address) (contracts/Token.sol#307-316):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (contracts/Token.sol#313-314)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (contracts/Token.sol#315)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in Token._transfer(address,address,uint256) (contracts/Token.sol#524-558):
External calls:
- swapTokensForEth(marketingAmount,_marketingWallet) (contracts/Token.sol#544)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,receiver,block.timestamp) (contracts/Token.sol#569-575)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (contracts/Token.sol#628)
- _tokenTransfer(from,to,amount,takeFee) (contracts/Token.sol#557)
- Transfer(sender,recipient,tTransferAmount) (contracts/Token.sol#678)
- _tokenTransfer(from,to,amount,takeFee) (contracts/Token.sol#557)
- Transfer(sender,recipient,tTransferAmount) (contracts/Token.sol#653)
- _tokenTransfer(from,to,amount,takeFee) (contracts/Token.sol#557)
- Transfer(sender,recipient,tTransferAmount) (contracts/Token.sol#704)
- _tokenTransfer(from,to,amount,takeFee) (contracts/Token.sol#557)
Reentrancy in Token.constructor(string,string,uint8,uint256,uint256,uint16[],address,address) (contracts/Token.sol#94-141):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (contracts/Token.sol#126-127)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_tTotal) (contracts/Token.sol#140)
Reentrancy in Token.transferFrom(address,address,uint256) (contracts/Token.sol#191-206):
External calls:
- _transfer(sender,recipient,amount) (contracts/Token.sol#196)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,receiver,block.timestamp) (contracts/Token.sol#569-575)
Event emitted after the call(s):
- Approval(owner,spender,amount) (contracts/Token.sol#521)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (contracts/Token.sol#197-204)
Apply the check-effects-interactions pattern.
Additional information: link
Token.includeInReward(address) (contracts/Token.sol#282-293) has costly operations inside a loop:
- _excluded.pop() (contracts/Token.sol#289)
Use a local variable to hold the loop computation result.
Additional information: link
Context._msgData() (@openzeppelin/contracts/utils/Context.sol#21-23) is never used and should be removed
SafeMath.div(uint256,uint256,string) (@openzeppelin/contracts/utils/math/SafeMath.sol#191-200) is never used and should be removed
SafeMath.mod(uint256,uint256) (@openzeppelin/contracts/utils/math/SafeMath.sol#151-153) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (@openzeppelin/contracts/utils/math/SafeMath.sol#217-226) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (@openzeppelin/contracts/utils/math/SafeMath.sol#22-28) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (@openzeppelin/contracts/utils/math/SafeMath.sol#64-69) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (@openzeppelin/contracts/utils/math/SafeMath.sol#76-81) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (@openzeppelin/contracts/utils/math/SafeMath.sol#47-57) is never used and should be removed
SafeMath.trySub(uint256,uint256) (@openzeppelin/contracts/utils/math/SafeMath.sol#35-40) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version^0.8.0 (@openzeppelin/contracts/access/Ownable.sol#4) allows old versions
Pragma version^0.8.0 (@openzeppelin/contracts/token/ERC20/IERC20.sol#4) allows old versions
Pragma version^0.8.0 (@openzeppelin/contracts/utils/Context.sol#4) allows old versions
Pragma version^0.8.0 (@openzeppelin/contracts/utils/math/SafeMath.sol#4) allows old versions
Pragma version^0.8.0 (contracts/Token.sol#2) allows old versions
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
Function IUniswapV2Router01.WETH() (contracts/Token.sol#25) is not in mixedCase
Parameter Token.setSwapEnabled(bool)._enabled (contracts/Token.sol#318) is not in mixedCase
Parameter Token.calculateTaxFee(uint256)._amount (contracts/Token.sol#459) is not in mixedCase
Parameter Token.calculateLiquidityFee(uint256)._amount (contracts/Token.sol#463) is not in mixedCase
Parameter Token.calculateRewardFee(uint256)._amount (contracts/Token.sol#471) is not in mixedCase
Parameter Token.calculateMarketingFee(uint256)._amount (contracts/Token.sol#479) is not in mixedCase
Variable Token._marketingWallet (contracts/Token.sol#84) is not in mixedCase
Variable Token._rewardWallet (contracts/Token.sol#85) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable Token._transferBothExcluded(address,address,uint256).rTransferAmount (contracts/Token.sol#688) is too similar to Token._transferFromExcluded(address,address,uint256).tTransferAmount (contracts/Token.sol#665)
Variable Token.reflectionFromToken(uint256,bool).rTransferAmount (contracts/Token.sol#255) is too similar to Token._getTValues(uint256).tTransferAmount (contracts/Token.sol#383)
Variable Token._getValues(uint256).rTransferAmount (contracts/Token.sol#350) is too similar to Token._transferToExcluded(address,address,uint256).tTransferAmount (contracts/Token.sol#640)
Variable Token._transferBothExcluded(address,address,uint256).rTransferAmount (contracts/Token.sol#688) is too similar to Token._transferBothExcluded(address,address,uint256).tTransferAmount (contracts/Token.sol#690)
Variable Token._getRValues(uint256,uint256,uint256,uint256,uint256,uint256).rTransferAmount (contracts/Token.sol#409-413) is too similar to Token._transferToExcluded(address,address,uint256).tTransferAmount (contracts/Token.sol#640)
Variable Token._transferStandard(address,address,uint256).rTransferAmount (contracts/Token.sol#614) is too similar to Token._getTValues(uint256).tTransferAmount (contracts/Token.sol#383)
Variable Token._getValues(uint256).rTransferAmount (contracts/Token.sol#350) is too similar to Token._getTValues(uint256).tTransferAmount (contracts/Token.sol#383)
Variable Token._getRValues(uint256,uint256,uint256,uint256,uint256,uint256).rTransferAmount (contracts/Token.sol#409-413) is too similar to Token._getTValues(uint256).tTransferAmount (contracts/Token.sol#383)
Variable Token._transferToExcluded(address,address,uint256).rTransferAmount (contracts/Token.sol#638) is too similar to Token._transferFromExcluded(address,address,uint256).tTransferAmount (contracts/Token.sol#665)
Variable Token._transferBothExcluded(address,address,uint256).rTransferAmount (contracts/Token.sol#688) is too similar to Token._getValues(uint256).tTransferAmount (contracts/Token.sol#344)
Variable Token.reflectionFromToken(uint256,bool).rTransferAmount (contracts/Token.sol#255) is too similar to Token._transferStandard(address,address,uint256).tTransferAmount (contracts/Token.sol#616)
Variable Token._transferStandard(address,address,uint256).rTransferAmount (contracts/Token.sol#614) is too similar to Token._transferStandard(address,address,uint256).tTransferAmount (contracts/Token.sol#616)
Variable Token._transferBothExcluded(address,address,uint256).rTransferAmount (contracts/Token.sol#688) is too similar to Token._transferToExcluded(address,address,uint256).tTransferAmount (contracts/Token.sol#640)
Variable Token.reflectionFromToken(uint256,bool).rTransferAmount (contracts/Token.sol#255) is too similar to Token._transferBothExcluded(address,address,uint256).tTransferAmount (contracts/Token.sol#690)
Variable Token.reflectionFromToken(uint256,bool).rTransferAmount (contracts/Token.sol#255) is too similar to Token._transferFromExcluded(address,address,uint256).tTransferAmount (contracts/Token.sol#665)
Variable Token._transferFromExcluded(address,address,uint256).rTransferAmount (contracts/Token.sol#663) is too similar to Token._transferFromExcluded(address,address,uint256).tTransferAmount (contracts/Token.sol#665)
Variable Token._transferStandard(address,address,uint256).rTransferAmount (contracts/Token.sol#614) is too similar to Token._transferFromExcluded(address,address,uint256).tTransferAmount (contracts/Token.sol#665)
Variable Token._getValues(uint256).rTransferAmount (contracts/Token.sol#350) is too similar to Token._transferFromExcluded(address,address,uint256).tTransferAmount (contracts/Token.sol#665)
Variable Token._transferStandard(address,address,uint256).rTransferAmount (contracts/Token.sol#614) is too similar to Token._transferBothExcluded(address,address,uint256).tTransferAmount (contracts/Token.sol#690)
Variable Token._transferToExcluded(address,address,uint256).rTransferAmount (contracts/Token.sol#638) is too similar to Token._getValues(uint256).tTransferAmount (contracts/Token.sol#344)
Variable Token._getRValues(uint256,uint256,uint256,uint256,uint256,uint256).rTransferAmount (contracts/Token.sol#409-413) is too similar to Token._transferFromExcluded(address,address,uint256).tTransferAmount (contracts/Token.sol#665)
Variable Token._transferBothExcluded(address,address,uint256).rTransferAmount (contracts/Token.sol#688) is too similar to Token._getTValues(uint256).tTransferAmount (contracts/Token.sol#383)
Variable Token._transferToExcluded(address,address,uint256).rTransferAmount (contracts/Token.sol#638) is too similar to Token._transferToExcluded(address,address,uint256).tTransferAmount (contracts/Token.sol#640)
Variable Token._transferToExcluded(address,address,uint256).rTransferAmount (contracts/Token.sol#638) is too similar to Token._getTValues(uint256).tTransferAmount (contracts/Token.sol#383)
Variable Token.reflectionFromToken(uint256,bool).rTransferAmount (contracts/Token.sol#255) is too similar to Token._getValues(uint256).tTransferAmount (contracts/Token.sol#344)
Variable Token._transferFromExcluded(address,address,uint256).rTransferAmount (contracts/Token.sol#663) is too similar to Token._getValues(uint256).tTransferAmount (contracts/Token.sol#344)
Variable Token._transferStandard(address,address,uint256).rTransferAmount (contracts/Token.sol#614) is too similar to Token._getValues(uint256).tTransferAmount (contracts/Token.sol#344)
Variable Token._getValues(uint256).rTransferAmount (contracts/Token.sol#350) is too similar to Token._getValues(uint256).tTransferAmount (contracts/Token.sol#344)
Variable Token.reflectionFromToken(uint256,bool).rTransferAmount (contracts/Token.sol#255) is too similar to Token._transferToExcluded(address,address,uint256).tTransferAmount (contracts/Token.sol#640)
Variable Token._transferFromExcluded(address,address,uint256).rTransferAmount (contracts/Token.sol#663) is too similar to Token._transferToExcluded(address,address,uint256).tTransferAmount (contracts/Token.sol#640)
Variable Token._transferBothExcluded(address,address,uint256).rTransferAmount (contracts/Token.sol#688) is too similar to Token._transferStandard(address,address,uint256).tTransferAmount (contracts/Token.sol#616)
Variable Token._transferStandard(address,address,uint256).rTransferAmount (contracts/Token.sol#614) is too similar to Token._transferToExcluded(address,address,uint256).tTransferAmount (contracts/Token.sol#640)
Variable Token._getRValues(uint256,uint256,uint256,uint256,uint256,uint256).rTransferAmount (contracts/Token.sol#409-413) is too similar to Token._getValues(uint256).tTransferAmount (contracts/Token.sol#344)
Variable Token._transferFromExcluded(address,address,uint256).rTransferAmount (contracts/Token.sol#663) is too similar to Token._getTValues(uint256).tTransferAmount (contracts/Token.sol#383)
Variable Token._transferToExcluded(address,address,uint256).rTransferAmount (contracts/Token.sol#638) is too similar to Token._transferStandard(address,address,uint256).tTransferAmount (contracts/Token.sol#616)
Variable Token._transferFromExcluded(address,address,uint256).rTransferAmount (contracts/Token.sol#663) is too similar to Token._transferBothExcluded(address,address,uint256).tTransferAmount (contracts/Token.sol#690)
Variable Token._getRValues(uint256,uint256,uint256,uint256,uint256,uint256).rTransferAmount (contracts/Token.sol#409-413) is too similar to Token._transferStandard(address,address,uint256).tTransferAmount (contracts/Token.sol#616)
Variable Token._getValues(uint256).rTransferAmount (contracts/Token.sol#350) is too similar to Token._transferStandard(address,address,uint256).tTransferAmount (contracts/Token.sol#616)
Variable Token._transferToExcluded(address,address,uint256).rTransferAmount (contracts/Token.sol#638) is too similar to Token._transferBothExcluded(address,address,uint256).tTransferAmount (contracts/Token.sol#690)
Variable Token._transferFromExcluded(address,address,uint256).rTransferAmount (contracts/Token.sol#663) is too similar to Token._transferStandard(address,address,uint256).tTransferAmount (contracts/Token.sol#616)
Variable Token._getValues(uint256).rTransferAmount (contracts/Token.sol#350) is too similar to Token._transferBothExcluded(address,address,uint256).tTransferAmount (contracts/Token.sol#690)
Variable Token._getRValues(uint256,uint256,uint256,uint256,uint256,uint256).rTransferAmount (contracts/Token.sol#409-413) is too similar to Token._transferBothExcluded(address,address,uint256).tTransferAmount (contracts/Token.sol#690)
Prevent variables from having similar names.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (@openzeppelin/contracts/access/Ownable.sol#54-56)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (@openzeppelin/contracts/access/Ownable.sol#62-65)
name() should be declared external:
- Token.name() (contracts/Token.sol#143-145)
symbol() should be declared external:
- Token.symbol() (contracts/Token.sol#147-149)
decimals() should be declared external:
- Token.decimals() (contracts/Token.sol#151-153)
totalSupply() should be declared external:
- Token.totalSupply() (contracts/Token.sol#155-157)
transfer(address,uint256) should be declared external:
- Token.transfer(address,uint256) (contracts/Token.sol#164-171)
allowance(address,address) should be declared external:
- Token.allowance(address,address) (contracts/Token.sol#173-180)
approve(address,uint256) should be declared external:
- Token.approve(address,uint256) (contracts/Token.sol#182-189)
transferFrom(address,address,uint256) should be declared external:
- Token.transferFrom(address,address,uint256) (contracts/Token.sol#191-206)
increaseAllowance(address,uint256) should be declared external:
- Token.increaseAllowance(address,uint256) (contracts/Token.sol#208-219)
decreaseAllowance(address,uint256) should be declared external:
- Token.decreaseAllowance(address,uint256) (contracts/Token.sol#221-235)
isExcludedFromReward(address) should be declared external:
- Token.isExcludedFromReward(address) (contracts/Token.sol#237-239)
totalFees() should be declared external:
- Token.totalFees() (contracts/Token.sol#241-243)
reflectionFromToken(uint256,bool) should be declared external:
- Token.reflectionFromToken(uint256,bool) (contracts/Token.sol#245-258)
excludeFromReward(address) should be declared external:
- Token.excludeFromReward(address) (contracts/Token.sol#273-280)
setSwapEnabled(bool) should be declared external:
- Token.setSwapEnabled(bool) (contracts/Token.sol#318-321)
isExcludedFromFee(address) should be declared external:
- Token.isExcludedFromFee(address) (contracts/Token.sol#508-510)
Use the external attribute for functions never called from the contract.
Additional information: link
Unable to find website, listings and other project-related information
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Unable to find Telegram and Twitter accounts