Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
GoldBee._tFeeTotal (#87) is never initialized. It is used in:
- GoldBee.totalFees() (#179-181)
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
GoldBee.totalSupply (#83) shadows:
- BEP20Basic.totalSupply (#54)
Remove the state variable shadowing.
Additional information: link
BEP20Basic.totalSupply (#54) should be constant
GoldBee._tFeeTotal (#87) should be constant
GoldBee.target0drop (#92) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
GoldBee.setTaxFeePercent(uint256) (#123-125) should emit an event for:
- _taxFee = taxFee (#124)
GoldBee.setLiquidityFeePercent(uint256) (#148-150) should emit an event for:
- _liquidityFee = liquidityFee (#149)
Emit an event for critical parameter changes.
Additional information: link
GoldBee.getTokens() (#216-273) uses timestamp for comparisons
Dangerous comparisons:
- msg.value >= requestMinimum && now < deadline && now < round1 && now < round2 (#227)
- msg.value >= requestMinimum && now < deadline && now > round1 && now < round2 (#235)
- now >= deadline && now >= round1 && now < round2 (#257)
Avoid relying on block.timestamp.
Additional information: link
GoldBee.getTokens() (#216-273) compares to a boolean constant:
-Claimed[investor] == false && progress0drop <= target0drop (#249)
Remove the equality to the boolean constant.
Additional information: link
GoldBee.Distribute(address,uint256) (#183-197) has costly operations inside a loop:
- totalDistributed = totalDistributed.add(_amount) (#188)
GoldBee.Distribute(address,uint256) (#183-197) has costly operations inside a loop:
- distributionFinished = true (#191)
Use a local variable to hold the loop computation result.
Additional information: link
GoldBee.calculateLiquidityFee(uint256) (#152-156) is never used and should be removed
GoldBee.calculateTaxFee(uint256) (#127-131) is never used and should be removed
GoldBee.removeAllFee() (#133-141) is never used and should be removed
GoldBee.restoreAllFee() (#143-146) is never used and should be removed
SafeMath.div(uint256,uint256) (#26-31) is never used and should be removed
Remove unused functions.
Additional information: link
GoldBee._previousTaxFee (#89) is set pre-construction with a non-constant function or state variable:
- _taxFee
GoldBee._previousLiquidityFee (#91) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
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.4.26 (#1) allows old versions
solc-0.4.26 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
Parameter GoldBee.calculateTaxFee(uint256)._amount (#127) is not in mixedCase
Parameter GoldBee.calculateLiquidityFee(uint256)._amount (#152) is not in mixedCase
Parameter GoldBee.distr(address,uint256)._to (#170) is not in mixedCase
Parameter GoldBee.distr(address,uint256)._amount (#170) is not in mixedCase
Function GoldBee.Distribute(address,uint256) (#183-197) is not in mixedCase
Parameter GoldBee.Distribute(address,uint256)._participant (#183) is not in mixedCase
Parameter GoldBee.Distribute(address,uint256)._amount (#183) is not in mixedCase
Function GoldBee.DistributeAirdrop(address,uint256) (#199-201) is not in mixedCase
Parameter GoldBee.DistributeAirdrop(address,uint256)._participant (#199) is not in mixedCase
Parameter GoldBee.DistributeAirdrop(address,uint256)._amount (#199) is not in mixedCase
Function GoldBee.DistributeAirdropMultiple(address[],uint256) (#203-205) is not in mixedCase
Parameter GoldBee.DistributeAirdropMultiple(address[],uint256)._addresses (#203) is not in mixedCase
Parameter GoldBee.DistributeAirdropMultiple(address[],uint256)._amount (#203) is not in mixedCase
Parameter GoldBee.updateTokensPerEth(uint256)._tokensPerEth (#207) is not in mixedCase
Parameter GoldBee.balanceOf(address)._owner (#275) is not in mixedCase
Parameter GoldBee.transfer(address,uint256)._to (#284) is not in mixedCase
Parameter GoldBee.transfer(address,uint256)._amount (#284) is not in mixedCase
Parameter GoldBee.transferFrom(address,address,uint256)._from (#295) is not in mixedCase
Parameter GoldBee.transferFrom(address,address,uint256)._to (#295) is not in mixedCase
Parameter GoldBee.transferFrom(address,address,uint256)._amount (#295) is not in mixedCase
Parameter GoldBee.approve(address,uint256)._spender (#308) is not in mixedCase
Parameter GoldBee.approve(address,uint256)._value (#308) is not in mixedCase
Parameter GoldBee.allowance(address,address)._owner (#315) is not in mixedCase
Parameter GoldBee.allowance(address,address)._spender (#315) is not in mixedCase
Parameter GoldBee.withdraw(uint256)._wdamount (#331) is not in mixedCase
Parameter GoldBee.burn(uint256)._value (#336) is not in mixedCase
Parameter GoldBee.withdrawForeignTokens(address)._tokenContract (#345) is not in mixedCase
Variable GoldBee.Claimed (#74) is not in mixedCase
Constant GoldBee.requestMinimum (#85) is not in UPPER_CASE_WITH_UNDERSCORES
Variable GoldBee._taxFee (#88) is not in mixedCase
Variable GoldBee._liquidityFee (#90) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
GoldBee.constructor() (#117-121) uses literals with too many digits:
- teamFund = 99000000000e18 (#118)
GoldBee.slitherConstructorVariables() (#67-351) uses literals with too many digits:
- totalSupply = 100000000000e18 (#83)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
GoldBee.getTokens() (#216-273) performs a multiplication on the result of a division:
-tokens = tokensPerEth.mul(msg.value) / 1000000000000000000 (#224)
-countbonus = tokens * 20 / 100 (#237)
GoldBee.getTokens() (#216-273) performs a multiplication on the result of a division:
-tokens = tokensPerEth.mul(msg.value) / 1000000000000000000 (#224)
-countbonus = tokens * 50 / 100 (#239)
GoldBee.getTokens() (#216-273) performs a multiplication on the result of a division:
-tokens = tokensPerEth.mul(msg.value) / 1000000000000000000 (#224)
-countbonus = tokens * 10 / 100 (#229)
GoldBee.getTokens() (#216-273) performs a multiplication on the result of a division:
-tokens = tokensPerEth.mul(msg.value) / 1000000000000000000 (#224)
-countbonus = tokens * 20 / 100 (#231)
GoldBee.getTokens() (#216-273) performs a multiplication on the result of a division:
-tokens = tokensPerEth.mul(msg.value) / 1000000000000000000 (#224)
-countbonus = tokens * 30 / 100 (#233)
Consider ordering multiplication before division.
Additional information: link
GoldBee.transferOwnership(address) (#158-162) should emit an event for:
- owner = newOwner (#160)
Emit an event for critical parameter changes.
Additional information: link
balanceOf(address) should be declared external:
- ForeignToken.balanceOf(address) (#49)
transfer(address,uint256) should be declared external:
- ForeignToken.transfer(address,uint256) (#50)
balanceOf(address) should be declared external:
- BEP20Basic.balanceOf(address) (#55)
- GoldBee.balanceOf(address) (#275-277)
transfer(address,uint256) should be declared external:
- BEP20Basic.transfer(address,uint256) (#56)
- GoldBee.transfer(address,uint256) (#284-293)
allowance(address,address) should be declared external:
- BEP20.allowance(address,address) (#61)
- GoldBee.allowance(address,address) (#315-317)
transferFrom(address,address,uint256) should be declared external:
- BEP20.transferFrom(address,address,uint256) (#62)
- GoldBee.transferFrom(address,address,uint256) (#295-306)
approve(address,uint256) should be declared external:
- BEP20.approve(address,uint256) (#63)
- GoldBee.approve(address,uint256) (#308-313)
transferOwnership(address) should be declared external:
- GoldBee.transferOwnership(address) (#158-162)
finishDistribution() should be declared external:
- GoldBee.finishDistribution() (#164-168)
totalFees() should be declared external:
- GoldBee.totalFees() (#179-181)
updateTokensPerEth(uint256) should be declared external:
- GoldBee.updateTokensPerEth(uint256) (#207-210)
getTokenBalance(address,address) should be declared external:
- GoldBee.getTokenBalance(address,address) (#319-323)
withdrawAll() should be declared external:
- GoldBee.withdrawAll() (#325-329)
withdraw(uint256) should be declared external:
- GoldBee.withdraw(uint256) (#331-334)
burn(uint256) should be declared external:
- GoldBee.burn(uint256) (#336-343)
withdrawForeignTokens(address) should be declared external:
- GoldBee.withdrawForeignTokens(address) (#345-349)
Use the external attribute for functions never called from the contract.
Additional information: link
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
Token has a considerable age, but we're still unable to find its website
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Token has a considerable age, but social accounts / website are missing or have few users
Token has a considerable age, but average PancakeSwap 30d trading volume is low
Young tokens have high risks of price dump / death
Unable to find Telegram and Twitter accounts