Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
BluePuliInu.addLiquidity(uint256,uint256) (#1521-1533) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1524-1531)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in BluePuliInu._transfer(address,address,uint256) (#1414-1462):
External calls:
- swapAndLiquify(contractTokenBalance) (#1446)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1524-1531)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_to,block.timestamp) (#1507-1513)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1446)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1524-1531)
- charityWallet.transfer(charityAmount) (#1489)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (#1456)
- _balances[sender] = senderBalance - amount (#364)
- _balances[recipient] += amount (#366)
- super._transfer(from,to,amount) (#1460)
- _balances[sender] = senderBalance - amount (#364)
- _balances[recipient] += amount (#366)
Apply the check-effects-interactions pattern.
Additional information: link
SafeToken.withdraw(address,uint256) (#1242-1245) ignores return value by IERC20(_token).transfer(safeManager,_amount) (#1244)
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 ticker (Blue Puli) contains non-alphanumeric characters.
Not a direct threat, but may indicate unreliable intentions of developer. Non-alphanumeric chars (,.;!#*&") are extremely rare among low risk tokens.
Not a direct threat, but may indicate unreliable intentions of developer. Widespread names (e.g. Elon, King, Moon, Doge) are common among meme-tokens and scams. The allow to gain free hype and attract unexperienced investors.
BluePuliInu.addLiquidity(uint256,uint256) (#1521-1533) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1524-1531)
Ensure that all the return values of the function calls are used.
Additional information: link
BluePuliInu.swapAndLiquify(uint256) (#1464-1492) performs a multiplication on the result of a division:
-tokensToAddLiquidityWith = contractTokenBalance.div(totalFees.mul(2)).mul(liquidityFee) (#1467)
BluePuliInu.swapAndLiquify(uint256) (#1464-1492) performs a multiplication on the result of a division:
-charityAmount = deltaBalance.sub(FTMToAddLiquidityWith).div(totalFees.sub(liquidityFee)).mul(charityFee) (#1488)
Consider ordering multiplication before division.
Additional information: link
BluePuliInu.setFee(uint256,uint256) (#1304-1309) should emit an event for:
- liquidityFee = _liquidityFee (#1305)
- charityFee = _charityFee (#1306)
- totalFees = liquidityFee.add(charityFee) (#1308)
BluePuliInu.setMaxSellTx(uint256) (#1311-1313) should emit an event for:
- maxSellTransactionAmount = _maxSellTxAmount (#1312)
BluePuliInu.setMaxBuyTx(uint256) (#1315-1317) should emit an event for:
- maxBuyTransactionAmount = _maxBuyTxAmount (#1316)
Emit an event for critical parameter changes.
Additional information: link
SafeToken.setSafeManager(address)._safeManager (#1238) lacks a zero-check on :
- safeManager = _safeManager (#1239)
Check that the address is not zero.
Additional information: link
Reentrancy in BluePuliInu.constructor() (#1319-1352):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1328-1329)
State variables written after the call(s):
- _mint(owner(),1000000000000 * (10 ** 18)) (#1351)
- _balances[account] += amount (#388)
- excludeFromFees(owner(),true) (#1337)
- _isExcludedFromFees[account] = excluded (#1366)
- excludeFromFees(charityWallet,true) (#1338)
- _isExcludedFromFees[account] = excluded (#1366)
- excludeFromFees(address(this),true) (#1339)
- _isExcludedFromFees[account] = excluded (#1366)
- _isExcludedFromMaxTx[owner()] = true (#1342)
- _isExcludedFromMaxTx[address(this)] = true (#1343)
- _isExcludedFromMaxTx[charityWallet] = true (#1344)
- _mint(owner(),1000000000000 * (10 ** 18)) (#1351)
- _totalSupply += amount (#387)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1334)
- automatedMarketMakerPairs[pair] = value (#1396)
- uniswapV2Pair = _uniswapV2Pair (#1332)
- uniswapV2Router = _uniswapV2Router (#1331)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in BluePuliInu._transfer(address,address,uint256) (#1414-1462):
External calls:
- swapAndLiquify(contractTokenBalance) (#1446)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1524-1531)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_to,block.timestamp) (#1507-1513)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1446)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1524-1531)
- charityWallet.transfer(charityAmount) (#1489)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (#368)
- super._transfer(from,to,amount) (#1460)
- Transfer(sender,recipient,amount) (#368)
- super._transfer(from,address(this),fees) (#1456)
Reentrancy in BluePuliInu.constructor() (#1319-1352):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1328-1329)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (#1368)
- excludeFromFees(address(this),true) (#1339)
- ExcludeFromFees(account,excluded) (#1368)
- excludeFromFees(charityWallet,true) (#1338)
- ExcludeFromFees(account,excluded) (#1368)
- excludeFromFees(owner(),true) (#1337)
- SetAutomatedMarketMakerPair(pair,value) (#1398)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1334)
- Transfer(address(0),account,amount) (#389)
- _mint(owner(),1000000000000 * (10 ** 18)) (#1351)
Reentrancy in BluePuliInu.swapAndLiquify(uint256) (#1464-1492):
External calls:
- swapTokensForFTM(toSwap,address(this)) (#1477)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_to,block.timestamp) (#1507-1513)
- addLiquidity(tokensToAddLiquidityWith,FTMToAddLiquidityWith) (#1486)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1524-1531)
External calls sending eth:
- addLiquidity(tokensToAddLiquidityWith,FTMToAddLiquidityWith) (#1486)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1524-1531)
- charityWallet.transfer(charityAmount) (#1489)
Event emitted after the call(s):
- SwapAndLiquify(tokensToAddLiquidityWith,deltaBalance) (#1491)
Apply the check-effects-interactions pattern.
Additional information: link
BluePuliInu.swapAndSendFTMToCharity(uint256) (#1517-1519) is never used and should be removed
Context._msgData() (#36-38) is never used and should be removed
ERC20._burn(address,uint256) (#405-420) is never used and should be removed
SafeCast.toInt128(int256) (#1139-1142) is never used and should be removed
SafeCast.toInt16(int256) (#1193-1196) is never used and should be removed
SafeCast.toInt256(uint256) (#1223-1227) is never used and should be removed
SafeCast.toInt32(int256) (#1175-1178) is never used and should be removed
SafeCast.toInt64(int256) (#1157-1160) is never used and should be removed
SafeCast.toInt8(int256) (#1211-1214) is never used and should be removed
SafeCast.toUint128(uint256) (#1034-1037) is never used and should be removed
SafeCast.toUint16(uint256) (#1094-1097) is never used and should be removed
SafeCast.toUint224(uint256) (#1019-1022) is never used and should be removed
SafeCast.toUint256(int256) (#1121-1124) is never used and should be removed
SafeCast.toUint32(uint256) (#1079-1082) is never used and should be removed
SafeCast.toUint64(uint256) (#1064-1067) is never used and should be removed
SafeCast.toUint8(uint256) (#1109-1112) is never used and should be removed
SafeCast.toUint96(uint256) (#1049-1052) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#955-964) is never used and should be removed
SafeMath.mod(uint256,uint256) (#915-917) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#981-990) is never used and should be removed
SafeMath.sub(uint256,uint256,string) (#932-941) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#786-792) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#828-833) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#840-845) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#811-821) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#799-804) is never used and should be removed
SignedSafeMath.add(int256,int256) (#765-767) is never used and should be removed
SignedSafeMath.div(int256,int256) (#737-739) is never used and should be removed
SignedSafeMath.mul(int256,int256) (#723-725) is never used and should be removed
SignedSafeMath.sub(int256,int256) (#751-753) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version0.8.0 (#29) allows old versions
solc-0.8.0 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
Function IUniswapV2Router01.WETH() (#557) is not in mixedCase
Parameter SafeToken.setSafeManager(address)._safeManager (#1238) is not in mixedCase
Parameter SafeToken.withdraw(address,uint256)._token (#1242) is not in mixedCase
Parameter SafeToken.withdraw(address,uint256)._amount (#1242) is not in mixedCase
Parameter SafeToken.withdrawFTM(uint256)._amount (#1247) is not in mixedCase
Parameter BluePuliInu.setFee(uint256,uint256)._liquidityFee (#1304) is not in mixedCase
Parameter BluePuliInu.setFee(uint256,uint256)._charityFee (#1304) is not in mixedCase
Parameter BluePuliInu.setMaxSellTx(uint256)._maxSellTxAmount (#1311) is not in mixedCase
Parameter BluePuliInu.setMaxBuyTx(uint256)._maxBuyTxAmount (#1315) is not in mixedCase
Parameter BluePuliInu.setExcludeFromMaxTx(address,bool)._address (#1371) is not in mixedCase
Parameter BluePuliInu.setExcludeFromAll(address)._address (#1375) is not in mixedCase
Parameter BluePuliInu.setSwapAndLiquifyEnabled(bool)._enabled (#1409) is not in mixedCase
Parameter BluePuliInu.swapTokensForFTM(uint256,address)._to (#1494) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Reentrancy in BluePuliInu._transfer(address,address,uint256) (#1414-1462):
External calls:
- swapAndLiquify(contractTokenBalance) (#1446)
- charityWallet.transfer(charityAmount) (#1489)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1446)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1524-1531)
- charityWallet.transfer(charityAmount) (#1489)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (#1456)
- _balances[sender] = senderBalance - amount (#364)
- _balances[recipient] += amount (#366)
- super._transfer(from,to,amount) (#1460)
- _balances[sender] = senderBalance - amount (#364)
- _balances[recipient] += amount (#366)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (#368)
- super._transfer(from,to,amount) (#1460)
- Transfer(sender,recipient,amount) (#368)
- super._transfer(from,address(this),fees) (#1456)
Reentrancy in BluePuliInu.swapAndLiquify(uint256) (#1464-1492):
External calls:
- charityWallet.transfer(charityAmount) (#1489)
External calls sending eth:
- addLiquidity(tokensToAddLiquidityWith,FTMToAddLiquidityWith) (#1486)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1524-1531)
- charityWallet.transfer(charityAmount) (#1489)
Event emitted after the call(s):
- SwapAndLiquify(tokensToAddLiquidityWith,deltaBalance) (#1491)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#562) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#563)
Prevent variables from having similar names.
Additional information: link
BluePuliInu.constructor() (#1319-1352) uses literals with too many digits:
- _mint(owner(),1000000000000 * (10 ** 18)) (#1351)
BluePuliInu.slitherConstructorVariables() (#1254-1536) uses literals with too many digits:
- maxSellTransactionAmount = 20000000000 * (10 ** 18) (#1264)
BluePuliInu.slitherConstructorVariables() (#1254-1536) uses literals with too many digits:
- maxBuyTransactionAmount = 500000000000 * (10 ** 18) (#1265)
BluePuliInu.slitherConstructorVariables() (#1254-1536) uses literals with too many digits:
- swapTokensAtAmount = 100000000 * (10 ** 18) (#1266)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
BluePuliInu.swapTokensAtAmount (#1266) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
name() should be declared external:
- ERC20.name() (#192-194)
symbol() should be declared external:
- ERC20.symbol() (#200-202)
decimals() should be declared external:
- ERC20.decimals() (#217-219)
totalSupply() should be declared external:
- ERC20.totalSupply() (#224-226)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#243-246)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#262-265)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#280-294)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#308-311)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#327-335)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#534-536)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#542-545)
setSafeManager(address) should be declared external:
- SafeToken.setSafeManager(address) (#1238-1240)
setFee(uint256,uint256) should be declared external:
- BluePuliInu.setFee(uint256,uint256) (#1304-1309)
setMaxSellTx(uint256) should be declared external:
- BluePuliInu.setMaxSellTx(uint256) (#1311-1313)
setMaxBuyTx(uint256) should be declared external:
- BluePuliInu.setMaxBuyTx(uint256) (#1315-1317)
updateUniswapV2Router(address) should be declared external:
- BluePuliInu.updateUniswapV2Router(address) (#1358-1362)
setExcludeFromMaxTx(address,bool) should be declared external:
- BluePuliInu.setExcludeFromMaxTx(address,bool) (#1371-1373)
setExcludeFromAll(address) should be declared external:
- BluePuliInu.setExcludeFromAll(address) (#1375-1378)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- BluePuliInu.excludeMultipleAccountsFromFees(address[],bool) (#1380-1386)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- BluePuliInu.setAutomatedMarketMakerPair(address,bool) (#1388-1392)
isExcludedFromFees(address) should be declared external:
- BluePuliInu.isExcludedFromFees(address) (#1401-1403)
isExcludedFromMaxTx(address) should be declared external:
- BluePuliInu.isExcludedFromMaxTx(address) (#1405-1407)
setSwapAndLiquifyEnabled(bool) should be declared external:
- BluePuliInu.setSwapAndLiquifyEnabled(bool) (#1409-1412)
Use the external attribute for functions never called from the contract.
Additional information: link
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.
Token is deployed only at one blockchain
Token has only one trading pair
Unable to find PancakeSwap trading pair to compute liquidity.
Unable to find PancakeSwap trading pair to compute volume.
Unable to find PancakeSwap trading pair to compute number of swaps.
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