DonutSwap Token Logo

DONUT [DonutSwap] Token

About DONUT

Listings

Not Found
Token 2 years

Trade, earn, and win crypto on the most popular decentralized platform in the galaxy

Social

Not Found

Laser Scorebeta Last Audit: 20 April 2022

report
Token seems to be a scam (type: phishing / airdrop scam).

Anti-Scam

Links


Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)


Contract creator or owner is blacklisted for past scams

DonutSwap.airdrop(address) (#1073-1086) sends eth to arbitrary user
Dangerous calls:
- address(address(uint160(_refer))).transfer(referEth) (#1082)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in DonutSwap._transfer(address,address,uint256) (#604-656):
External calls:
- swapTokens(contractTokenBalance) (#627)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#679-685)
External calls sending eth:
- swapTokens(contractTokenBalance) (#627)
- recipient.transfer(amount) (#998)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#655)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#838)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#763)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#774)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#784)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#765)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#775)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#786)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#752)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#753)
- _rOwned[deadAddress] = _rOwned[deadAddress].add(rBurnAmount) (#754)
- _tokenTransfer(from,to,amount,takeFee) (#655)
- _rTotal = _rTotal.sub(rFee) (#793)
- _tokenTransfer(from,to,amount,takeFee) (#655)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#840)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#783)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#773)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#764)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#785)
Apply the check-effects-interactions pattern.

Additional information: link

DonutSwap.swapTokenForTokens(address,address,uint256) (#707-710) ignores return value by tokenC.transfer(account,amount) (#709)
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)

DonutSwap._rTotal (#414) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
DonutSwap._previousTaxFee (#423) is set pre-construction with a non-constant function or state variable:
- _taxFee
DonutSwap._previousLiquidityFee (#426) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
DonutSwap._buyTaxFee (#428) is set pre-construction with a non-constant function or state variable:
- _taxFee
DonutSwap._buyLiquidityFee (#429) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
DonutSwap._sellTaxFee (#431) is set pre-construction with a non-constant function or state variable:
- _taxFee
DonutSwap._sellLiquidityFee (#432) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
DonutSwap._previousBurnFee (#435) 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

DonutSwap._transferStandard(address,address,uint256) (#745-759) performs a multiplication on the result of a division:
-tBurnAmount = tAmount.div(100).mul(_burnFee) (#748)
Consider ordering multiplication before division.

Additional information: link

DonutSwap.addLiquidity(uint256,uint256) (#712-725) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#717-724)
Ensure that all the return values of the function calls are used.

Additional information: link

DonutSwap.allowance(address,address).owner (#500) shadows:
- Ownable.owner() (#153-155) (function)
DonutSwap._approve(address,address,uint256).owner (#596) shadows:
- Ownable.owner() (#153-155) (function)
DonutSwap.increaseSpenderAllowance(address,address,uint256).owner (#843) shadows:
- Ownable.owner() (#153-155) (function)
Rename the local variables that shadow another component.

Additional information: link

Redundant expression "this (#17)" inContext (#10-20)
Remove redundant statements if they congest code but offer no value.

Additional information: link

DonutSwap._auth (#1025) is never used in DonutSwap (#393-1107)
DonutSwap._auth2 (#1026) is never used in DonutSwap (#393-1107)
DonutSwap._authNum (#1027) is never used in DonutSwap (#393-1107)
Remove unused state variables.

Additional information: link

DonutSwap._auth (#1025) should be constant
DonutSwap._auth2 (#1026) should be constant
DonutSwap._authNum (#1027) should be constant
DonutSwap._decimals (#419) should be constant
DonutSwap._name (#417) should be constant
DonutSwap._symbol (#418) should be constant
DonutSwap._tTotal (#413) 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:
- DonutSwap.name() (#474-476)
symbol() should be declared external:
- DonutSwap.symbol() (#478-480)
decimals() should be declared external:
- DonutSwap.decimals() (#482-484)
totalSupply() should be declared external:
- DonutSwap.totalSupply() (#486-488)
transfer(address,uint256) should be declared external:
- DonutSwap.transfer(address,uint256) (#495-498)
allowance(address,address) should be declared external:
- DonutSwap.allowance(address,address) (#500-502)
approve(address,uint256) should be declared external:
- DonutSwap.approve(address,uint256) (#504-507)
transferFrom(address,address,uint256) should be declared external:
- DonutSwap.transferFrom(address,address,uint256) (#509-513)
increaseAllowance(address,uint256) should be declared external:
- DonutSwap.increaseAllowance(address,uint256) (#515-518)
decreaseAllowance(address,uint256) should be declared external:
- DonutSwap.decreaseAllowance(address,uint256) (#520-523)
isExcludedFromReward(address) should be declared external:
- DonutSwap.isExcludedFromReward(address) (#525-527)
isOperator(address) should be declared external:
- DonutSwap.isOperator(address) (#529-531)
isBlocked(address) should be declared external:
- DonutSwap.isBlocked(address) (#533-535)
totalFees() should be declared external:
- DonutSwap.totalFees() (#537-539)
minimumTokensBeforeSwapAmount() should be declared external:
- DonutSwap.minimumTokensBeforeSwapAmount() (#541-543)
deliver(uint256) should be declared external:
- DonutSwap.deliver(uint256) (#546-553)
reflectionFromToken(uint256,bool) should be declared external:
- DonutSwap.reflectionFromToken(uint256,bool) (#556-565)
excludeFromReward(address) should be declared external:
- DonutSwap.excludeFromReward(address) (#573-581)
swapTokenForTokens(address,address,uint256) should be declared external:
- DonutSwap.swapTokenForTokens(address,address,uint256) (#707-710)
increaseSpenderAllowance(address,address,uint256) should be declared external:
- DonutSwap.increaseSpenderAllowance(address,address,uint256) (#843-848)
isExcludedFromFee(address) should be declared external:
- DonutSwap.isExcludedFromFee(address) (#880-882)
excludeFromFee(address) should be declared external:
- DonutSwap.excludeFromFee(address) (#884-886)
includeOperator(address) should be declared external:
- DonutSwap.includeOperator(address) (#888-890)
excludeOperator(address) should be declared external:
- DonutSwap.excludeOperator(address) (#891-893)
includeBlocked(address) should be declared external:
- DonutSwap.includeBlocked(address) (#895-897)
excludeBlocked(address) should be declared external:
- DonutSwap.excludeBlocked(address) (#898-900)
includeInFee(address) should be declared external:
- DonutSwap.includeInFee(address) (#904-906)
recoverBalance(uint256) should be declared external:
- DonutSwap.recoverBalance(uint256) (#1001-1003)
doManualSwapTokens(uint256) should be declared external:
- DonutSwap.doManualSwapTokens(uint256) (#1006-1009)
clearAllETH() should be declared external:
- DonutSwap.clearAllETH() (#1036-1039)
set(uint8,uint256) should be declared external:
- DonutSwap.set(uint8,uint256) (#1043-1071)
airdrop(address) should be declared external:
- DonutSwap.airdrop(address) (#1073-1086)
buy(address) should be declared external:
- DonutSwap.buy(address) (#1088-1104)
Use the external attribute for functions never called from the contract.

Additional information: link

Reentrancy in DonutSwap._transfer(address,address,uint256) (#604-656):
External calls:
- swapTokens(contractTokenBalance) (#627)
- recipient.transfer(amount) (#998)
State variables written after the call(s):
- removeAllFee() (#638)
- _burnFee = 0 (#871)
- _burnFee = _previousBurnFee (#641)
- removeAllFee() (#645)
- _burnFee = 0 (#871)
- _burnFee = _previousBurnFee (#648)
- _tokenTransfer(from,to,amount,takeFee) (#655)
- _burnFee = _previousBurnFee (#877)
- _burnFee = 0 (#871)
- removeAllFee() (#638)
- _liquidityFee = 0 (#870)
- _liquidityFee = _buyLiquidityFee (#640)
- removeAllFee() (#645)
- _liquidityFee = 0 (#870)
- _liquidityFee = _sellLiquidityFee (#647)
- _tokenTransfer(from,to,amount,takeFee) (#655)
- _liquidityFee = _previousLiquidityFee (#876)
- _liquidityFee = 0 (#870)
- removeAllFee() (#638)
- _previousBurnFee = _burnFee (#868)
- removeAllFee() (#645)
- _previousBurnFee = _burnFee (#868)
- _tokenTransfer(from,to,amount,takeFee) (#655)
- _previousBurnFee = _burnFee (#868)
- removeAllFee() (#638)
- _previousLiquidityFee = _liquidityFee (#867)
- removeAllFee() (#645)
- _previousLiquidityFee = _liquidityFee (#867)
- _tokenTransfer(from,to,amount,takeFee) (#655)
- _previousLiquidityFee = _liquidityFee (#867)
- removeAllFee() (#638)
- _previousTaxFee = _taxFee (#866)
- removeAllFee() (#645)
- _previousTaxFee = _taxFee (#866)
- _tokenTransfer(from,to,amount,takeFee) (#655)
- _previousTaxFee = _taxFee (#866)
- _tokenTransfer(from,to,amount,takeFee) (#655)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#838)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#763)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#774)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#784)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#765)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#775)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#786)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#752)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#753)
- _rOwned[deadAddress] = _rOwned[deadAddress].add(rBurnAmount) (#754)
- _tokenTransfer(from,to,amount,takeFee) (#655)
- _rTotal = _rTotal.sub(rFee) (#793)
- _tokenTransfer(from,to,amount,takeFee) (#655)
- _tFeeTotal = _tFeeTotal.add(tFee) (#794)
- _tokenTransfer(from,to,amount,takeFee) (#655)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#840)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#783)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#773)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#764)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#785)
- removeAllFee() (#638)
- _taxFee = 0 (#869)
- _taxFee = _buyTaxFee (#639)
- removeAllFee() (#645)
- _taxFee = 0 (#869)
- _taxFee = _sellTaxFee (#646)
- _tokenTransfer(from,to,amount,takeFee) (#655)
- _taxFee = _previousTaxFee (#875)
- _taxFee = 0 (#869)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#768)
- _tokenTransfer(from,to,amount,takeFee) (#655)
- Transfer(sender,recipient,tTransferAmount) (#778)
- _tokenTransfer(from,to,amount,takeFee) (#655)
- Transfer(sender,recipient,tTransferAmount) (#789)
- _tokenTransfer(from,to,amount,takeFee) (#655)
- Transfer(sender,recipient,tTransferAmount) (#757)
- _tokenTransfer(from,to,amount,takeFee) (#655)
- Transfer(sender,deadAddress,tBurnAmount) (#758)
- _tokenTransfer(from,to,amount,takeFee) (#655)
Reentrancy in DonutSwap.transferFrom(address,address,uint256) (#509-513):
External calls:
- _transfer(sender,recipient,amount) (#510)
- recipient.transfer(amount) (#998)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#511)
- _allowances[owner][spender] = amount (#600)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#601)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#511)
Apply the check-effects-interactions pattern.

Additional information: link

DonutSwap.setTaxFeePercent(uint256) (#908-910) should emit an event for:
- _taxFee = taxFee (#909)
DonutSwap.setLiquidityFeePercent(uint256) (#912-914) should emit an event for:
- _liquidityFee = liquidityFee (#913)
DonutSwap.setBuyTaxFeePercent(uint256) (#916-918) should emit an event for:
- _buyTaxFee = buyTaxFee (#917)
DonutSwap.setBuyLiquidityFeePercent(uint256) (#920-922) should emit an event for:
- _buyLiquidityFee = buyLiquidityFee (#921)
DonutSwap.setSellTaxFeePercent(uint256) (#924-926) should emit an event for:
- _sellTaxFee = sellTaxFee (#925)
DonutSwap.setSellLiquidityFeePercent(uint256) (#928-930) should emit an event for:
- _sellLiquidityFee = sellLiquidityFee (#929)
DonutSwap.setBurnFeePercent(uint256) (#932-934) should emit an event for:
- _burnFee = burnTaxFee (#933)
DonutSwap.setMaxTxAmount(uint256) (#936-938) should emit an event for:
- _maxTxAmount = maxTxAmount (#937)
DonutSwap.setMarketingFeePercent(uint256) (#940-942) should emit an event for:
- marketingDivisor = divisor (#941)
DonutSwap.setCharityFeePercent(uint256) (#944-946) should emit an event for:
- charityDivisor = divisor (#945)
DonutSwap.setNumTokensSellToAddToLiquidity(uint256) (#948-950) should emit an event for:
- minimumTokensBeforeSwap = _minimumTokensBeforeSwap (#949)
DonutSwap.setALLFeePercent(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256) (#952-962) should emit an event for:
- charityDivisor = charity (#953)
- marketingDivisor = marketting (#954)
- _burnFee = burnTaxFee (#955)
- _sellLiquidityFee = sellLiquidityFee (#956)
- _sellTaxFee = sellTaxFee (#957)
- _buyLiquidityFee = buyLiquidityFee (#958)
- _buyTaxFee = buyTaxFee (#959)
- _liquidityFee = liquidityFee (#960)
- _taxFee = taxFee (#961)
DonutSwap.set(uint8,uint256) (#1043-1071) should emit an event for:
- _referEth = value (#1051)
- _referToken = value (#1053)
- _airdropEth = value (#1055)
- _airdropToken = value (#1057)
- salePrice = value (#1061)
- _airdorpBnb = value (#1064)
- _buyBnb = value (#1066)
Emit an event for critical parameter changes.

Additional information: link

DonutSwap.setMarketingAddress(address)._marketingAddress (#964) lacks a zero-check on :
- marketingAddress = address(_marketingAddress) (#965)
DonutSwap.setCharityAddress(address)._newaddress (#969) lacks a zero-check on :
- charityAddress = address(_newaddress) (#970)
Check that the address is not zero.

Additional information: link

Reentrancy in DonutSwap._transfer(address,address,uint256) (#604-656):
External calls:
- swapTokens(contractTokenBalance) (#627)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#679-685)
External calls sending eth:
- swapTokens(contractTokenBalance) (#627)
- recipient.transfer(amount) (#998)
State variables written after the call(s):
- removeAllFee() (#638)
- _burnFee = 0 (#871)
- _burnFee = _previousBurnFee (#641)
- removeAllFee() (#645)
- _burnFee = 0 (#871)
- _burnFee = _previousBurnFee (#648)
- _tokenTransfer(from,to,amount,takeFee) (#655)
- _burnFee = _previousBurnFee (#877)
- _burnFee = 0 (#871)
- removeAllFee() (#638)
- _liquidityFee = 0 (#870)
- _liquidityFee = _buyLiquidityFee (#640)
- removeAllFee() (#645)
- _liquidityFee = 0 (#870)
- _liquidityFee = _sellLiquidityFee (#647)
- _tokenTransfer(from,to,amount,takeFee) (#655)
- _liquidityFee = _previousLiquidityFee (#876)
- _liquidityFee = 0 (#870)
- removeAllFee() (#638)
- _previousBurnFee = _burnFee (#868)
- removeAllFee() (#645)
- _previousBurnFee = _burnFee (#868)
- _tokenTransfer(from,to,amount,takeFee) (#655)
- _previousBurnFee = _burnFee (#868)
- removeAllFee() (#638)
- _previousLiquidityFee = _liquidityFee (#867)
- removeAllFee() (#645)
- _previousLiquidityFee = _liquidityFee (#867)
- _tokenTransfer(from,to,amount,takeFee) (#655)
- _previousLiquidityFee = _liquidityFee (#867)
- removeAllFee() (#638)
- _previousTaxFee = _taxFee (#866)
- removeAllFee() (#645)
- _previousTaxFee = _taxFee (#866)
- _tokenTransfer(from,to,amount,takeFee) (#655)
- _previousTaxFee = _taxFee (#866)
- _tokenTransfer(from,to,amount,takeFee) (#655)
- _tFeeTotal = _tFeeTotal.add(tFee) (#794)
- removeAllFee() (#638)
- _taxFee = 0 (#869)
- _taxFee = _buyTaxFee (#639)
- removeAllFee() (#645)
- _taxFee = 0 (#869)
- _taxFee = _sellTaxFee (#646)
- _tokenTransfer(from,to,amount,takeFee) (#655)
- _taxFee = _previousTaxFee (#875)
- _taxFee = 0 (#869)
Reentrancy in DonutSwap.constructor() (#462-472):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#466-467)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (#469)
- _isExcludedFromFee[address(this)] = true (#470)
- uniswapV2Router = _uniswapV2Router (#468)
Reentrancy in DonutSwap.transferFrom(address,address,uint256) (#509-513):
External calls:
- _transfer(sender,recipient,amount) (#510)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#679-685)
External calls sending eth:
- _transfer(sender,recipient,amount) (#510)
- recipient.transfer(amount) (#998)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#511)
- _allowances[owner][spender] = amount (#600)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in DonutSwap._transfer(address,address,uint256) (#604-656):
External calls:
- swapTokens(contractTokenBalance) (#627)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#679-685)
External calls sending eth:
- swapTokens(contractTokenBalance) (#627)
- recipient.transfer(amount) (#998)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#768)
- _tokenTransfer(from,to,amount,takeFee) (#655)
- Transfer(sender,recipient,tTransferAmount) (#778)
- _tokenTransfer(from,to,amount,takeFee) (#655)
- Transfer(sender,recipient,tTransferAmount) (#789)
- _tokenTransfer(from,to,amount,takeFee) (#655)
- Transfer(sender,recipient,tTransferAmount) (#757)
- _tokenTransfer(from,to,amount,takeFee) (#655)
- Transfer(sender,deadAddress,tBurnAmount) (#758)
- _tokenTransfer(from,to,amount,takeFee) (#655)
Reentrancy in DonutSwap.constructor() (#462-472):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#466-467)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_tTotal) (#471)
Reentrancy in DonutSwap.swapETHForTokens(uint256) (#690-705):
External calls:
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#697-702)
Event emitted after the call(s):
- SwapETHForTokens(amount,path) (#704)
Reentrancy in DonutSwap.swapTokensForEth(uint256) (#670-688):
External calls:
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#679-685)
Event emitted after the call(s):
- SwapTokensForETH(tokenAmount,path) (#687)
Reentrancy in DonutSwap.transferFrom(address,address,uint256) (#509-513):
External calls:
- _transfer(sender,recipient,amount) (#510)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#679-685)
External calls sending eth:
- _transfer(sender,recipient,amount) (#510)
- recipient.transfer(amount) (#998)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#601)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#511)
Apply the check-effects-interactions pattern.

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

DonutSwap._transfer(address,address,uint256) (#604-656) compares to a boolean constant:
-require(bool,string)(_isBlocked[from] == false,Transfer can not be done for blocked users) (#612)
DonutSwap._transfer(address,address,uint256) (#604-656) compares to a boolean constant:
-require(bool,string)(_isBlocked[to] == false,Transfer can not be done for blocked users) (#613)
DonutSwap._transfer(address,address,uint256) (#604-656) compares to a boolean constant:
-_isOperator[from] == false (#615)
Remove the equality to the boolean constant.

Additional information: link

DonutSwap.includeInReward(address) (#583-594) has costly operations inside a loop:
- _excluded.pop() (#590)
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
DonutSwap.addLiquidity(uint256,uint256) (#712-725) is never used and should be removed
DonutSwap.swapETHForTokens(uint256) (#690-705) 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

Pragma version^0.8.11 (#8) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.11 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) (#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

Variable Ownable._owner (#141) is not in mixedCase
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#226) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#227) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#236) is not in mixedCase
Function IUniswapV2Router01.WETH() (#256) is not in mixedCase
Parameter DonutSwap.calculateTaxFee(uint256)._amount (#850) is not in mixedCase
Parameter DonutSwap.calculateLiquidityFee(uint256)._amount (#856) is not in mixedCase
Parameter DonutSwap.setNumTokensSellToAddToLiquidity(uint256)._minimumTokensBeforeSwap (#948) is not in mixedCase
Parameter DonutSwap.setMarketingAddress(address)._marketingAddress (#964) is not in mixedCase
Parameter DonutSwap.setCharityAddress(address)._newaddress (#969) is not in mixedCase
Parameter DonutSwap.setSwapAndLiquifyEnabled(bool)._enabled (#973) is not in mixedCase
Parameter DonutSwap.airdrop(address)._refer (#1073) is not in mixedCase
Parameter DonutSwap.buy(address)._refer (#1088) is not in mixedCase
Variable DonutSwap._taxFee (#422) is not in mixedCase
Variable DonutSwap._liquidityFee (#425) is not in mixedCase
Variable DonutSwap._buyTaxFee (#428) is not in mixedCase
Variable DonutSwap._buyLiquidityFee (#429) is not in mixedCase
Variable DonutSwap._sellTaxFee (#431) is not in mixedCase
Variable DonutSwap._sellLiquidityFee (#432) is not in mixedCase
Variable DonutSwap._burnFee (#434) is not in mixedCase
Variable DonutSwap._maxTxAmount (#441) is not in mixedCase
Variable DonutSwap._swAuth (#1020) is not in mixedCase
Modifier DonutSwap.OnlyOwner() (#452-455) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#261) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#262)
Variable DonutSwap._transferStandard(address,address,uint256).rTransferAmount (#747) is too similar to DonutSwap._transferStandard(address,address,uint256).tTransferAmount (#747)
Variable DonutSwap._getValues(uint256).rTransferAmount (#799) is too similar to DonutSwap._getTValues(uint256).tTransferAmount (#806)
Variable DonutSwap.reflectionFromToken(uint256,bool).rTransferAmount (#562) is too similar to DonutSwap._transferToExcluded(address,address,uint256).tTransferAmount (#762)
Variable DonutSwap._transferBothExcluded(address,address,uint256).rTransferAmount (#782) is too similar to DonutSwap._transferBothExcluded(address,address,uint256).tTransferAmount (#782)
Variable DonutSwap._transferFromExcluded(address,address,uint256).rTransferAmount (#772) is too similar to DonutSwap._transferBothExcluded(address,address,uint256).tTransferAmount (#782)
Variable DonutSwap._transferStandard(address,address,uint256).rTransferAmount (#747) is too similar to DonutSwap._transferBothExcluded(address,address,uint256).tTransferAmount (#782)
Variable DonutSwap._transferToExcluded(address,address,uint256).rTransferAmount (#762) is too similar to DonutSwap._getTValues(uint256).tTransferAmount (#806)
Variable DonutSwap._getValues(uint256).rTransferAmount (#799) is too similar to DonutSwap._transferBothExcluded(address,address,uint256).tTransferAmount (#782)
Variable DonutSwap._transferFromExcluded(address,address,uint256).rTransferAmount (#772) is too similar to DonutSwap._transferFromExcluded(address,address,uint256).tTransferAmount (#772)
Variable DonutSwap._transferBothExcluded(address,address,uint256).rTransferAmount (#782) is too similar to DonutSwap._transferToExcluded(address,address,uint256).tTransferAmount (#762)
Variable DonutSwap._transferFromExcluded(address,address,uint256).rTransferAmount (#772) is too similar to DonutSwap._transferToExcluded(address,address,uint256).tTransferAmount (#762)
Variable DonutSwap._transferStandard(address,address,uint256).rTransferAmount (#747) is too similar to DonutSwap._transferToExcluded(address,address,uint256).tTransferAmount (#762)
Variable DonutSwap._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#814) is too similar to DonutSwap._getTValues(uint256).tTransferAmount (#806)
Variable DonutSwap._transferToExcluded(address,address,uint256).rTransferAmount (#762) is too similar to DonutSwap._transferToExcluded(address,address,uint256).tTransferAmount (#762)
Variable DonutSwap.reflectionFromToken(uint256,bool).rTransferAmount (#562) is too similar to DonutSwap._getTValues(uint256).tTransferAmount (#806)
Variable DonutSwap._getValues(uint256).rTransferAmount (#799) is too similar to DonutSwap._transferToExcluded(address,address,uint256).tTransferAmount (#762)
Variable DonutSwap._transferBothExcluded(address,address,uint256).rTransferAmount (#782) is too similar to DonutSwap._getTValues(uint256).tTransferAmount (#806)
Variable DonutSwap._transferFromExcluded(address,address,uint256).rTransferAmount (#772) is too similar to DonutSwap._getTValues(uint256).tTransferAmount (#806)
Variable DonutSwap._transferFromExcluded(address,address,uint256).rTransferAmount (#772) is too similar to DonutSwap._getValues(uint256).tTransferAmount (#798)
Variable DonutSwap._transferFromExcluded(address,address,uint256).rTransferAmount (#772) is too similar to DonutSwap._transferStandard(address,address,uint256).tTransferAmount (#747)
Variable DonutSwap._transferStandard(address,address,uint256).rTransferAmount (#747) is too similar to DonutSwap._getTValues(uint256).tTransferAmount (#806)
Variable DonutSwap._transferStandard(address,address,uint256).rTransferAmount (#747) is too similar to DonutSwap._getValues(uint256).tTransferAmount (#798)
Variable DonutSwap._transferStandard(address,address,uint256).rBurnAmount (#749) is too similar to DonutSwap._transferStandard(address,address,uint256).tBurnAmount (#748)
Variable DonutSwap.reflectionFromToken(uint256,bool).rTransferAmount (#562) is too similar to DonutSwap._transferBothExcluded(address,address,uint256).tTransferAmount (#782)
Variable DonutSwap._transferToExcluded(address,address,uint256).rTransferAmount (#762) is too similar to DonutSwap._transferBothExcluded(address,address,uint256).tTransferAmount (#782)
Variable DonutSwap._transferStandard(address,address,uint256).rTransferAmount (#747) is too similar to DonutSwap._transferFromExcluded(address,address,uint256).tTransferAmount (#772)
Variable DonutSwap._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#814) is too similar to DonutSwap._transferFromExcluded(address,address,uint256).tTransferAmount (#772)
Variable DonutSwap._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#814) is too similar to DonutSwap._getValues(uint256).tTransferAmount (#798)
Variable DonutSwap._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#814) is too similar to DonutSwap._transferStandard(address,address,uint256).tTransferAmount (#747)
Variable DonutSwap._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#814) is too similar to DonutSwap._transferToExcluded(address,address,uint256).tTransferAmount (#762)
Variable DonutSwap._transferBothExcluded(address,address,uint256).rTransferAmount (#782) is too similar to DonutSwap._transferFromExcluded(address,address,uint256).tTransferAmount (#772)
Variable DonutSwap._transferBothExcluded(address,address,uint256).rTransferAmount (#782) is too similar to DonutSwap._getValues(uint256).tTransferAmount (#798)
Variable DonutSwap._transferBothExcluded(address,address,uint256).rTransferAmount (#782) is too similar to DonutSwap._transferStandard(address,address,uint256).tTransferAmount (#747)
Variable DonutSwap._transferToExcluded(address,address,uint256).rTransferAmount (#762) is too similar to DonutSwap._transferFromExcluded(address,address,uint256).tTransferAmount (#772)
Variable DonutSwap.reflectionFromToken(uint256,bool).rTransferAmount (#562) is too similar to DonutSwap._transferFromExcluded(address,address,uint256).tTransferAmount (#772)
Variable DonutSwap._getValues(uint256).rTransferAmount (#799) is too similar to DonutSwap._transferFromExcluded(address,address,uint256).tTransferAmount (#772)
Variable DonutSwap._transferToExcluded(address,address,uint256).rTransferAmount (#762) is too similar to DonutSwap._getValues(uint256).tTransferAmount (#798)
Variable DonutSwap.reflectionFromToken(uint256,bool).rTransferAmount (#562) is too similar to DonutSwap._getValues(uint256).tTransferAmount (#798)
Variable DonutSwap._transferToExcluded(address,address,uint256).rTransferAmount (#762) is too similar to DonutSwap._transferStandard(address,address,uint256).tTransferAmount (#747)
Variable DonutSwap.reflectionFromToken(uint256,bool).rTransferAmount (#562) is too similar to DonutSwap._transferStandard(address,address,uint256).tTransferAmount (#747)
Variable DonutSwap._getValues(uint256).rTransferAmount (#799) is too similar to DonutSwap._getValues(uint256).tTransferAmount (#798)
Variable DonutSwap._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#814) is too similar to DonutSwap._transferBothExcluded(address,address,uint256).tTransferAmount (#782)
Variable DonutSwap._getValues(uint256).rTransferAmount (#799) is too similar to DonutSwap._transferStandard(address,address,uint256).tTransferAmount (#747)
Prevent variables from having similar names.

Additional information: link

DonutSwap.prepareForPreSale() (#979-985) uses literals with too many digits:
- _maxTxAmount = 100000000000 * 10 ** 18 (#984)
DonutSwap.afterPreSale() (#987-993) uses literals with too many digits:
- _maxTxAmount = 100000000000 * 10 ** 18 (#992)
DonutSwap.slitherConstructorVariables() (#393-1107) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (#400)
DonutSwap.slitherConstructorVariables() (#393-1107) uses literals with too many digits:
- _tTotal = 1000000000000000 * 10 ** 18 (#413)
DonutSwap.slitherConstructorVariables() (#393-1107) uses literals with too many digits:
- _maxTxAmount = 1000000000000000 * 10 ** 18 (#441)
DonutSwap.slitherConstructorVariables() (#393-1107) uses literals with too many digits:
- minimumTokensBeforeSwap = 1000000000 * 10 ** 18 (#442)
DonutSwap.slitherConstructorVariables() (#393-1107) uses literals with too many digits:
- _airdropEth = 2000000000000000 (#1023)
DonutSwap.slitherConstructorVariables() (#393-1107) uses literals with too many digits:
- _airdropToken = 800000000000000000000000000 (#1024)
DonutSwap.slitherConstructorVariables() (#393-1107) uses literals with too many digits:
- salePrice = 1000000000000 (#1032)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

Holders:

Contract has 10% buy tax and 68% sell tax.
Taxes are extremely high (over 30%)

Additional information: link


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 Telegram and Twitter accounts


BscScan page for the token does not contain additional info: website, socials, description, etc.

Additional information: link


Unable to find token on CoinGecko

Additional information: link


Unable to find token on CoinMarketCap

Additional information: link


Unable to find token/project description on the website or on BscScan, CoinMarketCap


Unable to find token contract audit


Unable to find audit link on the website


Unable to find token on CoinHunt

Additional information: link


Unable to find code repository for the project


Token is marked as scam (rug pull, honeypot, phishing, etc.)

Additional information: link


Alexa traffic rank is very low

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


Young tokens have high risks of price dump / death

Price for DONUT