Gentlemen Bull Token Logo

$GB [Gentlemen Bull] Token

ALERT: honeypot scam

About $GB

Listings

Not Found
Token 2 years

Website

Not Found

Description

Not Found

Social

Laser Scorebeta Last Audit: 14 February 2022

report
Token seems to be a scam (type: honeypot scam).


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

GentlemenBull.swapBack() (#620-669) sends eth to arbitrary user
Dangerous calls:
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#651)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#652)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in GentlemenBull._transferFrom(address,address,uint256) (#555-596):
External calls:
- swapBack() (#565)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#630-636)
- dividendDistributor.deposit{value: amountBNBReflection}() (#646)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#651)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#652)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#659-666)
External calls sending eth:
- swapBack() (#565)
- dividendDistributor.deposit{value: amountBNBReflection}() (#646)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#651)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#652)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#659-666)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#573)
- _balances[recipient] = _balances[recipient].add(finalAmount) (#581)
- finalAmount = takeFee(sender,recipient,amount) (#580)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#610)
Apply the check-effects-interactions pattern.

Additional information: link

DividendDistributor.distributeDividend(address) (#241-253) ignores return value by RewardToken.transfer(shareholder,amount) (#247)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.

Additional information: link


Too many vulnerabilities (Unchecked transfer, Reentrancy vulnerability, etc.). High risk of a scam. DYOR & manual audit are advised.

GentlemenBull.swapBack().tmpSuccess (#651) is written in both
(tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#651)
tmpSuccess = false (#655)
GentlemenBull.swapBack().tmpSuccess1 (#652) is written in both
(tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#652)
tmpSuccess1 = false (#656)
Fix or remove the writes.

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 ($GB) 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.

Reentrancy in DividendDistributor.distributeDividend(address) (#241-253):
External calls:
- RewardToken.transfer(shareholder,amount) (#247)
State variables written after the call(s):
- shares[shareholder].totalRealised = shares[shareholder].totalRealised.add(amount) (#249)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#250)
Reentrancy in DividendDistributor.process(uint256) (#212-234):
External calls:
- distributeDividend(shareholders[currentIndex]) (#226)
- RewardToken.transfer(shareholder,amount) (#247)
State variables written after the call(s):
- currentIndex ++ (#231)
Reentrancy in DividendDistributor.setShare(address,uint256) (#175-190):
External calls:
- distributeDividend(shareholder) (#178)
- RewardToken.transfer(shareholder,amount) (#247)
State variables written after the call(s):
- shares[shareholder].amount = amount (#188)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#189)
Apply the check-effects-interactions pattern.

Additional information: link

GentlemenBull.swapBack() (#620-669) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#659-666)
Ensure that all the return values of the function calls are used.

Additional information: link

DividendDistributor.setDistributionCriteria(uint256,uint256) (#170-173) should emit an event for:
- minPeriod = newMinPeriod (#171)
- minDistribution = newMinDistribution (#172)
GentlemenBull.changeFees(uint256,uint256,uint256,uint256) (#512-520) should emit an event for:
- liquidityFee = newLiqFee (#513)
- rewardsFee = newRewardFee (#514)
- totalFee = liquidityFee.add(marketingFee).add(rewardsFee) (#518)
- totalFeeIfSelling = totalFee.add(extraFeeOnSell) (#519)
Emit an event for critical parameter changes.

Additional information: link

Auth.transferOwnership(address).adr (#340) lacks a zero-check on :
- owner = adr (#341)
GentlemenBull.changeFeeReceivers(address,address,address).newLiquidityReceiver (#522) lacks a zero-check on :
- autoLiquidityReceiver = newLiquidityReceiver (#523)
GentlemenBull.changeFeeReceivers(address,address,address).newMarketingWallet (#522) lacks a zero-check on :
- marketingWallet = newMarketingWallet (#524)
GentlemenBull.changeFeeReceivers(address,address,address).newanothermarketingWallet (#522) lacks a zero-check on :
- anothermarketingWallet = newanothermarketingWallet (#525)
Check that the address is not zero.

Additional information: link

DividendDistributor.distributeDividend(address) (#241-253) has external calls inside a loop: RewardToken.transfer(shareholder,amount) (#247)
Favor pull over push strategy for external calls.

Additional information: link

Reentrancy in GentlemenBull._transferFrom(address,address,uint256) (#555-596):
External calls:
- swapBack() (#565)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#630-636)
- dividendDistributor.deposit{value: amountBNBReflection}() (#646)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#651)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#652)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#659-666)
External calls sending eth:
- swapBack() (#565)
- dividendDistributor.deposit{value: amountBNBReflection}() (#646)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#651)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#652)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#659-666)
State variables written after the call(s):
- launch() (#569)
- launchedAt = block.number (#478)
Reentrancy in GentlemenBull.constructor() (#408-440):
External calls:
- pair = IDEXFactory(router.factory()).createPair(router.WETH(),address(this)) (#411)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = uint256(- 1) (#412)
- _balances[msg.sender] = _totalSupply (#438)
- anothermarketingWallet = 0x7e5590D3C812AFec8e0738eEe92C34f0fCDB93d3 (#433)
- autoLiquidityReceiver = msg.sender (#431)
- dividendDistributor = new DividendDistributor(address(router)) (#414)
- isDividendExempt[pair] = true (#424)
- isDividendExempt[address(this)] = true (#426)
- isDividendExempt[DEAD] = true (#427)
- isDividendExempt[ZERO] = true (#428)
- isFeeExempt[msg.sender] = true (#416)
- isFeeExempt[address(this)] = true (#417)
- isFeeExempt[anothermarketingWallet] = true (#418)
- isTxLimitExempt[msg.sender] = true (#420)
- isTxLimitExempt[pair] = true (#421)
- isTxLimitExempt[DEAD] = true (#422)
- marketingWallet = msg.sender (#432)
- totalFee = liquidityFee.add(marketingFee).add(rewardsFee) (#435)
- totalFeeIfSelling = totalFee.add(extraFeeOnSell) (#436)
Reentrancy in DividendDistributor.deposit() (#192-210):
External calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: msg.value}(0,path,address(this),block.timestamp) (#200-205)
State variables written after the call(s):
- dividendsPerShare = dividendsPerShare.add(dividendsPerShareAccuracyFactor.mul(amount).div(totalShares)) (#209)
- totalDividends = totalDividends.add(amount) (#208)
Reentrancy in DividendDistributor.distributeDividend(address) (#241-253):
External calls:
- RewardToken.transfer(shareholder,amount) (#247)
State variables written after the call(s):
- shareholderClaims[shareholder] = block.timestamp (#248)
Reentrancy in DividendDistributor.setShare(address,uint256) (#175-190):
External calls:
- distributeDividend(shareholder) (#178)
- RewardToken.transfer(shareholder,amount) (#247)
State variables written after the call(s):
- addShareholder(shareholder) (#182)
- shareholderIndexes[shareholder] = shareholders.length (#271)
- removeShareholder(shareholder) (#184)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#277)
- addShareholder(shareholder) (#182)
- shareholders.push(shareholder) (#272)
- removeShareholder(shareholder) (#184)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#276)
- shareholders.pop() (#278)
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (#187)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in GentlemenBull._transferFrom(address,address,uint256) (#555-596):
External calls:
- swapBack() (#565)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#630-636)
- dividendDistributor.deposit{value: amountBNBReflection}() (#646)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#651)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#652)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#659-666)
- dividendDistributor.setShare(sender,_balances[sender]) (#585)
- dividendDistributor.setShare(recipient,_balances[recipient]) (#589)
- dividendDistributor.process(distributorGas) (#592)
External calls sending eth:
- swapBack() (#565)
- dividendDistributor.deposit{value: amountBNBReflection}() (#646)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#651)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#652)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#659-666)
Event emitted after the call(s):
- Transfer(sender,recipient,finalAmount) (#594)
Reentrancy in GentlemenBull._transferFrom(address,address,uint256) (#555-596):
External calls:
- swapBack() (#565)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#630-636)
- dividendDistributor.deposit{value: amountBNBReflection}() (#646)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#651)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#652)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#659-666)
External calls sending eth:
- swapBack() (#565)
- dividendDistributor.deposit{value: amountBNBReflection}() (#646)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#651)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#652)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#659-666)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#611)
- finalAmount = takeFee(sender,recipient,amount) (#580)
Reentrancy in GentlemenBull.constructor() (#408-440):
External calls:
- pair = IDEXFactory(router.factory()).createPair(router.WETH(),address(this)) (#411)
Event emitted after the call(s):
- Transfer(address(0),msg.sender,_totalSupply) (#439)
Reentrancy in GentlemenBull.swapBack() (#620-669):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#630-636)
- dividendDistributor.deposit{value: amountBNBReflection}() (#646)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#651)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#652)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#659-666)
External calls sending eth:
- dividendDistributor.deposit{value: amountBNBReflection}() (#646)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#651)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#652)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#659-666)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#667)
Apply the check-effects-interactions pattern.

Additional information: link

DividendDistributor.shouldDistribute(address) (#236-239) uses timestamp for comparisons
Dangerous comparisons:
- shareholderClaims[shareholder] + minPeriod < block.timestamp && getUnpaidEarnings(shareholder) > minDistribution (#237-238)
Avoid relying on block.timestamp.

Additional information: link

DividendDistributor.process(uint256) (#212-234) has costly operations inside a loop:
- currentIndex = 0 (#223)
DividendDistributor.distributeDividend(address) (#241-253) has costly operations inside a loop:
- totalDistributed = totalDistributed.add(amount) (#246)
DividendDistributor.process(uint256) (#212-234) has costly operations inside a loop:
- currentIndex ++ (#231)
Use a local variable to hold the loop computation result.

Additional information: link

GentlemenBull._maxTxAmount (#363) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 100 / 100
GentlemenBull._walletMax (#364) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 54 / 100
GentlemenBull.swapThreshold (#400) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 5 / 2000
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

Pragma version^0.7.4 (#10) allows old versions
Deploy with any of the following Solidity versions: 0.5.16 - 0.5.17, 0.6.11 - 0.6.12, 0.7.5 - 0.7.6 Use a simple pragma version that allows any of these versions. Consider using the latest version of Solidity for testing.

Additional information: link

Low level call in GentlemenBull.swapBack() (#620-669):
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#651)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#652)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Function IDEXRouter.WETH() (#69) is not in mixedCase
Variable DividendDistributor._token (#126) is not in mixedCase
Variable DividendDistributor.RewardToken (#136) is not in mixedCase
Constant GentlemenBull._name (#353) is not in UPPER_CASE_WITH_UNDERSCORES
Constant GentlemenBull._symbol (#354) is not in UPPER_CASE_WITH_UNDERSCORES
Constant GentlemenBull._decimals (#355) is not in UPPER_CASE_WITH_UNDERSCORES
Variable GentlemenBull.DEAD (#357) is not in mixedCase
Variable GentlemenBull.ZERO (#358) is not in mixedCase
Variable GentlemenBull.RewardToken (#360) is not in mixedCase
Variable GentlemenBull._totalSupply (#362) is not in mixedCase
Variable GentlemenBull._maxTxAmount (#363) is not in mixedCase
Variable GentlemenBull._walletMax (#364) is not in mixedCase
Variable GentlemenBull._balances (#368) is not in mixedCase
Variable GentlemenBull._allowances (#369) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#74) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#75)
Prevent variables from having similar names.

Additional information: link

GentlemenBull.slitherConstructorVariables() (#349-674) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#357)
GentlemenBull.slitherConstructorVariables() (#349-674) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#358)
GentlemenBull.slitherConstructorVariables() (#349-674) uses literals with too many digits:
- _totalSupply = 100000000000 * (10 ** _decimals) (#362)
GentlemenBull.slitherConstructorVariables() (#349-674) uses literals with too many digits:
- distributorGas = 300000 (#394)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

GentlemenBull.RewardToken (#360) is never used in GentlemenBull (#349-674)
Remove unused state variables.

Additional information: link

DividendDistributor.dividendsPerShareAccuracyFactor (#147) should be constant
DividendDistributor.routerAddress (#135) should be constant
GentlemenBull.DEAD (#357) should be constant
GentlemenBull.RewardToken (#360) should be constant
GentlemenBull.ZERO (#358) should be constant
GentlemenBull._totalSupply (#362) should be constant
GentlemenBull.routerAddress (#359) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

authorize(address) should be declared external:
- Auth.authorize(address) (#312-314)
unauthorize(address) should be declared external:
- Auth.unauthorize(address) (#319-321)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#340-344)
getCirculatingSupply() should be declared external:
- GentlemenBull.getCirculatingSupply() (#450-452)
claim() should be declared external:
- GentlemenBull.claim() (#468-471)
tradingStatus(bool) should be declared external:
- GentlemenBull.tradingStatus(bool) (#616-618)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


Token seems to be untradeable: there is no PancakeSwap trading pair and no trading volumes. Ignore for presale.


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


Unable to find Twitter account


Telegram account has less than 100 subscribers


Unable to find Blog account (Reddit or Medium)


Unable to find Youtube account


Unable to find Discord account


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


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

Additional information: link


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 $GB