CRYPTOGAMER IS A METAVERSE PLATFORM WHERE CONTENT CREATORS BUY AND SELL GAMES. THE CIPHER USED FOR PAYMENTS ON THE CRYPTOGAMER PLATFORM IS THE $ CRG TOKEN. IN ADDITION, USERS CAN PLAY AND STREAM DIGITAL VIDEO GAMES.
CRG.distributeFee() (#399-419) sends eth to arbitrary user
Dangerous calls:
- (sent) = address(_taxCollector).call{gas: 30000,value: amountBNB}() (#416)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in CRG._transferTax(address,address,uint256) (#365-391):
External calls:
- distributeFee() (#381)
- _router.swapExactTokensForETHSupportingFeeOnTransferTokens(swapAmount,0,path,address(this),block.timestamp) (#408-417)
- (sent) = address(_taxCollector).call{gas: 30000,value: amountBNB}() (#416)
External calls sending eth:
- distributeFee() (#381)
- (sent) = address(_taxCollector).call{gas: 30000,value: amountBNB}() (#416)
State variables written after the call(s):
- _balances[recipient] = _balances[recipient].add(amountReceived) (#388)
Reentrancy in TaxCollector.distribute() (#214-227):
External calls:
- (sent_1) = address(teamWallet).call{gas: 30000,value: (amount * teamPercentage / maxPercent)}() (#224)
State variables written after the call(s):
- balance = address(this).balance (#224)
Reentrancy in TaxCollector.distribute() (#214-227):
External calls:
- (sent_1) = address(teamWallet).call{gas: 30000,value: (amount * teamPercentage / maxPercent)}() (#224)
- (sent_2) = address(partnershipWallet).call{gas: 30000,value: (amount * partnershipPercentage / maxPercent)}() (#225)
State variables written after the call(s):
- balance = address(this).balance (#225)
Reentrancy in TaxCollector.distribute() (#214-227):
External calls:
- (sent_1) = address(teamWallet).call{gas: 30000,value: (amount * teamPercentage / maxPercent)}() (#224)
- (sent_2) = address(partnershipWallet).call{gas: 30000,value: (amount * partnershipPercentage / maxPercent)}() (#225)
- (sent_3) = address(rndWallet).call{gas: 30000,value: (amount * rndPercentage / maxPercent)}() (#226)
State variables written after the call(s):
- balance = address(this).balance (#226)
Apply the check-effects-interactions pattern.
Additional information: link
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
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.
Contract ownership is not renounced (belongs to a wallet)
CRG.constructor() (#282-294) uses literals with too many digits:
- _mint(_msgSender(),1000000000 * 10 ** uint256(_decimals)) (#293)
CRG.slitherConstructorVariables() (#242-456) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#264)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#49-51)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#53-56)
setTeam(uint256,address) should be declared external:
- TaxCollector.setTeam(uint256,address) (#203)
setPartnership(uint256,address) should be declared external:
- TaxCollector.setPartnership(uint256,address) (#206)
setRND(uint256,address) should be declared external:
- TaxCollector.setRND(uint256,address) (#209)
distribute() should be declared external:
- TaxCollector.distribute() (#214-227)
kill() should be declared external:
- TaxCollector.kill() (#229)
setTax(uint256) should be declared external:
- CRG.setTax(uint256) (#256)
setTaxDivider(uint256) should be declared external:
- CRG.setTaxDivider(uint256) (#257)
setTaxCollector(address) should be declared external:
- CRG.setTaxCollector(address) (#258-262)
changeExcludeBuyFee(address) should be declared external:
- CRG.changeExcludeBuyFee(address) (#277)
changeExcludeSellFee(address) should be declared external:
- CRG.changeExcludeSellFee(address) (#278)
name() should be declared external:
- CRG.name() (#298)
symbol() should be declared external:
- CRG.symbol() (#299)
decimals() should be declared external:
- CRG.decimals() (#300)
totalSupply() should be declared external:
- CRG.totalSupply() (#301)
allowance(address,address) should be declared external:
- CRG.allowance(address,address) (#303)
currentBalance() should be declared external:
- CRG.currentBalance() (#304)
contractBalance() should be declared external:
- CRG.contractBalance() (#305)
taxBalance() should be declared external:
- CRG.taxBalance() (#306)
distributeTax() should be declared external:
- CRG.distributeTax() (#307)
setTeamTax(uint256,address) should be declared external:
- CRG.setTeamTax(uint256,address) (#308)
setPartnershipTax(uint256,address) should be declared external:
- CRG.setPartnershipTax(uint256,address) (#309)
setRNDTax(uint256,address) should be declared external:
- CRG.setRNDTax(uint256,address) (#310)
setTaxTransferOwner(address) should be declared external:
- CRG.setTaxTransferOwner(address) (#311)
transfer(address,uint256) should be declared external:
- CRG.transfer(address,uint256) (#312-315)
approve(address,uint256) should be declared external:
- CRG.approve(address,uint256) (#316-319)
transferFrom(address,address,uint256) should be declared external:
- CRG.transferFrom(address,address,uint256) (#320-332)
increaseAllowance(address,uint256) should be declared external:
- CRG.increaseAllowance(address,uint256) (#333-336)
decreaseAllowance(address,uint256) should be declared external:
- CRG.decreaseAllowance(address,uint256) (#337-344)
Use the external attribute for functions never called from the contract.
Additional information: link
TaxCollector (#196-230) should inherit from ITaxCollector (#232-240)
Inherit from the missing interface or contract.
Additional information: link
CRG.distributeFee().e (#417) 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
CRG.allowance(address,address).owner (#303) shadows:
- Ownable.owner() (#40-42) (function)
CRG._approve(address,address,uint256).owner (#445) shadows:
- Ownable.owner() (#40-42) (function)
Rename the local variables that shadow another component.
Additional information: link
CRG.setTax(uint256) (#256) should emit an event for:
- _tax = input_ (#256)
CRG.setTaxDivider(uint256) (#257) should emit an event for:
- _taxDivider = input_ (#257)
Emit an event for critical parameter changes.
Additional information: link
TaxCollector.setTeam(uint256,address).wallet_ (#203) lacks a zero-check on :
- teamWallet = wallet_ (#203)
TaxCollector.setPartnership(uint256,address).wallet_ (#206) lacks a zero-check on :
- partnershipWallet = wallet_ (#206)
TaxCollector.setRND(uint256,address).wallet_ (#209) lacks a zero-check on :
- rndWallet = wallet_ (#209)
Check that the address is not zero.
Additional information: link
Variable 'CRG.distributeFee().e (#417)' in CRG.distributeFee() (#399-419) potentially used before declaration: DistributeFailed(e) (#417)
Move all variable declarations prior to any usage of the variable, and ensure that reaching a variable declaration does not depend on some conditional if it is used unconditionally.
Additional information: link
Reentrancy in CRG.constructor() (#282-294):
External calls:
- _pair = IFactory(_router.factory()).createPair(WBNB,address(this)) (#285)
State variables written after the call(s):
- _allowances[address(this)][address(_router)] = ~ uint256(0) (#292)
- _mint(_msgSender(),1000000000 * 10 ** uint256(_decimals)) (#293)
- _balances[account] += amount (#427)
- _excludedBuyFee[owner()] = true (#289)
- _excludedBuyFee[address(this)] = true (#290)
- _excludedBuyFee[DEAD] = true (#291)
- _excludedSellFee[owner()] = true (#286)
- _excludedSellFee[address(this)] = true (#287)
- _excludedSellFee[DEAD] = true (#288)
- _mint(_msgSender(),1000000000 * 10 ** uint256(_decimals)) (#293)
- _totalSupply += amount (#426)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in CRG._transferTax(address,address,uint256) (#365-391):
External calls:
- distributeFee() (#381)
- _router.swapExactTokensForETHSupportingFeeOnTransferTokens(swapAmount,0,path,address(this),block.timestamp) (#408-417)
- (sent) = address(_taxCollector).call{gas: 30000,value: amountBNB}() (#416)
External calls sending eth:
- distributeFee() (#381)
- (sent) = address(_taxCollector).call{gas: 30000,value: amountBNB}() (#416)
Event emitted after the call(s):
- Transfer(sender,recipient,amountReceived) (#389)
Reentrancy in CRG.constructor() (#282-294):
External calls:
- _pair = IFactory(_router.factory()).createPair(WBNB,address(this)) (#285)
Event emitted after the call(s):
- Transfer(address(0),account,amount) (#428)
- _mint(_msgSender(),1000000000 * 10 ** uint256(_decimals)) (#293)
Reentrancy in CRG.distributeFee() (#399-419):
External calls:
- _router.swapExactTokensForETHSupportingFeeOnTransferTokens(swapAmount,0,path,address(this),block.timestamp) (#408-417)
Event emitted after the call(s):
- DistributeFailed(e) (#417)
Apply the check-effects-interactions pattern.
Additional information: link
CRG._burn(address,uint256) (#431-442) is never used and should be removed
Context._msgData() (#27) is never used and should be removed
Remove unused functions.
Additional information: link
Low level call in TaxCollector.distribute() (#214-227):
- (sent_1) = address(teamWallet).call{gas: 30000,value: (amount * teamPercentage / maxPercent)}() (#224)
- (sent_2) = address(partnershipWallet).call{gas: 30000,value: (amount * partnershipPercentage / maxPercent)}() (#225)
- (sent_3) = address(rndWallet).call{gas: 30000,value: (amount * rndPercentage / maxPercent)}() (#226)
Low level call in CRG.distributeFee() (#399-419):
- (sent) = address(_taxCollector).call{gas: 30000,value: amountBNB}() (#416)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable Ownable._owner (#31) is not in mixedCase
Variable Ownable._creator (#32) is not in mixedCase
Function IRouter.WETH() (#79) is not in mixedCase
Variable CRG._tax (#253) is not in mixedCase
Variable CRG._taxDivider (#254) is not in mixedCase
Variable CRG._taxCollector (#255) is not in mixedCase
Variable CRG.DEAD (#264) is not in mixedCase
Variable CRG.ZERO (#265) is not in mixedCase
Variable CRG.ROUTER (#266) is not in mixedCase
Variable CRG.FACTORY (#267) is not in mixedCase
Variable CRG.WBNB (#268) is not in mixedCase
Variable CRG._pair (#269) is not in mixedCase
Variable CRG._router (#270) is not in mixedCase
Variable CRG._excludedBuyFee (#275) is not in mixedCase
Variable CRG._excludedSellFee (#276) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#83) is too similar to IRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#84)
Variable CRG._taxCollector (#255) is too similar to CRG.iTaxCollector (#280)
Prevent variables from having similar names.
Additional information: link
CRG.ZERO (#265) is never used in CRG (#242-456)
CRG.FACTORY (#267) is never used in CRG (#242-456)
Remove unused state variables.
Additional information: link
CRG.DEAD (#264) should be constant
CRG.FACTORY (#267) should be constant
CRG.ROUTER (#266) should be constant
CRG.WBNB (#268) should be constant
CRG.ZERO (#265) should be constant
CRG._decimals (#251) should be constant
CRG._name (#249) should be constant
CRG._symbol (#250) should be constant
TaxCollector.maxPercent (#200) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
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.
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Contract has 25% buy tax and 25% sell tax.
Taxes are suspiciously high (over 10%) and contract ownership is not renounced. Token has a high risk of becoming a honeypot.
Number of Binance Smart Chain (BSC) token holders is low.
Token is deployed only at one blockchain
Token has only one trading pair
Average 30d PancakeSwap liquidity is low.
Unable to find website, listings and other project-related information
Token is marked as scam (rug pull, honeypot, phishing, etc.)
Additional information: link
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Young tokens have high risks of price dump / death
Twitter account link seems to be invalid
Unable to find Youtube account
Unable to find Discord account