Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Cryptopool.addLiquidity(uint256,uint256) (#722-735) sends eth to arbitrary user
Dangerous calls:
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#727-734)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in Cryptopool._transfer(address,address,uint256) (#562-658):
External calls:
- handle_fees(feeswap,currentTaxes) (#641)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#727-734)
- (success) = recipient.call{value: amount}() (#366)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#713-719)
- address(marketingWallet).sendValue(marketingAmt) (#688)
- address(devWallet).sendValue(devAmt) (#693)
- address(operationsWallet).sendValue(operationsAmt) (#698)
External calls sending eth:
- handle_fees(feeswap,currentTaxes) (#641)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#727-734)
- (success) = recipient.call{value: amount}() (#366)
State variables written after the call(s):
- super._transfer(sender,recipient,amount - fee) (#644)
- _balances[sender] = senderBalance - amount (#267)
- _balances[recipient] += amount (#268)
- super._transfer(sender,address(this),feeAmount) (#649)
- _balances[sender] = senderBalance - amount (#267)
- _balances[recipient] += amount (#268)
- _balances[deadWallet] += burnAmount (#654)
Apply the check-effects-interactions pattern.
Additional information: link
Cryptopool.rescueBEP20(address,uint256) (#832-834) ignores return value by IERC20(tokenAdd).transfer(devWallet,amount) (#833)
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.
Cryptopool._transfer(address,address,uint256).fee (#604) is written in both
fee = 0 (#613)
fee = (amount * feesum) / 100 (#637)
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.
Cryptopool.handle_fees(uint256,Cryptopool.Taxes) (#660-702) performs a multiplication on the result of a division:
-unitBalance = deltaBalance / (denominator - swapTaxes.liquidity) (#678)
-bnbToAddLiquidityWith = unitBalance * swapTaxes.liquidity (#679)
Cryptopool.handle_fees(uint256,Cryptopool.Taxes) (#660-702) performs a multiplication on the result of a division:
-unitBalance = deltaBalance / (denominator - swapTaxes.liquidity) (#678)
-marketingAmt = unitBalance * 2 * swapTaxes.marketing (#686)
Cryptopool.handle_fees(uint256,Cryptopool.Taxes) (#660-702) performs a multiplication on the result of a division:
-unitBalance = deltaBalance / (denominator - swapTaxes.liquidity) (#678)
-devAmt = unitBalance * 2 * swapTaxes.dev (#691)
Cryptopool.handle_fees(uint256,Cryptopool.Taxes) (#660-702) performs a multiplication on the result of a division:
-unitBalance = deltaBalance / (denominator - swapTaxes.liquidity) (#678)
-operationsAmt = unitBalance * 2 * swapTaxes.operations (#696)
Consider ordering multiplication before division.
Additional information: link
Cryptopool._transfer(address,address,uint256).feeswap (#602) is a local variable never initialized
Cryptopool._transfer(address,address,uint256).feesum (#603) is a local variable never initialized
Cryptopool._transfer(address,address,uint256).currentTaxes (#605) 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
Cryptopool.addLiquidity(uint256,uint256) (#722-735) ignores return value by router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#727-734)
Ensure that all the return values of the function calls are used.
Additional information: link
Cryptopool.updateLiquidityTreshhold(uint256) (#742-745) should emit an event for:
- tokenLiquidityThreshold = new_amount * 10 ** decimals() (#744)
Cryptopool.updateTradingEnabled(bool,uint256,uint256) (#760-770) should emit an event for:
- deadline = _deadline (#765)
- launchtax = _launchtax (#766)
Cryptopool.updateCooldown(bool,uint256) (#784-787) should emit an event for:
- coolDownTime = time * 1 (#785)
Cryptopool.updateMaxTxLimit(uint256,uint256) (#819-822) should emit an event for:
- maxBuyLimit = maxBuy * 10 ** decimals() (#820)
- maxSellLimit = maxSell * 10 ** decimals() (#821)
Cryptopool.updateMaxWalletlimit(uint256) (#824-826) should emit an event for:
- maxWalletLimit = amount * 10 ** decimals() (#825)
Emit an event for critical parameter changes.
Additional information: link
Cryptopool.constructor(address)._pair (#497) lacks a zero-check on :
- pair = _pair (#500)
Cryptopool.updateRouterAndPair(address,address).newPair (#755) lacks a zero-check on :
- pair = newPair (#757)
Cryptopool.updateMarketingWallet(address).newWallet (#772) lacks a zero-check on :
- marketingWallet = newWallet (#773)
Cryptopool.updateDevWallet(address).newWallet (#776) lacks a zero-check on :
- devWallet = newWallet (#777)
Cryptopool.updateOperationsWallet(address).newWallet (#780) lacks a zero-check on :
- operationsWallet = newWallet (#781)
Check that the address is not zero.
Additional information: link
Modifier Cryptopool.mutexLock() (#483-489) does not always execute _; or revert
All the paths in a modifier must execute _ or revert.
Additional information: link
Reentrancy in Cryptopool.constructor(address) (#491-515):
External calls:
- _pair = IFactory(_router.factory()).createPair(address(this),_router.WETH()) (#497)
State variables written after the call(s):
- allowedTransfer[address(this)] = true (#507)
- allowedTransfer[owner()] = true (#508)
- allowedTransfer[pair] = true (#509)
- allowedTransfer[marketingWallet] = true (#510)
- allowedTransfer[devWallet] = true (#511)
- allowedTransfer[operationsWallet] = true (#512)
- allowedTransfer[deadWallet] = true (#513)
- exemptFee[address(this)] = true (#501)
- exemptFee[marketingWallet] = true (#502)
- exemptFee[devWallet] = true (#503)
- exemptFee[operationsWallet] = true (#504)
- exemptFee[deadWallet] = true (#505)
- pair = _pair (#500)
- router = _router (#499)
Reentrancy in Cryptopool.handle_fees(uint256,Cryptopool.Taxes) (#660-702):
External calls:
- swapTokensForBNB(toSwap) (#675)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#713-719)
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#683)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#727-734)
External calls sending eth:
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#683)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#727-734)
State variables written after the call(s):
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#683)
- _allowances[owner][spender] = amount (#337)
Reentrancy in Cryptopool.transferFrom(address,address,uint256) (#522-534):
External calls:
- _transfer(sender,recipient,amount) (#527)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#727-734)
- (success) = recipient.call{value: amount}() (#366)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#713-719)
- address(marketingWallet).sendValue(marketingAmt) (#688)
- address(devWallet).sendValue(devAmt) (#693)
- address(operationsWallet).sendValue(operationsAmt) (#698)
External calls sending eth:
- _transfer(sender,recipient,amount) (#527)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#727-734)
- (success) = recipient.call{value: amount}() (#366)
State variables written after the call(s):
- _approve(sender,_msgSender(),currentAllowance - amount) (#531)
- _allowances[owner][spender] = amount (#337)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in Cryptopool._transfer(address,address,uint256) (#562-658):
External calls:
- handle_fees(feeswap,currentTaxes) (#641)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#727-734)
- (success) = recipient.call{value: amount}() (#366)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#713-719)
- address(marketingWallet).sendValue(marketingAmt) (#688)
- address(devWallet).sendValue(devAmt) (#693)
- address(operationsWallet).sendValue(operationsAmt) (#698)
External calls sending eth:
- handle_fees(feeswap,currentTaxes) (#641)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#727-734)
- (success) = recipient.call{value: amount}() (#366)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (#270)
- super._transfer(sender,recipient,amount - fee) (#644)
- Transfer(sender,recipient,amount) (#270)
- super._transfer(sender,address(this),feeAmount) (#649)
- Transfer(sender,deadWallet,burnAmount) (#655)
Reentrancy in Cryptopool.handle_fees(uint256,Cryptopool.Taxes) (#660-702):
External calls:
- swapTokensForBNB(toSwap) (#675)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#713-719)
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#683)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#727-734)
External calls sending eth:
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#683)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#727-734)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#338)
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#683)
Reentrancy in Cryptopool.transferFrom(address,address,uint256) (#522-534):
External calls:
- _transfer(sender,recipient,amount) (#527)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#727-734)
- (success) = recipient.call{value: amount}() (#366)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#713-719)
- address(marketingWallet).sendValue(marketingAmt) (#688)
- address(devWallet).sendValue(devAmt) (#693)
- address(operationsWallet).sendValue(operationsAmt) (#698)
External calls sending eth:
- _transfer(sender,recipient,amount) (#527)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#727-734)
- (success) = recipient.call{value: amount}() (#366)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#338)
- _approve(sender,_msgSender(),currentAllowance - amount) (#531)
Apply the check-effects-interactions pattern.
Additional information: link
Cryptopool._transfer(address,address,uint256) (#562-658) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(timePassed >= coolDownTime,Cooldown enabled) (#597)
Avoid relying on block.timestamp.
Additional information: link
Cryptopool.updateTradingEnabled(bool,uint256,uint256) (#760-770) compares to a boolean constant:
-state == true (#769)
Remove the equality to the boolean constant.
Additional information: link
Context._msgData() (#9-12) is never used and should be removed
ERC20._burn(address,uint256) (#303-314) is never used and should be removed
Remove unused functions.
Additional information: link
Low level call in Address.sendValue(address,uint256) (#363-368):
- (success) = recipient.call{value: amount}() (#366)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable ERC20._balances (#55) is not in mixedCase
Variable ERC20._allowances (#57) is not in mixedCase
Function IRouter.WETH() (#412) is not in mixedCase
Function Cryptopool.handle_fees(uint256,Cryptopool.Taxes) (#660-702) is not in mixedCase
Parameter Cryptopool.updateLiquidityTreshhold(uint256).new_amount (#742) is not in mixedCase
Parameter Cryptopool.updateTradingEnabled(bool,uint256,uint256)._deadline (#762) is not in mixedCase
Parameter Cryptopool.updateTradingEnabled(bool,uint256,uint256)._launchtax (#763) is not in mixedCase
Parameter Cryptopool.updateExemptFee(address,bool)._address (#809) is not in mixedCase
Variable Cryptopool.genesis_block (#454) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#10)" inContext (#4-13)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Cryptopool.slitherConstructorVariables() (#439-839) uses literals with too many digits:
- deadWallet = 0x000000000000000000000000000000000000dEaD (#458)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
Cryptopool.deadWallet (#458) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
name() should be declared external:
- ERC20.name() (#81-83)
symbol() should be declared external:
- ERC20.symbol() (#89-91)
totalSupply() should be declared external:
- ERC20.totalSupply() (#113-115)
transfer(address,uint256) should be declared external:
- Cryptopool.transfer(address,uint256) (#557-560)
- ERC20.transfer(address,uint256) (#132-140)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#145-153)
approve(address,uint256) should be declared external:
- Cryptopool.approve(address,uint256) (#517-520)
- ERC20.approve(address,uint256) (#162-165)
transferFrom(address,address,uint256) should be declared external:
- Cryptopool.transferFrom(address,address,uint256) (#522-534)
- ERC20.transferFrom(address,address,uint256) (#180-192)
increaseAllowance(address,uint256) should be declared external:
- Cryptopool.increaseAllowance(address,uint256) (#536-543)
- ERC20.increaseAllowance(address,uint256) (#206-213)
decreaseAllowance(address,uint256) should be declared external:
- Cryptopool.decreaseAllowance(address,uint256) (#545-555)
- ERC20.decreaseAllowance(address,uint256) (#229-239)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#389-391)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#393-396)
Use the external attribute for functions never called from the contract.
Additional information: link
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