WaffleSwap Token Logo

WSP [WaffleSwap] Token

About WSP

Listings

Not Found
Token 2 years

Community build decentralized crypto currency

Social

Laser Scorebeta Last Audit: 19 February 2022

report
Token has too many issues. Scam probability is high.

Anti-Scam

Links


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

WaffleSwap.swapETHForTokens(uint256) (#837-852) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#844-849)
WaffleSwap.addLiquidity(uint256,uint256) (#854-867) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#859-866)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

WaffleSwap._transfer(address,address,uint256) (#680-797) uses a weak PRNG: "_bBSLimit = _bBSLimitMin + uint256(keccak256(bytes)(abi.encodePacked(block.timestamp,block.difficulty))) % (_bBSLimitMax - _bBSLimitMin + 1) (#741)"
Do not use block.timestamp, now or blockhash as a source of randomness

Additional information: link

Reentrancy in WaffleSwap._transfer(address,address,uint256) (#680-797):
External calls:
- swapTokens(contractTokenBalance) (#709)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#826-832)
External calls sending eth:
- swapTokens(contractTokenBalance) (#709)
- recipient.transfer(amount) (#1164)
State variables written after the call(s):
- _removeOldSellHistories() (#736)
- _sellHistories[i].time = _sellHistories[j].time (#1053)
- _sellHistories[i].bnbAmount = _sellHistories[j].bnbAmount (#1054)
- _sellHistories.pop() (#1064)
Reentrancy in WaffleSwap._transfer(address,address,uint256) (#680-797):
External calls:
- swapTokens(contractTokenBalance) (#709)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#826-832)
- buyBackTokens(_bBSLimit) (#744)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#844-849)
External calls sending eth:
- swapTokens(contractTokenBalance) (#709)
- recipient.transfer(amount) (#1164)
- buyBackTokens(_bBSLimit) (#744)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#844-849)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#796)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#973)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#889)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#898)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#909)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#919)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#890)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#900)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#910)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#921)
- _tokenTransfer(from,to,amount,takeFee) (#796)
- _rTotal = _rTotal.sub(rFee) (#928)
- _tokenTransfer(from,to,amount,takeFee) (#796)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#975)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#908)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#918)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#899)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#920)
- buyBackTokens(_bBSLimit) (#744)
- inSwapAndLiquify = true (#504)
- inSwapAndLiquify = false (#506)
Apply the check-effects-interactions pattern.

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.

WaffleSwap._transfer(address,address,uint256).sellHistory (#696) is a local variable never initialized
Initialize all the variables. If a variable is meant to be initialized to zero, explicitly set it to zero to improve code readability.

Additional information: link

WaffleSwap.addLiquidity(uint256,uint256) (#854-867) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#859-866)
Ensure that all the return values of the function calls are used.

Additional information: link

WaffleSwap.allowance(address,address).owner (#560) shadows:
- Ownable.owner() (#156-158) (function)
WaffleSwap._approve(address,address,uint256).owner (#672) shadows:
- Ownable.owner() (#156-158) (function)
Rename the local variables that shadow another component.

Additional information: link

WaffleSwap.SetBuyBackMaxTimeForHistories(uint256) (#1069-1071) should emit an event for:
- _buyBackMaxTimeForHistories = newMinutes * 60 (#1070)
WaffleSwap.SetBuyBackDivisor(uint256) (#1073-1075) should emit an event for:
- _buyBackDivisor = newDivisor (#1074)
WaffleSwap.SetBuyBackTimeInterval(uint256) (#1081-1083) should emit an event for:
- _buyBackTimeInterval = newMinutes * 60 (#1082)
WaffleSwap.SetBuyBackRangeRate(uint256) (#1085-1088) should emit an event for:
- _buyBackRangeRate = newPercent (#1087)
WaffleSwap.SetSwapMinutes(uint256) (#1094-1096) should emit an event for:
- _intervalMinutesForSwap = newMinutes * 60 (#1095)
WaffleSwap.setTaxFeePercent(uint256) (#1098-1100) should emit an event for:
- _taxFee = taxFee (#1099)
WaffleSwap.setBuyFee(uint256,uint256) (#1102-1105) should emit an event for:
- _buyTaxFee = buyTaxFee (#1103)
- _buyLiquidityFee = buyLiquidityFee (#1104)
WaffleSwap.setSellFee(uint256,uint256) (#1107-1110) should emit an event for:
- _sellTaxFee = sellTaxFee (#1108)
- _sellLiquidityFee = sellLiquidityFee (#1109)
WaffleSwap.setLiquidityFeePercent(uint256) (#1112-1114) should emit an event for:
- _liquidityFee = liquidityFee (#1113)
WaffleSwap.setBuyBackSellLimit(uint256) (#1116-1118) should emit an event for:
- buyBackSellLimit = buyBackSellSetLimit (#1117)
WaffleSwap.setMaxTxPercent(uint256) (#1120-1126) should emit an event for:
- _maxTxAmount = _tTotal.mul(_maxTxPercent).div(10 ** 3) (#1121-1123)
WaffleSwap.setMaxWalletPercent(uint256) (#1128-1134) should emit an event for:
- _maxWalletAmount = _tTotal.mul(_maxWalletPercent).div(10 ** 3) (#1129-1131)
WaffleSwap.setMarketingDivisor(uint256) (#1136-1138) should emit an event for:
- marketingDivisor = divisor (#1137)
WaffleSwap.setNumTokensSellToAddToBuyBack(uint256) (#1140-1142) should emit an event for:
- numTokensSellToAddToLiquidity = amountForSwap (#1141)
Emit an event for critical parameter changes.

Additional information: link

WaffleSwap.setmarketingaddress(address)._marketingaddress (#1144) lacks a zero-check on :
- marketingaddress = address(_marketingaddress) (#1145)
Check that the address is not zero.

Additional information: link

Reentrancy in WaffleSwap._transfer(address,address,uint256) (#680-797):
External calls:
- swapTokens(contractTokenBalance) (#709)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#826-832)
- buyBackTokens(_bBSLimit) (#744)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#844-849)
External calls sending eth:
- swapTokens(contractTokenBalance) (#709)
- recipient.transfer(amount) (#1164)
- buyBackTokens(_bBSLimit) (#744)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#844-849)
State variables written after the call(s):
- removeAllFee() (#760)
- _liquidityFee = 0 (#997)
- _liquidityFee = _buyLiquidityFee (#762)
- removeAllFee() (#766)
- _liquidityFee = 0 (#997)
- _liquidityFee = _sellLiquidityFee (#768)
- removeAllFee() (#773)
- _liquidityFee = 0 (#997)
- _liquidityFee = _addressFees[from]._liquidityFee (#775)
- _liquidityFee = _addressFees[from]._sellLiquidityFee (#780)
- removeAllFee() (#787)
- _liquidityFee = 0 (#997)
- _liquidityFee = _addressFees[to]._buyLiquidityFee (#790)
- _tokenTransfer(from,to,amount,takeFee) (#796)
- _liquidityFee = _previousLiquidityFee (#1002)
- _liquidityFee = 0 (#997)
- removeAllFee() (#760)
- _previousLiquidityFee = _liquidityFee (#994)
- removeAllFee() (#766)
- _previousLiquidityFee = _liquidityFee (#994)
- removeAllFee() (#773)
- _previousLiquidityFee = _liquidityFee (#994)
- removeAllFee() (#787)
- _previousLiquidityFee = _liquidityFee (#994)
- _tokenTransfer(from,to,amount,takeFee) (#796)
- _previousLiquidityFee = _liquidityFee (#994)
- removeAllFee() (#760)
- _previousTaxFee = _taxFee (#993)
- removeAllFee() (#766)
- _previousTaxFee = _taxFee (#993)
- removeAllFee() (#773)
- _previousTaxFee = _taxFee (#993)
- removeAllFee() (#787)
- _previousTaxFee = _taxFee (#993)
- _tokenTransfer(from,to,amount,takeFee) (#796)
- _previousTaxFee = _taxFee (#993)
- _tokenTransfer(from,to,amount,takeFee) (#796)
- _tFeeTotal = _tFeeTotal.add(tFee) (#929)
- removeAllFee() (#760)
- _taxFee = 0 (#996)
- _taxFee = _buyTaxFee (#761)
- removeAllFee() (#766)
- _taxFee = 0 (#996)
- _taxFee = _sellTaxFee (#767)
- removeAllFee() (#773)
- _taxFee = 0 (#996)
- _taxFee = _addressFees[from]._taxFee (#774)
- _taxFee = _addressFees[from]._sellTaxFee (#779)
- removeAllFee() (#787)
- _taxFee = 0 (#996)
- _taxFee = _addressFees[to]._buyTaxFee (#789)
- _tokenTransfer(from,to,amount,takeFee) (#796)
- _taxFee = _previousTaxFee (#1001)
- _taxFee = 0 (#996)
Reentrancy in WaffleSwap.changeRouterVersion(address) (#1167-1180):
External calls:
- _pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1173-1174)
State variables written after the call(s):
- uniswapV2Pair = _pair (#1176)
- uniswapV2Router = _uniswapV2Router (#1179)
Reentrancy in WaffleSwap.constructor() (#509-532):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#515-516)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (#521)
- _isExcludedFromFee[address(this)] = true (#522)
- _isExcludedFromMaxTx[owner()] = true (#523)
- _isExcludedFromMaxTx[address(this)] = true (#524)
- _isExcludedFromMaxWallet[owner()] = true (#525)
- _isExcludedFromMaxWallet[address(this)] = true (#526)
- _isExcludedFromMaxWallet[uniswapV2Pair] = true (#527)
- _startTimeForSwap = block.timestamp (#529)
- uniswapV2Router = _uniswapV2Router (#518)
Reentrancy in WaffleSwap.transferFrom(address,address,uint256) (#569-573):
External calls:
- _transfer(sender,recipient,amount) (#570)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#844-849)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#826-832)
External calls sending eth:
- _transfer(sender,recipient,amount) (#570)
- recipient.transfer(amount) (#1164)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#844-849)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#571)
- _allowances[owner][spender] = amount (#676)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in WaffleSwap._transfer(address,address,uint256) (#680-797):
External calls:
- swapTokens(contractTokenBalance) (#709)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#826-832)
- buyBackTokens(_bBSLimit) (#744)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#844-849)
External calls sending eth:
- swapTokens(contractTokenBalance) (#709)
- recipient.transfer(amount) (#1164)
- buyBackTokens(_bBSLimit) (#744)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#844-849)
Event emitted after the call(s):
- SwapETHForTokens(amount,path) (#851)
- buyBackTokens(_bBSLimit) (#744)
- Transfer(sender,recipient,tTransferAmount) (#893)
- _tokenTransfer(from,to,amount,takeFee) (#796)
- Transfer(sender,recipient,tTransferAmount) (#913)
- _tokenTransfer(from,to,amount,takeFee) (#796)
- Transfer(sender,recipient,tTransferAmount) (#903)
- _tokenTransfer(from,to,amount,takeFee) (#796)
- Transfer(sender,recipient,tTransferAmount) (#924)
- _tokenTransfer(from,to,amount,takeFee) (#796)
Reentrancy in WaffleSwap.constructor() (#509-532):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#515-516)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_tTotal) (#531)
Reentrancy in WaffleSwap.swapETHForTokens(uint256) (#837-852):
External calls:
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#844-849)
Event emitted after the call(s):
- SwapETHForTokens(amount,path) (#851)
Reentrancy in WaffleSwap.swapTokensForEth(uint256) (#817-835):
External calls:
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#826-832)
Event emitted after the call(s):
- SwapTokensForETH(tokenAmount,path) (#834)
Reentrancy in WaffleSwap.transferFrom(address,address,uint256) (#569-573):
External calls:
- _transfer(sender,recipient,amount) (#570)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#844-849)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#826-832)
External calls sending eth:
- _transfer(sender,recipient,amount) (#570)
- recipient.transfer(amount) (#1164)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#844-849)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#677)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#571)
Apply the check-effects-interactions pattern.

Additional information: link

WaffleSwap._transfer(address,address,uint256) (#680-797) uses timestamp for comparisons
Dangerous comparisons:
- overMinimumTokenBalance && _startTimeForSwap + _intervalMinutesForSwap <= block.timestamp (#706)
- _sellHistories[i].time >= startTime (#726)
- balance > _bBSLimit (#743)
WaffleSwap.buyBackTokens(uint256) (#811-815) uses timestamp for comparisons
Dangerous comparisons:
- amount > 0 (#812)
WaffleSwap._removeOldSellHistories() (#1045-1067) uses timestamp for comparisons
Dangerous comparisons:
- _sellHistories[j].time >= maxStartTimeForHistories (#1051)
Avoid relying on block.timestamp.

Additional information: link

Address.isContract(address) (#88-97) uses assembly
- INLINE ASM (#95)
Address._functionCallWithValue(address,bytes,uint256,string) (#125-142) uses assembly
- INLINE ASM (#134-137)
Do not use evm assembly.

Additional information: link

WaffleSwap.includeInReward(address) (#659-670) has costly operations inside a loop:
- _excluded.pop() (#666)
Use a local variable to hold the loop computation result.

Additional information: link

Address._functionCallWithValue(address,bytes,uint256,string) (#125-142) is never used and should be removed
Address.functionCall(address,bytes) (#108-110) is never used and should be removed
Address.functionCall(address,bytes,string) (#112-114) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#116-118) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#120-123) is never used and should be removed
Address.isContract(address) (#88-97) is never used and should be removed
Address.sendValue(address,uint256) (#99-105) is never used and should be removed
Context._msgData() (#13-16) is never used and should be removed
SafeMath.mod(uint256,uint256) (#76-78) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#80-83) is never used and should be removed
WaffleSwap.addLiquidity(uint256,uint256) (#854-867) is never used and should be removed
Remove unused functions.

Additional information: link

WaffleSwap._rTotal (#406) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
WaffleSwap._previousTaxFee (#429) is set pre-construction with a non-constant function or state variable:
- _taxFee
WaffleSwap._previousLiquidityFee (#432) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
WaffleSwap._maxTxAmount (#452) is set pre-construction with a non-constant function or state variable:
- (_tTotal * maxTxPercent) / maxTxDivisor
WaffleSwap._previousMaxTxAmount (#453) is set pre-construction with a non-constant function or state variable:
- _maxTxAmount
WaffleSwap.maxTxAmountUI (#454) is set pre-construction with a non-constant function or state variable:
- (_tTotal * maxTxPercent) / maxTxDivisor
WaffleSwap._maxWalletAmount (#459) is set pre-construction with a non-constant function or state variable:
- (_tTotal * maxWalletPercent) / maxWalletDivisor
WaffleSwap._previousMaxWalletAmount (#460) is set pre-construction with a non-constant function or state variable:
- _maxWalletAmount
WaffleSwap.maxWalletAmountUI (#461) is set pre-construction with a non-constant function or state variable:
- (_tTotal * maxWalletPercent) / maxWalletDivisor
WaffleSwap.numTokensSellToAddToLiquidity (#463) is set pre-construction with a non-constant function or state variable:
- (_tTotal * 5) / 1000000
Remove any initialization of state variables via non-constant state variables or function calls. If variables must be set upon contract deployment, locate initialization in the constructor instead.

Additional information: link

Low level call in Address.sendValue(address,uint256) (#99-105):
- (success) = recipient.call{value: amount}() (#103)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#125-142):
- (success,returndata) = target.call{value: weiValue}(data) (#128)
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() (#214) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#215) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#231) is not in mixedCase
Function IUniswapV2Router01.WETH() (#252) is not in mixedCase
Parameter WaffleSwap.calculateTaxFee(uint256)._amount (#978) is not in mixedCase
Parameter WaffleSwap.calculateLiquidityFee(uint256)._amount (#984) is not in mixedCase
Function WaffleSwap.SetBuyBackMaxTimeForHistories(uint256) (#1069-1071) is not in mixedCase
Function WaffleSwap.SetBuyBackDivisor(uint256) (#1073-1075) is not in mixedCase
Function WaffleSwap.GetBuyBackTimeInterval() (#1077-1079) is not in mixedCase
Function WaffleSwap.SetBuyBackTimeInterval(uint256) (#1081-1083) is not in mixedCase
Function WaffleSwap.SetBuyBackRangeRate(uint256) (#1085-1088) is not in mixedCase
Function WaffleSwap.GetSwapMinutes() (#1090-1092) is not in mixedCase
Function WaffleSwap.SetSwapMinutes(uint256) (#1094-1096) is not in mixedCase
Parameter WaffleSwap.setMaxTxPercent(uint256)._maxTxPercent (#1120) is not in mixedCase
Parameter WaffleSwap.setMaxWalletPercent(uint256)._maxWalletPercent (#1128) is not in mixedCase
Parameter WaffleSwap.setmarketingaddress(address)._marketingaddress (#1144) is not in mixedCase
Parameter WaffleSwap.setSwapAndLiquifyEnabled(bool)._enabled (#1148) is not in mixedCase
Parameter WaffleSwap.setBuyBackEnabled(bool)._enabled (#1153) is not in mixedCase
Parameter WaffleSwap.setAutoBuyBackEnabled(bool)._enabled (#1158) is not in mixedCase
Parameter WaffleSwap.changeRouterVersion(address)._router (#1167) is not in mixedCase
Parameter WaffleSwap.setAddressFee(address,bool,uint256,uint256)._address (#1185) is not in mixedCase
Parameter WaffleSwap.setAddressFee(address,bool,uint256,uint256)._enable (#1185) is not in mixedCase
Parameter WaffleSwap.setAddressFee(address,bool,uint256,uint256)._addressTaxFee (#1185) is not in mixedCase
Parameter WaffleSwap.setAddressFee(address,bool,uint256,uint256)._addressLiquidityFee (#1185) is not in mixedCase
Parameter WaffleSwap.setBuyAddressFee(address,bool,uint256,uint256)._address (#1191) is not in mixedCase
Parameter WaffleSwap.setBuyAddressFee(address,bool,uint256,uint256)._enable (#1191) is not in mixedCase
Parameter WaffleSwap.setBuyAddressFee(address,bool,uint256,uint256)._addressTaxFee (#1191) is not in mixedCase
Parameter WaffleSwap.setBuyAddressFee(address,bool,uint256,uint256)._addressLiquidityFee (#1191) is not in mixedCase
Parameter WaffleSwap.setSellAddressFee(address,bool,uint256,uint256)._address (#1197) is not in mixedCase
Parameter WaffleSwap.setSellAddressFee(address,bool,uint256,uint256)._enable (#1197) is not in mixedCase
Parameter WaffleSwap.setSellAddressFee(address,bool,uint256,uint256)._addressTaxFee (#1197) is not in mixedCase
Parameter WaffleSwap.setSellAddressFee(address,bool,uint256,uint256)._addressLiquidityFee (#1197) is not in mixedCase
Variable WaffleSwap._taxFee (#428) is not in mixedCase
Variable WaffleSwap._liquidityFee (#431) is not in mixedCase
Variable WaffleSwap._buyTaxFee (#434) is not in mixedCase
Variable WaffleSwap._buyLiquidityFee (#435) is not in mixedCase
Variable WaffleSwap._sellTaxFee (#437) is not in mixedCase
Variable WaffleSwap._sellLiquidityFee (#438) is not in mixedCase
Variable WaffleSwap._startTimeForSwap (#440) is not in mixedCase
Variable WaffleSwap._intervalMinutesForSwap (#441) is not in mixedCase
Variable WaffleSwap._buyBackRangeRate (#443) is not in mixedCase
Variable WaffleSwap._addressFees (#446) is not in mixedCase
Variable WaffleSwap._sellHistories (#467) is not in mixedCase
Variable WaffleSwap._isAutoBuyBack (#468) is not in mixedCase
Variable WaffleSwap._buyBackDivisor (#469) is not in mixedCase
Variable WaffleSwap._buyBackTimeInterval (#470) is not in mixedCase
Variable WaffleSwap._buyBackMaxTimeForHistories (#471) is not in mixedCase
Variable WaffleSwap._isEnabledBuyBackAndBurn (#481) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

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

Additional information: link

Reentrancy in WaffleSwap._transfer(address,address,uint256) (#680-797):
External calls:
- swapTokens(contractTokenBalance) (#709)
- recipient.transfer(amount) (#1164)
State variables written after the call(s):
- _removeOldSellHistories() (#736)
- _sellHistories[i].time = _sellHistories[j].time (#1053)
- _sellHistories[i].bnbAmount = _sellHistories[j].bnbAmount (#1054)
- _sellHistories.pop() (#1064)
Reentrancy in WaffleSwap._transfer(address,address,uint256) (#680-797):
External calls:
- swapTokens(contractTokenBalance) (#709)
- recipient.transfer(amount) (#1164)
External calls sending eth:
- swapTokens(contractTokenBalance) (#709)
- recipient.transfer(amount) (#1164)
- buyBackTokens(_bBSLimit) (#744)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#844-849)
State variables written after the call(s):
- removeAllFee() (#760)
- _liquidityFee = 0 (#997)
- _liquidityFee = _buyLiquidityFee (#762)
- removeAllFee() (#766)
- _liquidityFee = 0 (#997)
- _liquidityFee = _sellLiquidityFee (#768)
- removeAllFee() (#773)
- _liquidityFee = 0 (#997)
- _liquidityFee = _addressFees[from]._liquidityFee (#775)
- _liquidityFee = _addressFees[from]._sellLiquidityFee (#780)
- removeAllFee() (#787)
- _liquidityFee = 0 (#997)
- _liquidityFee = _addressFees[to]._buyLiquidityFee (#790)
- _tokenTransfer(from,to,amount,takeFee) (#796)
- _liquidityFee = _previousLiquidityFee (#1002)
- _liquidityFee = 0 (#997)
- removeAllFee() (#760)
- _previousLiquidityFee = _liquidityFee (#994)
- removeAllFee() (#766)
- _previousLiquidityFee = _liquidityFee (#994)
- removeAllFee() (#773)
- _previousLiquidityFee = _liquidityFee (#994)
- removeAllFee() (#787)
- _previousLiquidityFee = _liquidityFee (#994)
- _tokenTransfer(from,to,amount,takeFee) (#796)
- _previousLiquidityFee = _liquidityFee (#994)
- removeAllFee() (#760)
- _previousTaxFee = _taxFee (#993)
- removeAllFee() (#766)
- _previousTaxFee = _taxFee (#993)
- removeAllFee() (#773)
- _previousTaxFee = _taxFee (#993)
- removeAllFee() (#787)
- _previousTaxFee = _taxFee (#993)
- _tokenTransfer(from,to,amount,takeFee) (#796)
- _previousTaxFee = _taxFee (#993)
- _tokenTransfer(from,to,amount,takeFee) (#796)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#973)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#889)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#898)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#909)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#919)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#890)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#900)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#910)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#921)
- _tokenTransfer(from,to,amount,takeFee) (#796)
- _rTotal = _rTotal.sub(rFee) (#928)
- _tokenTransfer(from,to,amount,takeFee) (#796)
- _tFeeTotal = _tFeeTotal.add(tFee) (#929)
- _tokenTransfer(from,to,amount,takeFee) (#796)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#975)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#908)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#918)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#899)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#920)
- removeAllFee() (#760)
- _taxFee = 0 (#996)
- _taxFee = _buyTaxFee (#761)
- removeAllFee() (#766)
- _taxFee = 0 (#996)
- _taxFee = _sellTaxFee (#767)
- removeAllFee() (#773)
- _taxFee = 0 (#996)
- _taxFee = _addressFees[from]._taxFee (#774)
- _taxFee = _addressFees[from]._sellTaxFee (#779)
- removeAllFee() (#787)
- _taxFee = 0 (#996)
- _taxFee = _addressFees[to]._buyTaxFee (#789)
- _tokenTransfer(from,to,amount,takeFee) (#796)
- _taxFee = _previousTaxFee (#1001)
- _taxFee = 0 (#996)
- buyBackTokens(_bBSLimit) (#744)
- inSwapAndLiquify = true (#504)
- inSwapAndLiquify = false (#506)
Event emitted after the call(s):
- SwapETHForTokens(amount,path) (#851)
- buyBackTokens(_bBSLimit) (#744)
- Transfer(sender,recipient,tTransferAmount) (#893)
- _tokenTransfer(from,to,amount,takeFee) (#796)
- Transfer(sender,recipient,tTransferAmount) (#903)
- _tokenTransfer(from,to,amount,takeFee) (#796)
- Transfer(sender,recipient,tTransferAmount) (#913)
- _tokenTransfer(from,to,amount,takeFee) (#796)
- Transfer(sender,recipient,tTransferAmount) (#924)
- _tokenTransfer(from,to,amount,takeFee) (#796)
Reentrancy in WaffleSwap.transferFrom(address,address,uint256) (#569-573):
External calls:
- _transfer(sender,recipient,amount) (#570)
- recipient.transfer(amount) (#1164)
External calls sending eth:
- _transfer(sender,recipient,amount) (#570)
- recipient.transfer(amount) (#1164)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#844-849)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#571)
- _allowances[owner][spender] = amount (#676)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#677)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#571)
Apply the check-effects-interactions pattern.

Additional information: link

Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#257) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#258)
Variable WaffleSwap._transferFromExcluded(address,address,uint256).rTransferAmount (#907) is too similar to WaffleSwap._getValues(uint256).tTransferAmount (#933)
Variable WaffleSwap._transferToExcluded(address,address,uint256).rTransferAmount (#897) is too similar to WaffleSwap._transferFromExcluded(address,address,uint256).tTransferAmount (#907)
Variable WaffleSwap._getValues(uint256).rTransferAmount (#934) is too similar to WaffleSwap._transferStandard(address,address,uint256).tTransferAmount (#888)
Variable WaffleSwap._getValues(uint256).rTransferAmount (#934) is too similar to WaffleSwap._transferBothExcluded(address,address,uint256).tTransferAmount (#917)
Variable WaffleSwap._transferFromExcluded(address,address,uint256).rTransferAmount (#907) is too similar to WaffleSwap._transferStandard(address,address,uint256).tTransferAmount (#888)
Variable WaffleSwap._transferFromExcluded(address,address,uint256).rTransferAmount (#907) is too similar to WaffleSwap._transferBothExcluded(address,address,uint256).tTransferAmount (#917)
Variable WaffleSwap._transferStandard(address,address,uint256).rTransferAmount (#888) is too similar to WaffleSwap._getValues(uint256).tTransferAmount (#933)
Variable WaffleSwap._transferBothExcluded(address,address,uint256).rTransferAmount (#917) is too similar to WaffleSwap._getValues(uint256).tTransferAmount (#933)
Variable WaffleSwap._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#949) is too similar to WaffleSwap._getTValues(uint256).tTransferAmount (#941)
Variable WaffleSwap._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#949) is too similar to WaffleSwap._getValues(uint256).tTransferAmount (#933)
Variable WaffleSwap._transferBothExcluded(address,address,uint256).rTransferAmount (#917) is too similar to WaffleSwap._transferBothExcluded(address,address,uint256).tTransferAmount (#917)
Variable WaffleSwap._transferToExcluded(address,address,uint256).rTransferAmount (#897) is too similar to WaffleSwap._getValues(uint256).tTransferAmount (#933)
Variable WaffleSwap._getValues(uint256).rTransferAmount (#934) is too similar to WaffleSwap._transferToExcluded(address,address,uint256).tTransferAmount (#897)
Variable WaffleSwap._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#949) is too similar to WaffleSwap._transferStandard(address,address,uint256).tTransferAmount (#888)
Variable WaffleSwap._transferToExcluded(address,address,uint256).rTransferAmount (#897) is too similar to WaffleSwap._transferStandard(address,address,uint256).tTransferAmount (#888)
Variable WaffleSwap._transferFromExcluded(address,address,uint256).rTransferAmount (#907) is too similar to WaffleSwap._transferToExcluded(address,address,uint256).tTransferAmount (#897)
Variable WaffleSwap._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#949) is too similar to WaffleSwap._transferBothExcluded(address,address,uint256).tTransferAmount (#917)
Variable WaffleSwap._getValues(uint256).rTransferAmount (#934) is too similar to WaffleSwap._transferFromExcluded(address,address,uint256).tTransferAmount (#907)
Variable WaffleSwap._transferFromExcluded(address,address,uint256).rTransferAmount (#907) is too similar to WaffleSwap._transferFromExcluded(address,address,uint256).tTransferAmount (#907)
Variable WaffleSwap._transferToExcluded(address,address,uint256).rTransferAmount (#897) is too similar to WaffleSwap._transferBothExcluded(address,address,uint256).tTransferAmount (#917)
Variable WaffleSwap.reflectionFromToken(uint256,bool).rTransferAmount (#638) is too similar to WaffleSwap._getValues(uint256).tTransferAmount (#933)
Variable WaffleSwap._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#949) is too similar to WaffleSwap._transferToExcluded(address,address,uint256).tTransferAmount (#897)
Variable WaffleSwap._getValues(uint256).rTransferAmount (#934) is too similar to WaffleSwap._getValues(uint256).tTransferAmount (#933)
Variable WaffleSwap._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#949) is too similar to WaffleSwap._transferFromExcluded(address,address,uint256).tTransferAmount (#907)
Variable WaffleSwap._transferToExcluded(address,address,uint256).rTransferAmount (#897) is too similar to WaffleSwap._transferToExcluded(address,address,uint256).tTransferAmount (#897)
Variable WaffleSwap._getValues(uint256).rTransferAmount (#934) is too similar to WaffleSwap._getTValues(uint256).tTransferAmount (#941)
Variable WaffleSwap._transferBothExcluded(address,address,uint256).rTransferAmount (#917) is too similar to WaffleSwap._getTValues(uint256).tTransferAmount (#941)
Variable WaffleSwap._transferStandard(address,address,uint256).rTransferAmount (#888) is too similar to WaffleSwap._getTValues(uint256).tTransferAmount (#941)
Variable WaffleSwap.reflectionFromToken(uint256,bool).rTransferAmount (#638) is too similar to WaffleSwap._transferFromExcluded(address,address,uint256).tTransferAmount (#907)
Variable WaffleSwap.reflectionFromToken(uint256,bool).rTransferAmount (#638) is too similar to WaffleSwap._transferStandard(address,address,uint256).tTransferAmount (#888)
Variable WaffleSwap.reflectionFromToken(uint256,bool).rTransferAmount (#638) is too similar to WaffleSwap._transferBothExcluded(address,address,uint256).tTransferAmount (#917)
Variable WaffleSwap._transferToExcluded(address,address,uint256).rTransferAmount (#897) is too similar to WaffleSwap._getTValues(uint256).tTransferAmount (#941)
Variable WaffleSwap._transferFromExcluded(address,address,uint256).rTransferAmount (#907) is too similar to WaffleSwap._getTValues(uint256).tTransferAmount (#941)
Variable WaffleSwap._transferBothExcluded(address,address,uint256).rTransferAmount (#917) is too similar to WaffleSwap._transferFromExcluded(address,address,uint256).tTransferAmount (#907)
Variable WaffleSwap._transferBothExcluded(address,address,uint256).rTransferAmount (#917) is too similar to WaffleSwap._transferStandard(address,address,uint256).tTransferAmount (#888)
Variable WaffleSwap._transferStandard(address,address,uint256).rTransferAmount (#888) is too similar to WaffleSwap._transferFromExcluded(address,address,uint256).tTransferAmount (#907)
Variable WaffleSwap._transferStandard(address,address,uint256).rTransferAmount (#888) is too similar to WaffleSwap._transferBothExcluded(address,address,uint256).tTransferAmount (#917)
Variable WaffleSwap._transferStandard(address,address,uint256).rTransferAmount (#888) is too similar to WaffleSwap._transferStandard(address,address,uint256).tTransferAmount (#888)
Variable WaffleSwap.reflectionFromToken(uint256,bool).rTransferAmount (#638) is too similar to WaffleSwap._transferToExcluded(address,address,uint256).tTransferAmount (#897)
Variable WaffleSwap.reflectionFromToken(uint256,bool).rTransferAmount (#638) is too similar to WaffleSwap._getTValues(uint256).tTransferAmount (#941)
Variable WaffleSwap._transferBothExcluded(address,address,uint256).rTransferAmount (#917) is too similar to WaffleSwap._transferToExcluded(address,address,uint256).tTransferAmount (#897)
Variable WaffleSwap._transferStandard(address,address,uint256).rTransferAmount (#888) is too similar to WaffleSwap._transferToExcluded(address,address,uint256).tTransferAmount (#897)
Prevent variables from having similar names.

Additional information: link

WaffleSwap.slitherConstructorVariables() (#387-1203) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (#392)
WaffleSwap.slitherConstructorVariables() (#387-1203) uses literals with too many digits:
- numTokensSellToAddToLiquidity = (_tTotal * 5) / 1000000 (#463)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

WaffleSwap._previousMaxTxAmount (#453) is never used in WaffleSwap (#387-1203)
WaffleSwap._previousMaxWalletAmount (#460) is never used in WaffleSwap (#387-1203)
Remove unused state variables.

Additional information: link

WaffleSwap._decimals (#411) should be constant
WaffleSwap._isEnabledBuyBackAndBurn (#481) should be constant
WaffleSwap._name (#409) should be constant
WaffleSwap._symbol (#410) should be constant
WaffleSwap._tTotal (#405) should be constant
WaffleSwap.maxTxDivisor (#451) should be constant
WaffleSwap.maxTxPercent (#450) should be constant
WaffleSwap.maxWalletDivisor (#458) should be constant
WaffleSwap.maxWalletPercent (#457) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#165-168)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#170-174)
name() should be declared external:
- WaffleSwap.name() (#534-536)
symbol() should be declared external:
- WaffleSwap.symbol() (#538-540)
decimals() should be declared external:
- WaffleSwap.decimals() (#542-544)
totalSupply() should be declared external:
- WaffleSwap.totalSupply() (#546-548)
transfer(address,uint256) should be declared external:
- WaffleSwap.transfer(address,uint256) (#555-558)
allowance(address,address) should be declared external:
- WaffleSwap.allowance(address,address) (#560-562)
approve(address,uint256) should be declared external:
- WaffleSwap.approve(address,uint256) (#564-567)
transferFrom(address,address,uint256) should be declared external:
- WaffleSwap.transferFrom(address,address,uint256) (#569-573)
increaseAllowance(address,uint256) should be declared external:
- WaffleSwap.increaseAllowance(address,uint256) (#575-578)
decreaseAllowance(address,uint256) should be declared external:
- WaffleSwap.decreaseAllowance(address,uint256) (#580-583)
isExcludedFromReward(address) should be declared external:
- WaffleSwap.isExcludedFromReward(address) (#585-587)
totalFees() should be declared external:
- WaffleSwap.totalFees() (#589-591)
minimumTokensBeforeSwapAmount() should be declared external:
- WaffleSwap.minimumTokensBeforeSwapAmount() (#593-595)
buyBackSellLimitAmount() should be declared external:
- WaffleSwap.buyBackSellLimitAmount() (#597-599)
afterPresale() should be declared external:
- WaffleSwap.afterPresale() (#601-604)
toggleMaxWallet(bool) should be declared external:
- WaffleSwap.toggleMaxWallet(bool) (#606-609)
deliver(uint256) should be declared external:
- WaffleSwap.deliver(uint256) (#611-618)
reflectionFromToken(uint256,bool) should be declared external:
- WaffleSwap.reflectionFromToken(uint256,bool) (#632-641)
excludeFromReward(address) should be declared external:
- WaffleSwap.excludeFromReward(address) (#649-657)
isExcludedFromFee(address) should be declared external:
- WaffleSwap.isExcludedFromFee(address) (#1005-1007)
excludeFromFee(address) should be declared external:
- WaffleSwap.excludeFromFee(address) (#1009-1011)
excludeFromMaxTx(address) should be declared external:
- WaffleSwap.excludeFromMaxTx(address) (#1013-1015)
excludeFromMaxWallet(address) should be declared external:
- WaffleSwap.excludeFromMaxWallet(address) (#1017-1019)
includeInFee(address) should be declared external:
- WaffleSwap.includeInFee(address) (#1021-1023)
prepareForDxSale(address,address) should be declared external:
- WaffleSwap.prepareForDxSale(address,address) (#1025-1032)
GetBuyBackTimeInterval() should be declared external:
- WaffleSwap.GetBuyBackTimeInterval() (#1077-1079)
GetSwapMinutes() should be declared external:
- WaffleSwap.GetSwapMinutes() (#1090-1092)
setSwapAndLiquifyEnabled(bool) should be declared external:
- WaffleSwap.setSwapAndLiquifyEnabled(bool) (#1148-1151)
setBuyBackEnabled(bool) should be declared external:
- WaffleSwap.setBuyBackEnabled(bool) (#1153-1156)
setAutoBuyBackEnabled(bool) should be declared external:
- WaffleSwap.setAutoBuyBackEnabled(bool) (#1158-1161)
changeRouterVersion(address) should be declared external:
- WaffleSwap.changeRouterVersion(address) (#1167-1180)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


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.


Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.


Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.

Contract has 8% buy tax and 23% sell tax.
Taxes are high (over 10%) but contract ownership is renounced.


Token is deployed only at one blockchain


Token has only one trading pair


Twitter account has less than 100 followers


Telegram account has relatively few subscribers


Unable to find Blog account (Reddit or Medium)


Unable to find Youtube account


Unable to find Discord account


Twitter account has few posts


Unable to find website, listings and other project-related information


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

Price for WSP

News for WSP