BHH._splitOtherToken() (#1256-1302) ignores return value by doge.transfer(user,thisAmount.mul(rate).div(10000)) (#1285)
BHH._splitOtherToken() (#1256-1302) ignores return value by doge.transfer(user,thisAmount.mul(rate).div(10000)) (#1295)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
BHH._transfer(address,address,uint256) (#1137-1195) performs a multiplication on the result of a division:
-super._transfer(from,_destroyAddress,amount.div(1000).mul(15)) (#1172)
BHH._transfer(address,address,uint256) (#1137-1195) performs a multiplication on the result of a division:
-super._transfer(from,uniswapV2Pair,amount.div(1000).mul(15)) (#1173)
BHH._transfer(address,address,uint256) (#1137-1195) performs a multiplication on the result of a division:
-super._transfer(from,_fund0711Address,amount.div(1000).mul(7)) (#1178)
BHH._transfer(address,address,uint256) (#1137-1195) performs a multiplication on the result of a division:
-super._transfer(from,_fund0312Address,amount.div(1000).mul(3)) (#1179)
BHH._transfer(address,address,uint256) (#1137-1195) performs a multiplication on the result of a division:
-amount = amount.div(100).mul(85) (#1184)
BHH._splitOtherToken() (#1256-1302) performs a multiplication on the result of a division:
-thisAmount = thisAmount.mul(3).div(5) (#1259)
-rate = balanceOf(user).mul(10000).div(totalAmount) (#1283)
-doge.transfer(user,thisAmount.mul(rate).div(10000)) (#1295)
BHH._splitOtherToken() (#1256-1302) performs a multiplication on the result of a division:
-thisAmount = thisAmount.mul(3).div(5) (#1259)
-rate = balanceOf(user).mul(10000).div(totalAmount) (#1283)
-doge.transfer(user,thisAmount.mul(rate).div(10000)) (#1285)
BHH._takeInviterFee(address,address,uint256) (#1308-1335) performs a multiplication on the result of a division:
-super._transfer(sender,_receiveD,amount.div(100).mul(rate)) (#1333)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in BHH._transfer(address,address,uint256) (#1137-1195):
External calls:
- swapAndLiquifyV3(balanceOf(address(this))) (#1159)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1235-1241)
State variables written after the call(s):
- swapping = false (#1160)
Reentrancy in BHH._transfer(address,address,uint256) (#1137-1195):
External calls:
- swapAndLiquifyV3(balanceOf(address(this))) (#1159)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1235-1241)
- _splitOtherToken() (#1164)
- doge.transfer(user,thisAmount.mul(rate).div(10000)) (#1285)
- doge.transfer(user,thisAmount.mul(rate).div(10000)) (#1295)
State variables written after the call(s):
- super._transfer(from,_destroyAddress,amount.div(1000).mul(15)) (#1172)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#569-572)
- _balances[recipient] = _balances[recipient].add(amount) (#573)
- super._transfer(from,uniswapV2Pair,amount.div(1000).mul(15)) (#1173)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#569-572)
- _balances[recipient] = _balances[recipient].add(amount) (#573)
- super._transfer(from,address(this),amount.div(50)) (#1174)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#569-572)
- _balances[recipient] = _balances[recipient].add(amount) (#573)
- super._transferr(from,_fundhideAddress,amount.div(20)) (#1175)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#557-560)
- _balances[recipient] = _balances[recipient].add(amount) (#561)
- super._transfer(from,_fund1011Address,amount.div(100)) (#1176)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#569-572)
- _balances[recipient] = _balances[recipient].add(amount) (#573)
- super._transfer(from,_fund1012Address,amount.div(100)) (#1177)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#569-572)
- _balances[recipient] = _balances[recipient].add(amount) (#573)
- super._transfer(from,_fund0711Address,amount.div(1000).mul(7)) (#1178)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#569-572)
- _balances[recipient] = _balances[recipient].add(amount) (#573)
- super._transfer(from,_fund0312Address,amount.div(1000).mul(3)) (#1179)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#569-572)
- _balances[recipient] = _balances[recipient].add(amount) (#573)
- _takeInviterFee(from,to,amount.div(50)) (#1180)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#569-572)
- _balances[recipient] = _balances[recipient].add(amount) (#573)
Reentrancy in BHH._transfer(address,address,uint256) (#1137-1195):
External calls:
- swapAndLiquifyV3(balanceOf(address(this))) (#1159)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1235-1241)
- _splitOtherToken() (#1164)
- doge.transfer(user,thisAmount.mul(rate).div(10000)) (#1285)
- doge.transfer(user,thisAmount.mul(rate).div(10000)) (#1295)
- uniswapV2PairSync() (#1182)
- (success) = uniswapV2Pair.call(abi.encodeWithSelector(0xfff6cae9)) (#1133)
State variables written after the call(s):
- super._transfer(from,to,amount) (#1186)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#569-572)
- _balances[recipient] = _balances[recipient].add(amount) (#573)
- buyUser.push(to) (#1190)
- inviter[to] = from (#1193)
Apply the check-effects-interactions pattern.
Additional information: link
BHH._splitOtherToken().startIndex (#1263) 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
ERC20.allowance(address,address).owner (#411) shadows:
- Ownable.owner() (#278-280) (function)
ERC20._approve(address,address,uint256).owner (#636) shadows:
- Ownable.owner() (#278-280) (function)
Rename the local variables that shadow another component.
Additional information: link
BHH.setSwapTokensAtAmount(uint256) (#1116-1118) should emit an event for:
- swapTokensAtAmount = _swapTokensAtAmount (#1117)
Emit an event for critical parameter changes.
Additional information: link
Ownable.constructor().msgSender (#270) lacks a zero-check on :
- _owner = msgSender (#271)
BHH.constructor(address).tokenOwner (#1069) lacks a zero-check on :
- _tokenOwner = tokenOwner (#1079)
Check that the address is not zero.
Additional information: link
Reentrancy in BHH._transfer(address,address,uint256) (#1137-1195):
External calls:
- swapAndLiquifyV3(balanceOf(address(this))) (#1159)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1235-1241)
- _splitOtherToken() (#1164)
- doge.transfer(user,thisAmount.mul(rate).div(10000)) (#1285)
- doge.transfer(user,thisAmount.mul(rate).div(10000)) (#1295)
- uniswapV2PairSync() (#1182)
- (success) = uniswapV2Pair.call(abi.encodeWithSelector(0xfff6cae9)) (#1133)
State variables written after the call(s):
- havePush[to] = true (#1189)
Reentrancy in BHH.constructor(address) (#1069-1088):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1074-1075)
State variables written after the call(s):
- _approve(address(this),address(0x10ED43C718714eb63d5aA57B78B54704E256024E),10 ** 28) (#1076)
- _allowances[owner][spender] = amount (#643)
- _mint(tokenOwner,total) (#1087)
- _balances[account] = _balances[account].add(amount) (#592)
- excludeFromFees(tokenOwner,true) (#1082)
- _isExcludedFromFees[account] = excluded (#1100)
- excludeFromFees(address(this),true) (#1083)
- _isExcludedFromFees[account] = excluded (#1100)
- _tokenOwner = tokenOwner (#1079)
- _mint(tokenOwner,total) (#1087)
- _totalSupply = _totalSupply.add(amount) (#591)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1080)
- automatedMarketMakerPairs[pair] = value (#1125)
- doge = IERC20(0x55d398326f99059fF775485246999027B3197955) (#1084)
- swapTokensAtAmount = total.div(100000) (#1086)
- uniswapV2Pair = _uniswapV2Pair (#1078)
- uniswapV2Router = _uniswapV2Router (#1077)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in BHH._transfer(address,address,uint256) (#1137-1195):
External calls:
- swapAndLiquifyV3(balanceOf(address(this))) (#1159)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1235-1241)
- _splitOtherToken() (#1164)
- doge.transfer(user,thisAmount.mul(rate).div(10000)) (#1285)
- doge.transfer(user,thisAmount.mul(rate).div(10000)) (#1295)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (#574)
- super._transfer(from,uniswapV2Pair,amount.div(1000).mul(15)) (#1173)
- Transfer(sender,recipient,amount) (#574)
- super._transfer(from,_fund0312Address,amount.div(1000).mul(3)) (#1179)
- Transfer(sender,recipient,amount) (#574)
- super._transfer(from,_fund1012Address,amount.div(100)) (#1177)
- Transfer(sender,recipient,amount) (#574)
- super._transfer(from,_fund1011Address,amount.div(100)) (#1176)
- Transfer(sender,recipient,amount) (#574)
- _takeInviterFee(from,to,amount.div(50)) (#1180)
- Transfer(sender,recipient,amount) (#574)
- super._transfer(from,_destroyAddress,amount.div(1000).mul(15)) (#1172)
- Transfer(sender,recipient,amount) (#574)
- super._transfer(from,_fund0711Address,amount.div(1000).mul(7)) (#1178)
- Transfer(sender,recipient,amount) (#574)
- super._transfer(from,address(this),amount.div(50)) (#1174)
Reentrancy in BHH._transfer(address,address,uint256) (#1137-1195):
External calls:
- swapAndLiquifyV3(balanceOf(address(this))) (#1159)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1235-1241)
- _splitOtherToken() (#1164)
- doge.transfer(user,thisAmount.mul(rate).div(10000)) (#1285)
- doge.transfer(user,thisAmount.mul(rate).div(10000)) (#1295)
- uniswapV2PairSync() (#1182)
- (success) = uniswapV2Pair.call(abi.encodeWithSelector(0xfff6cae9)) (#1133)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (#574)
- super._transfer(from,to,amount) (#1186)
Reentrancy in BHH.constructor(address) (#1069-1088):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1074-1075)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#644)
- _approve(address(this),address(0x10ED43C718714eb63d5aA57B78B54704E256024E),10 ** 28) (#1076)
- ExcludeFromFees(account,excluded) (#1101)
- excludeFromFees(tokenOwner,true) (#1082)
- ExcludeFromFees(account,excluded) (#1101)
- excludeFromFees(address(this),true) (#1083)
- Transfer(address(0),account,amount) (#593)
- _mint(tokenOwner,total) (#1087)
Apply the check-effects-interactions pattern.
Additional information: link
Context._msgData() (#10-14) is never used and should be removed
ERC20._burn(address,uint256) (#607-618) is never used and should be removed
SafeMath.sub(uint256,uint256) (#697-699) is never used and should be removed
Remove unused functions.
Additional information: link
Low level call in BHH.uniswapV2PairSync() (#1132-1135):
- (success) = uniswapV2Pair.call(abi.encodeWithSelector(0xfff6cae9)) (#1133)
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() (#50) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#52) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#83) is not in mixedCase
Function IUniswapV2Router01.WETH() (#827) is not in mixedCase
Parameter BHH.setSwapTokensAtAmount(uint256)._swapTokensAtAmount (#1116) is not in mixedCase
Parameter BHH.setSwapAndLiquifyEnabled(bool)._enabled (#1120) is not in mixedCase
Variable BHH._tokenOwner (#1035) is not in mixedCase
Variable BHH._fund1011Address (#1040) is not in mixedCase
Variable BHH._fund1012Address (#1041) is not in mixedCase
Variable BHH._fund0711Address (#1042) is not in mixedCase
Variable BHH._fund0312Address (#1043) is not in mixedCase
Variable BHH._fundhideAddress (#1044) is not in mixedCase
Variable BHH._destroyMaxAmount (#1051) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#11)" inContext (#5-15)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#832) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#833)
Variable BHH._fund0711Address (#1042) is too similar to BHH._fund1011Address (#1040)
Variable BHH._fund1011Address (#1040) is too similar to BHH._fund1012Address (#1041)
Variable BHH._fund0312Address (#1043) is too similar to BHH._fund1012Address (#1041)
Prevent variables from having similar names.
Additional information: link
BHH.constructor(address) (#1069-1088) uses literals with too many digits:
- swapTokensAtAmount = total.div(100000) (#1086)
BHH.slitherConstructorVariables() (#1030-1337) uses literals with too many digits:
- _destroyAddress = address(0x000000000000000000000000000000000000dEaD) (#1045)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
BHH._destroyAddress (#1045) should be constant
BHH._destroyMaxAmount (#1051) should be constant
BHH._fund0312Address (#1043) should be constant
BHH._fund0711Address (#1042) should be constant
BHH._fund1011Address (#1040) should be constant
BHH._fund1012Address (#1041) should be constant
BHH._fundhideAddress (#1044) should be constant
BHH.startTime (#1050) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
owner() should be declared external:
- Ownable.owner() (#278-280)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#297-300)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#306-313)
name() should be declared external:
- ERC20.name() (#341-343)
symbol() should be declared external:
- ERC20.symbol() (#349-351)
decimals() should be declared external:
- ERC20.decimals() (#366-368)
totalSupply() should be declared external:
- ERC20.totalSupply() (#373-375)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#398-406)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#411-419)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#428-436)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#451-466)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#480-491)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#507-521)
updateUniswapV2Router(address) should be declared external:
- BHH.updateUniswapV2Router(address) (#1094-1097)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- BHH.excludeMultipleAccountsFromFees(address[],bool) (#1104-1110)
changeswapAction() should be declared external:
- BHH.changeswapAction() (#1112-1114)
setSwapTokensAtAmount(uint256) should be declared external:
- BHH.setSwapTokensAtAmount(uint256) (#1116-1118)
setSwapAndLiquifyEnabled(bool) should be declared external:
- BHH.setSwapAndLiquifyEnabled(bool) (#1120-1122)
isExcludedFromFees(address) should be declared external:
- BHH.isExcludedFromFees(address) (#1128-1130)
swapAndLiquifyV1(uint256) should be declared external:
- BHH.swapAndLiquifyV1(uint256) (#1197-1201)
swapAndLiquifyV4() should be declared external:
- BHH.swapAndLiquifyV4() (#1224-1226)
rescueToken(address,uint256) should be declared external:
- BHH.rescueToken(address,uint256) (#1246-1252)
getBuysize() should be declared external:
- BHH.getBuysize() (#1304-1306)
Use the external attribute for functions never called from the contract.
Additional information: link
Average 30d PancakeSwap volume is less than $100. Token is either dead or inactive.
Contract has 15% buy tax and 15% sell tax.
Taxes are high (over 10%) but contract ownership is renounced.
Average 30d PancakeSwap liquidity is low.
Average 30d number of PancakeSwap swaps is low.
Average PancakeSwap trading volume, liqudity, number of swaps are low. Token seems to be inactive.
Token is deployed only at one blockchain
Unable to find website, listings and other project-related information
Young tokens have high risks of price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Unable to find Telegram and Twitter accounts