PandaDAO is a Crypto Charity Fund. PandaDAO aims to bring a positive impact to the world through blockchain, and pass on the concept of public charity to more people.
PandaDAOFinanceToken._tFeeTotal (PandaDAOFinanceToken.sol#34) is never initialized. It is used in:
- PandaDAOFinanceToken.totalFees() (PandaDAOFinanceToken.sol#144-146)
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
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in PandaDAOFinanceToken._transfer(address,address,uint256) (PandaDAOFinanceToken.sol#194-223):
External calls:
- swapAndLiquify(contractTokenBalance) (PandaDAOFinanceToken.sol#218)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_lplockedPoolAddress,block.timestamp) (PandaDAOFinanceToken.sol#273-280)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (PandaDAOFinanceToken.sol#257-263)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (PandaDAOFinanceToken.sol#218)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_lplockedPoolAddress,block.timestamp) (PandaDAOFinanceToken.sol#273-280)
State variables written after the call(s):
- _tokenTransfer(from,to,amount) (PandaDAOFinanceToken.sol#222)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (PandaDAOFinanceToken.sol#157)
- _tOwned[sender] = _tOwned[sender].sub(tAmount).sub(tLiquidity) (PandaDAOFinanceToken.sol#315)
- _tOwned[recipient] = _tOwned[recipient].add(tAmount) (PandaDAOFinanceToken.sol#316)
Apply the check-effects-interactions pattern.
Additional information: link
Contract ownership is not renounced (belongs to a wallet)
Variable IPancakeRouter01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (Pancakeswap.sol#86) is too similar to IPancakeRouter01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (Pancakeswap.sol#87)
Prevent variables from having similar names.
Additional information: link
PandaDAOFinanceToken.addLiquidity(uint256,uint256) (PandaDAOFinanceToken.sol#266-281) ignores return value by pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_lplockedPoolAddress,block.timestamp) (PandaDAOFinanceToken.sol#273-280)
Ensure that all the return values of the function calls are used.
Additional information: link
PandaDAOFinanceToken.allowance(address,address).owner (PandaDAOFinanceToken.sol#118) shadows:
- Ownable.owner() (Library.sol#414-416) (function)
PandaDAOFinanceToken._approve(address,address,uint256).owner (PandaDAOFinanceToken.sol#186) shadows:
- Ownable.owner() (Library.sol#414-416) (function)
Rename the local variables that shadow another component.
Additional information: link
PandaDAOFinanceToken.setCharityPoolAddress(address).poolAddress (PandaDAOFinanceToken.sol#328) lacks a zero-check on :
- _charityPoollAddress = poolAddress (PandaDAOFinanceToken.sol#329)
PandaDAOFinanceToken.setLPLockedPoolAddress(address).poolAddress (PandaDAOFinanceToken.sol#332) lacks a zero-check on :
- _lplockedPoolAddress = poolAddress (PandaDAOFinanceToken.sol#333)
Check that the address is not zero.
Additional information: link
Reentrancy in PandaDAOFinanceToken._transfer(address,address,uint256) (PandaDAOFinanceToken.sol#194-223):
External calls:
- swapAndLiquify(contractTokenBalance) (PandaDAOFinanceToken.sol#218)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_lplockedPoolAddress,block.timestamp) (PandaDAOFinanceToken.sol#273-280)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (PandaDAOFinanceToken.sol#257-263)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (PandaDAOFinanceToken.sol#218)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_lplockedPoolAddress,block.timestamp) (PandaDAOFinanceToken.sol#273-280)
State variables written after the call(s):
- _tokenTransfer(from,to,amount) (PandaDAOFinanceToken.sol#222)
- _burnFee = 5 (PandaDAOFinanceToken.sol#178)
- _burnFee = 0 (PandaDAOFinanceToken.sol#171)
- _tokenTransfer(from,to,amount) (PandaDAOFinanceToken.sol#222)
- _charityPoolFee = 5 (PandaDAOFinanceToken.sol#179)
- _charityPoolFee = 0 (PandaDAOFinanceToken.sol#172)
- _tokenTransfer(from,to,amount) (PandaDAOFinanceToken.sol#222)
- _liquidityFee = 1 (PandaDAOFinanceToken.sol#177)
- _liquidityFee = 0 (PandaDAOFinanceToken.sol#170)
- _liquidityFee = 0 (PandaDAOFinanceToken.sol#297)
- _liquidityFee = _previousLiquidityFee (PandaDAOFinanceToken.sol#306)
Reentrancy in PandaDAOFinanceToken.constructor() (PandaDAOFinanceToken.sol#73-91):
External calls:
- pancakePair = IPancakeFactory(_pancakeRouter.factory()).createPair(address(this),_pancakeRouter.WETH()) (PandaDAOFinanceToken.sol#78-79)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (PandaDAOFinanceToken.sol#85)
- _isExcludedFromFee[address(this)] = true (PandaDAOFinanceToken.sol#86)
- _isExcludedFromFee[_charityPoollAddress] = true (PandaDAOFinanceToken.sol#87)
- _isExcludedFromFee[address(0)] = true (PandaDAOFinanceToken.sol#88)
- pancakeRouter = _pancakeRouter (PandaDAOFinanceToken.sol#82)
Reentrancy in PandaDAOFinanceToken.swapAndLiquify(uint256) (PandaDAOFinanceToken.sol#225-246):
External calls:
- swapTokensForEth(half) (PandaDAOFinanceToken.sol#237)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (PandaDAOFinanceToken.sol#257-263)
- addLiquidity(otherHalf,newBalance) (PandaDAOFinanceToken.sol#243)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_lplockedPoolAddress,block.timestamp) (PandaDAOFinanceToken.sol#273-280)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (PandaDAOFinanceToken.sol#243)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_lplockedPoolAddress,block.timestamp) (PandaDAOFinanceToken.sol#273-280)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (PandaDAOFinanceToken.sol#243)
- _allowances[owner][spender] = amount (PandaDAOFinanceToken.sol#190)
Reentrancy in PandaDAOFinanceToken.transferFrom(address,address,uint256) (PandaDAOFinanceToken.sol#127-131):
External calls:
- _transfer(sender,recipient,amount) (PandaDAOFinanceToken.sol#128)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_lplockedPoolAddress,block.timestamp) (PandaDAOFinanceToken.sol#273-280)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (PandaDAOFinanceToken.sol#257-263)
External calls sending eth:
- _transfer(sender,recipient,amount) (PandaDAOFinanceToken.sol#128)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_lplockedPoolAddress,block.timestamp) (PandaDAOFinanceToken.sol#273-280)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (PandaDAOFinanceToken.sol#129)
- _allowances[owner][spender] = amount (PandaDAOFinanceToken.sol#190)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in PandaDAOFinanceToken._transfer(address,address,uint256) (PandaDAOFinanceToken.sol#194-223):
External calls:
- swapAndLiquify(contractTokenBalance) (PandaDAOFinanceToken.sol#218)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_lplockedPoolAddress,block.timestamp) (PandaDAOFinanceToken.sol#273-280)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (PandaDAOFinanceToken.sol#257-263)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (PandaDAOFinanceToken.sol#218)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_lplockedPoolAddress,block.timestamp) (PandaDAOFinanceToken.sol#273-280)
Event emitted after the call(s):
- Transfer(sender,recipient,tAmount) (PandaDAOFinanceToken.sol#318)
- _tokenTransfer(from,to,amount) (PandaDAOFinanceToken.sol#222)
Reentrancy in PandaDAOFinanceToken.constructor() (PandaDAOFinanceToken.sol#73-91):
External calls:
- pancakePair = IPancakeFactory(_pancakeRouter.factory()).createPair(address(this),_pancakeRouter.WETH()) (PandaDAOFinanceToken.sol#78-79)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_tTotal) (PandaDAOFinanceToken.sol#90)
Reentrancy in PandaDAOFinanceToken.swapAndLiquify(uint256) (PandaDAOFinanceToken.sol#225-246):
External calls:
- swapTokensForEth(half) (PandaDAOFinanceToken.sol#237)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (PandaDAOFinanceToken.sol#257-263)
- addLiquidity(otherHalf,newBalance) (PandaDAOFinanceToken.sol#243)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_lplockedPoolAddress,block.timestamp) (PandaDAOFinanceToken.sol#273-280)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (PandaDAOFinanceToken.sol#243)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_lplockedPoolAddress,block.timestamp) (PandaDAOFinanceToken.sol#273-280)
Event emitted after the call(s):
- Approval(owner,spender,amount) (PandaDAOFinanceToken.sol#191)
- addLiquidity(otherHalf,newBalance) (PandaDAOFinanceToken.sol#243)
- SwapAndLiquify(half,newBalance,otherHalf) (PandaDAOFinanceToken.sol#245)
Reentrancy in PandaDAOFinanceToken.transferFrom(address,address,uint256) (PandaDAOFinanceToken.sol#127-131):
External calls:
- _transfer(sender,recipient,amount) (PandaDAOFinanceToken.sol#128)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_lplockedPoolAddress,block.timestamp) (PandaDAOFinanceToken.sol#273-280)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (PandaDAOFinanceToken.sol#257-263)
External calls sending eth:
- _transfer(sender,recipient,amount) (PandaDAOFinanceToken.sol#128)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_lplockedPoolAddress,block.timestamp) (PandaDAOFinanceToken.sol#273-280)
Event emitted after the call(s):
- Approval(owner,spender,amount) (PandaDAOFinanceToken.sol#191)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (PandaDAOFinanceToken.sol#129)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable.unlock() (Library.sol#461-466) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(now > _lockTime,Contract is locked until 7 days) (Library.sol#463)
Avoid relying on block.timestamp.
Additional information: link
Address.isContract(address) (Library.sol#266-275) uses assembly
- INLINE ASM (Library.sol#273)
Address._functionCallWithValue(address,bytes,uint256,string) (Library.sol#359-380) uses assembly
- INLINE ASM (Library.sol#372-375)
Do not use evm assembly.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (Library.sol#359-380) is never used and should be removed
Address.functionCall(address,bytes) (Library.sol#319-321) is never used and should be removed
Address.functionCall(address,bytes,string) (Library.sol#329-331) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (Library.sol#344-346) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (Library.sol#354-357) is never used and should be removed
Address.isContract(address) (Library.sol#266-275) is never used and should be removed
Address.sendValue(address,uint256) (Library.sol#293-299) is never used and should be removed
Context._msgData() (Library.sol#238-241) is never used and should be removed
PandaDAOFinanceToken._getRValues(uint256,uint256) (PandaDAOFinanceToken.sol#151-154) is never used and should be removed
SafeMath.mod(uint256,uint256) (Library.sol#211-213) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (Library.sol#227-230) is never used and should be removed
Remove unused functions.
Additional information: link
PandaDAOFinanceToken._previousLiquidityFee (PandaDAOFinanceToken.sol#41) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
PandaDAOFinanceToken._previousBurnFee (PandaDAOFinanceToken.sol#44) is set pre-construction with a non-constant function or state variable:
- _burnFee
PandaDAOFinanceToken._previousCharityPoolFee (PandaDAOFinanceToken.sol#48) is set pre-construction with a non-constant function or state variable:
- _charityPoolFee
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
Low level call in Address.sendValue(address,uint256) (Library.sol#293-299):
- (success) = recipient.call{value: amount}() (Library.sol#297)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (Library.sol#359-380):
- (success,returndata) = target.call{value: weiValue}(data) (Library.sol#363)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IPancakeFactory.INIT_CODE_PAIR_HASH() (Pancakeswap.sol#21) is not in mixedCase
Function IPancakePair.DOMAIN_SEPARATOR() (Pancakeswap.sol#41) is not in mixedCase
Function IPancakePair.PERMIT_TYPEHASH() (Pancakeswap.sol#42) is not in mixedCase
Function IPancakePair.MINIMUM_LIQUIDITY() (Pancakeswap.sol#59) is not in mixedCase
Function IPancakeRouter01.WETH() (Pancakeswap.sol#81) is not in mixedCase
Parameter PandaDAOFinanceToken.calculateLiquidityFee(uint256)._amount (PandaDAOFinanceToken.sol#162) is not in mixedCase
Parameter PandaDAOFinanceToken.setSwapAndLiquifyEnabled(bool)._enabled (PandaDAOFinanceToken.sol#359) is not in mixedCase
Constant PandaDAOFinanceToken._tTotal (PandaDAOFinanceToken.sol#33) is not in UPPER_CASE_WITH_UNDERSCORES
Constant PandaDAOFinanceToken._name (PandaDAOFinanceToken.sol#36) is not in UPPER_CASE_WITH_UNDERSCORES
Constant PandaDAOFinanceToken._symbol (PandaDAOFinanceToken.sol#37) is not in UPPER_CASE_WITH_UNDERSCORES
Constant PandaDAOFinanceToken._decimals (PandaDAOFinanceToken.sol#38) is not in UPPER_CASE_WITH_UNDERSCORES
Variable PandaDAOFinanceToken._liquidityFee (PandaDAOFinanceToken.sol#40) is not in mixedCase
Variable PandaDAOFinanceToken._burnFee (PandaDAOFinanceToken.sol#43) is not in mixedCase
Variable PandaDAOFinanceToken._charityPoolFee (PandaDAOFinanceToken.sol#46) is not in mixedCase
Variable PandaDAOFinanceToken._charityPoollAddress (PandaDAOFinanceToken.sol#47) is not in mixedCase
Variable PandaDAOFinanceToken._lplockedPoolAddress (PandaDAOFinanceToken.sol#55) is not in mixedCase
Constant PandaDAOFinanceToken.numTokensSellToAddToLiquidity (PandaDAOFinanceToken.sol#57) is not in UPPER_CASE_WITH_UNDERSCORES
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (Library.sol#239)" inContext (Library.sol#233-242)
Remove redundant statements if they congest code but offer no value.
Additional information: link
PandaDAOFinanceToken.slitherConstructorConstantVariables() (PandaDAOFinanceToken.sol#24-365) uses literals with too many digits:
- _tTotal = 100000000 * 10 ** 18 (PandaDAOFinanceToken.sol#33)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
PandaDAOFinanceToken._previousBurnFee (PandaDAOFinanceToken.sol#44) is never used in PandaDAOFinanceToken (PandaDAOFinanceToken.sol#24-365)
Remove unused state variables.
Additional information: link
PandaDAOFinanceToken._tFeeTotal (PandaDAOFinanceToken.sol#34) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (Library.sol#433-436)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (Library.sol#442-446)
geUnlockTime() should be declared external:
- Ownable.geUnlockTime() (Library.sol#448-450)
lock(uint256) should be declared external:
- Ownable.lock(uint256) (Library.sol#453-458)
unlock() should be declared external:
- Ownable.unlock() (Library.sol#461-466)
Use the external attribute for functions never called from the contract.
Additional information: link
Average 30d PancakeSwap liquidity is less than $100. Token is either dead or inactive.
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 2% buy tax and 2% sell tax.
Taxes are low but contract ownership is not renounced. Token has a high risk of becoming a honeypot.
Token is deployed only at one blockchain
Token has only one trading pair
Unable to find token on CoinGecko
Additional information: link
Unable to find token on CoinMarketCap
Additional information: link
Unable to find token contract audit
Unable to find audit link on the website
Token is not listed at Mobula.Finance
Additional information: link
Unable to find token on CoinHunt
Additional information: link
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Token has a considerable age, but average PancakeSwap 30d trading volume is low
Token is marked as risky (blacklisted creator, fake name, dead project, etc.)
Additional information: link
Young tokens have high risks of price dump / death
Last post in Twitter was more than 30 days ago
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account